{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,1]],"date-time":"2026-04-01T18:17:18Z","timestamp":1775067438571,"version":"3.50.1"},"reference-count":41,"publisher":"MDPI AG","issue":"21","license":[{"start":{"date-parts":[[2020,10,29]],"date-time":"2020-10-29T00:00:00Z","timestamp":1603929600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Servo systems are feedback control systems characterized by position, speed, and\/or acceleration outputs. Nowadays, industrial advances make the electronic stages in these systems obsolete compared to the mechanical elements, which generates a recurring problem in technological, commercial and industrial applications. This article presents a methodology for the development of an open-architecture controller that is based on reconfigurable hardware under the open source concept for servo applications. The most outstanding contribution of this paper is the implementation of a Genetic Algorithm for online self tuning with a focus on both high-quality servo control and reduction of vibrations during the positioning of a linear motion system. The proposed techniques have been validated on a real platform and form a novel, effective approach as compared to the conventional tuning methods that employ empirical or analytical solutions and cannot improve their parameter set. The controller was elaborated from the Graphical User Interface to the logical implementation while using free tools. This approach also allows for modification and updates to be made easily, thereby reducing the susceptibility to obsolescence. A comparison of the logical implementation with the manufacturer software was also conducted in order to test the performance of free tools in FPGAs. The Graphical User Interface developed in Python presents features, such as speed profiling, controller auto-tuning, measurement of main parameters, and monitoring of servo system vibrations.<\/jats:p>","DOI":"10.3390\/s20216155","type":"journal-article","created":{"date-parts":[[2020,10,29]],"date-time":"2020-10-29T21:21:00Z","timestamp":1604006460000},"page":"6155","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":20,"title":["A New Methodology for a Retrofitted Self-tuned Controller with Open-Source FPGA"],"prefix":"10.3390","volume":"20","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6450-875X","authenticated-orcid":false,"given":"Edson E.","family":"Cruz-Miguel","sequence":"first","affiliation":[{"name":"Divisi\u00f3n de Investigaci\u00f3n y Posgrado, Facultad de Ingenier\u00eda, Universidad Aut\u00f3noma de Quer\u00e9taro, Quer\u00e9taro 76010, Mexico"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5773-6068","authenticated-orcid":false,"given":"Jos\u00e9 R.","family":"Garc\u00eda-Mart\u00ednez","sequence":"additional","affiliation":[{"name":"Divisi\u00f3n de Investigaci\u00f3n y Posgrado, Facultad de Ingenier\u00eda, Universidad Aut\u00f3noma de Quer\u00e9taro, Quer\u00e9taro 76010, Mexico"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8598-5600","authenticated-orcid":false,"given":"Juvenal","family":"Rodr\u00edguez-Res\u00e9ndiz","sequence":"additional","affiliation":[{"name":"Divisi\u00f3n de Investigaci\u00f3n y Posgrado, Facultad de Ingenier\u00eda, Universidad Aut\u00f3noma de Quer\u00e9taro, Quer\u00e9taro 76010, Mexico"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8246-8920","authenticated-orcid":false,"given":"Roberto V.","family":"Carrillo-Serrano","sequence":"additional","affiliation":[{"name":"Divisi\u00f3n de Investigaci\u00f3n y Posgrado, Facultad de Ingenier\u00eda, Universidad Aut\u00f3noma de Quer\u00e9taro, Quer\u00e9taro 76010, Mexico"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2020,10,29]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"13407","DOI":"10.1109\/ACCESS.2018.2797803","article-title":"An FPGA-based open architecture industrial robot controller","volume":"6","year":"2018","journal-title":"IEEE Access"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"407","DOI":"10.1016\/j.sysarc.2010.04.009","article-title":"Open-architecture system based on a reconfigurable hardware\u2013software multi-agent platform for CNC machines","volume":"56","year":"2010","journal-title":"J. Syst. Archit."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Joki\u0107, D., Lubura, S., Rajs, V., Bodi\u0107, M., and \u0160iljak, H. (2020). Two Open Solutions for Industrial Robot Control: The Case of PUMA 560. Electronics, 9.","DOI":"10.3390\/electronics9060972"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"463","DOI":"10.1016\/S0007-8506(07)62993-X","article-title":"Open controller architecture\u2014Past, present and future","volume":"50","author":"Pritschow","year":"2001","journal-title":"CIRP Ann."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Ord\u00f3\u00f1ez Cerezo, J., Castillo Morales, E., and Ca\u00f1as Plaza, J.M. (2019). Control system in open-source FPGA for a self-balancing robot. Electronics, 8.","DOI":"10.3390\/electronics8020198"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Brant, A., and Lemieux, G.G. (May, January 29). ZUMA: An open FPGA overlay architecture. Proceedings of the 2012 IEEE 20th International Symposium on Field-Programmable Custom Computing Machines, Toronto, ON, Canada.","DOI":"10.1109\/FCCM.2012.25"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Romanov, A., Romanov, M., and Kharchenko, A. (2017, January 1\u20133). FPGA-based control system reconfiguration using open source software. Proceedings of the 2017 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), St. Petersburg, Russia.","DOI":"10.1109\/EIConRus.2017.7910719"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1824","DOI":"10.1109\/TIE.2007.898281","article-title":"FPGA design methodology for industrial control systems\u2014A review","volume":"54","author":"Monmasson","year":"2007","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_9","unstructured":"Wolf, C., and Lasser, M. (2019, August 20). Project Icestorm. Available online: Http:\/\/www.clifford.at\/icestorm."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"208","DOI":"10.3390\/machines3030208","article-title":"A Practical Tuning Method for the Robust PID Controller with Velocity Feed-Back","volume":"3","author":"Emre","year":"2015","journal-title":"Machines"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Garc\u00eda-Mart\u00ednez, J.R., Res\u00e9ndiz, J.R., Prado, M.\u00c1.M., and Miguel, E.E.C. (2017, January 15\u201319). Assessment of jerk performance s-curve and trapezoidal velocity profiles. Proceedings of the 2017 XIII International Engineering Congress (CONIIN), Santiago de Queretaro, Mexico.","DOI":"10.1109\/CONIIN.2017.7968187"},{"key":"ref_12","first-page":"609","article-title":"Optimal trajectories for vibration reduction based on exponential filters","volume":"24","author":"Biagiotti","year":"2015","journal-title":"IEEE Trans. Control Syst. Technol."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Yoon, H., Chung, S., Kang, H., and Hwang, M. (2019). Trapezoidal Motion Profile to Suppress Residual Vibration of Flexible Object Moved by Robot. Electronics, 8.","DOI":"10.3390\/electronics8010030"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"2203","DOI":"10.1016\/j.ifacol.2015.06.415","article-title":"Experimental study for FPGA PID position controller in CNC micro-machines","volume":"48","author":"Ponce","year":"2015","journal-title":"IFAC-PapersOnLine"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Concha S\u00e1nchez, A., Figueroa-Rodr\u00edguez, J.F., Fuentes-Covarrubias, A.G., Fuentes-Covarrubias, R., and Gadi, S.K. (2020). Recycling and Updating an Educational Robot Manipulator with Open-Hardware-Architecture. Sensors, 20.","DOI":"10.3390\/s20061694"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"317","DOI":"10.1016\/j.jmsy.2017.04.013","article-title":"A modular-architecture controller for CNC systems based on open-source electronics","volume":"44","author":"Correa","year":"2017","journal-title":"J. Manuf. Syst."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Ricci, S., and Meacci, V. (2018). Simple torque control method for hybrid stepper motors implemented in FPGA. Electronics, 7.","DOI":"10.3390\/electronics7100242"},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Lai, C.K., Ciou, J.S., and Tsai, C.C. (2018). The Modelling, Simulation and FPGA-Based Implementation for Stepper Motor Wide Range Speed Closed-Loop Drive System Design. Machines, 6.","DOI":"10.3390\/machines6040056"},{"key":"ref_19","unstructured":"Shao, X., and Sun, D. (2006, January 21\u201323). Development of an FPGA-based motion control ASIC for robotic manipulators. Proceedings of the 2006 6th World Congress on Intelligent Control and Automation, Dalian, China."},{"key":"ref_20","unstructured":"Shao, X., Sun, D., and Mills, J.K. (2006, January 15\u201319). A new motion control hardware architecture with FPGA-based IC design for robotic manipulators. Proceedings of the 2006 IEEE International Conference on Robotics and Automation (ICRA 2006), Orlando, FL, USA."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"3831","DOI":"10.3390\/s120403831","article-title":"A neuro-inspired spike-based PID motor controller for multi-motor robots with low cost FPGAs","volume":"12","year":"2012","journal-title":"Sensors"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"554","DOI":"10.1109\/TII.2012.2193891","article-title":"Simulink modeling and design of an efficient hardware-constrained FPGA-based PMSM speed controller","volume":"8","author":"Alecsa","year":"2012","journal-title":"IEEE Trans. Ind. Informatics"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"736","DOI":"10.1109\/TII.2016.2532118","article-title":"A portable implementation on industrial devices of a predictive controller using graphical programming","volume":"12","author":"Folea","year":"2016","journal-title":"IEEE Trans. Ind. Informatics"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"251","DOI":"10.1016\/j.riai.2013.04.001","article-title":"Algoritmos Evolutivos y su empleo en el ajuste de controladores del tipo PID: Estado Actual y Perspectivas","volume":"10","author":"Sanchis","year":"2013","journal-title":"Rev. Iberoam. Autom\u00c1Tica E Inform\u00e1tica Ind. RIAI"},{"key":"ref_25","unstructured":"Hern\u00e1ndez-Guzm\u00e1n, V.M., Silva-Ortigoza, R., and Carrillo-Serrano, R.V. (2013). Control Autom\u00e1tico: Teor\u00eda de dise\u00f1o, Construcci\u00f3n de Prototipos, Modelado, Identificaci\u00f3n y Pruebas Experimentales, Colecci\u00f3n CIDETEC."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Garc\u00eda-Mart\u00ednez, J.R., Rodr\u00edguez-Res\u00e9ndiz, J., and Cruz-Miguel, E.E. (2019). A New Seven-Segment Profile Algorithm for an Open Source Architecture in a Hybrid Electronic Platform. Electronics, 8.","DOI":"10.3390\/electronics8060652"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1016\/j.mechmachtheory.2019.03.019","article-title":"Smooth and time-optimal S-curve trajectory planning for automated robots and machines","volume":"137","author":"Fang","year":"2019","journal-title":"Mech. Mach. Theory"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Heo, H.J., Son, Y., and Kim, J.M. (2019). A Trapezoidal Velocity Profile Generator for Position Control Using a Feedback Strategy. Energies, 12.","DOI":"10.3390\/en12071222"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Yang, X., Chen, X., Xia, R., and Qian, Z. (2018). Wireless Sensor Network Congestion Control Based on Standard Particle Swarm Optimization and Single Neuron PID. Sensors, 18.","DOI":"10.3390\/s18041265"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"112","DOI":"10.1016\/j.compeleceng.2019.02.016","article-title":"Intelligent position control for pneumatic servo system based on predictive fuzzy control","volume":"75","author":"Mu","year":"2019","journal-title":"Comput. Electr. Eng."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Xin, W., Ran, L., Yanghua, W., Yong, P., and Bin, Q. (2013, January 16\u201318). Self-tuning PID controller with variable parameters based on particle swarm optimization. Proceedings of the 2013 Third International Conference on Intelligent System Design and Engineering Applications, Hong Kong, China.","DOI":"10.1109\/ISDEA.2012.297"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"663","DOI":"10.1016\/S1383-7621(01)00022-4","article-title":"Autotuning a PID controller: A fuzzy-genetic approach","volume":"47","author":"Bandyopadhyay","year":"2001","journal-title":"J. Syst. Archit."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Flores-Mor\u00e1n, E., Y\u00e1nez-Pazmi\u00f1o, W., and Barzola-Monteses, J. (2018, January 28\u201331). Genetic algorithm and fuzzy self-tuning PID for DC motor position controllers. Proceedings of the 2018 19th International Carpathian Control Conference (ICCC), Szilvasvarad, Hungary.","DOI":"10.1109\/CarpathianCC.2018.8399621"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Yu, H., Lee, H., Lee, S., Kim, Y., and Lee, H.M. (2018). Recent advances in FPGA reverse engineering. Electronics, 7.","DOI":"10.3390\/electronics7100246"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"403","DOI":"10.1049\/ip-cta:20055118","article-title":"One-bit processing for digital control","volume":"152","author":"Wu","year":"2005","journal-title":"IEE Proc.-Control Theory Appl."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Lee, W.G., Lee, J.W., Hong, M.S., Nam, S.H., Jeon, Y., and Lee, M.G. (2015). Failure diagnosis system for a ball-screw by using vibration signals. Shock Vib.","DOI":"10.1155\/2015\/435870"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"33","DOI":"10.1016\/j.ymssp.2018.02.016","article-title":"Artificial intelligence for fault diagnosis of rotating machinery: A review","volume":"108","author":"Liu","year":"2018","journal-title":"Mech. Syst. Signal Process."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"247","DOI":"10.1016\/j.promfg.2018.02.036","article-title":"Vibration analysis techniques for rotating machinery and its effect on bearing faults","volume":"20","author":"Khadersab","year":"2018","journal-title":"Procedia Manuf."},{"key":"ref_39","unstructured":"C\u00f3rdova, E.P., Loja, R.V.S., Cabrera, D., and Cerrada, M. (2019). Adquisici\u00f3n de se\u00f1ales de vibraci\u00f3n y emisi\u00f3n ac\u00fastica para el diagn\u00f3stico de severidad de fallos en maquinaria rotativa. Rev. Colomb. Tecnol. Av. (RCTA)."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Saucedo-Dorantes, J.J., Garcia-Ramirez, A.G., Jauregui-Correa, J.C., Osornio-Rios, R.A., Garcia-Perez, A., and Romero-Troncoso, R.J. (November, January 29). Reliable methodology for gearbox wear monitoring based on vibration analysis. Proceedings of the IECON 2014-40th Annual Conference of the IEEE Industrial Electronics Society, Dallas, TX, USA.","DOI":"10.1109\/IECON.2014.7048998"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Berri, P.C., Dalla Vedova, M.D., and Maggiore, P. (2019, January 22\u201326). A Lumped Parameter High Fidelity EMA Model for Model-Based Prognostics. Proceedings of the 29th ESREL, Hannover, Germany.","DOI":"10.3850\/978-981-11-2724-3_0480-cd"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/21\/6155\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T10:26:18Z","timestamp":1760178378000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/21\/6155"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,10,29]]},"references-count":41,"journal-issue":{"issue":"21","published-online":{"date-parts":[[2020,11]]}},"alternative-id":["s20216155"],"URL":"https:\/\/doi.org\/10.3390\/s20216155","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,10,29]]}}}