{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,12]],"date-time":"2025-10-12T04:33:54Z","timestamp":1760243634997,"version":"build-2065373602"},"reference-count":48,"publisher":"MDPI AG","issue":"9","license":[{"start":{"date-parts":[[2022,8,29]],"date-time":"2022-08-29T00:00:00Z","timestamp":1661731200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Operational Program for Competitiveness and Internationalization (COMPETE 2020)"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>CONTROLAR provides Bosch with an intelligent functional testing machine used to test the correct functioning of the car radios produced. During this process, the radios are submitted to several tests, raising the problem of how the machine detects errors in several radios consecutively, making it impossible to know if the device has a problem since it has no module to see if it works correctly. This article arises from the need to find a solution to solve this problem, which was to develop a self-diagnostic system that will ensure the reliability and integrity of the cyber-physical system, passing a detailed state of the art. The development of this system was based on the design of an architecture that combines the KDT methodology with a DSL to manage and configure the tests to integrate the self-diagnostic test system into a CPS. A total of 28 test cases were performed to cover all its functionalities. The results show that all test cases passed. Therefore, the system meets all the proposed objectives.<\/jats:p>","DOI":"10.3390\/computers11090131","type":"journal-article","created":{"date-parts":[[2022,8,29]],"date-time":"2022-08-29T21:01:31Z","timestamp":1661806891000},"page":"131","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Development of a Self-diagnostic System Integrated into a Cyber-Physical System"],"prefix":"10.3390","volume":"11","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2890-0655","authenticated-orcid":false,"given":"Domingos F.","family":"Oliveira","sequence":"first","affiliation":[{"name":"Department of Informatics and Computing, University Mandume Ya Ndemufayo, Lubango 3FJP+27X, Angola"},{"name":"Centro Algoritmi, Department of Information Systems, University of Minho, 4800-058 Guimar\u00e3es, Portugal"}]},{"given":"Jo\u00e3o P.","family":"Gomes","sequence":"additional","affiliation":[{"name":"Department of Information Systems, University of Minho, 4804-533 Guimar\u00e3es, Portugal"}]},{"given":"Ricardo B.","family":"Pereira","sequence":"additional","affiliation":[{"name":"Department of Informatics, University of Minho, 4710-057 Braga, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4235-9700","authenticated-orcid":false,"given":"Miguel A.","family":"Brito","sequence":"additional","affiliation":[{"name":"Centro Algoritmi, Department of Information Systems, University of Minho, 4800-058 Guimar\u00e3es, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3626-2569","authenticated-orcid":false,"given":"Ricardo J.","family":"Machado","sequence":"additional","affiliation":[{"name":"Centro Algoritmi, Department of Information Systems, University of Minho, 4800-058 Guimar\u00e3es, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2022,8,29]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Lee, E.A. (2008, January 5\u20137). Cyber physical systems: Design challenges. Proceedings of the 11th IEEE Symposium on Object\/Component\/Service-Oriented Real-Time Distributed Computing, ISORC 2008, Orlando, FL, USA.","DOI":"10.1109\/ISORC.2008.25"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Pereira, R.B., Brito, M.A., and Machado, R.J. (2020). Architecture Based on Keyword Driven Testing with Domain Specific Language for a Testing System, Springer International Publishing.","DOI":"10.1007\/978-3-030-64881-7_21"},{"key":"ref_3","first-page":"1","article-title":"Development of self-diagnosis tests system using a DSL for creating new test suites for integration in a cyber-physical system","volume":"94","author":"Pereira","year":"2021","journal-title":"Open Access Ser. Inform."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"979","DOI":"10.1016\/j.engappai.2008.09.005","article-title":"Agent-based distributed manufacturing control: A state-of-the-art survey","volume":"22","year":"2009","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_5","unstructured":"Minho, U.D. (2022, August 15). Informa\u00e7\u00e3o Institucional. Available online: https:\/\/www.uminho.pt\/PT\/uminho\/Informacao-Institucional\/Paginas\/default.aspx."},{"key":"ref_6","unstructured":"Algoritmi, C. (2021, July 20). Ongoing Projects. Available online: https:\/\/algoritmi.uminho.pt\/projects\/ongoing-projects\/."},{"key":"ref_7","unstructured":"CCG (2021, July 20). TSIM\u2014Test System Intelligent Machines. Available online: https:\/\/www.ccg.pt\/my-product\/tsim-test-system-intelligent-machines\/."},{"key":"ref_8","unstructured":"Controlar (2021, July 20). M\u00e1quina Inteligente de Sistema de Testes Funcionais|Controlar. Available online: https:\/\/controlar.com\/areas-de-negocio\/sistemas-de-teste\/tsim\/."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1421","DOI":"10.1109\/TCAD.2016.2633961","article-title":"Design Automation of Cyber-Physical Systems: Challenges, Advances, and Opportunities","volume":"36","author":"Seshia","year":"2017","journal-title":"IEEE Trans. Comput. Aided Des. Integr. Circuits Syst."},{"key":"ref_10","first-page":"1","article-title":"IoT Middleware: A Survey on Issues and Enabling Technologies","volume":"4","author":"Ngu","year":"2017","journal-title":"IEEE Internet Things J."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"1234","DOI":"10.1109\/TII.2013.2258165","article-title":"Software engineering in industrial automation: State-of-the-art review","volume":"9","author":"Vyatkin","year":"2013","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"3772","DOI":"10.1109\/TAC.2018.2882168","article-title":"Resilient Distributed Estimation: Sensor Attacks","volume":"64","author":"Chen","year":"2019","journal-title":"IEEE Trans. Autom. Control"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"110087","DOI":"10.1016\/j.automatica.2021.110087","article-title":"Enhancement of opacity for distributed state estimation in cyber\u2013physical systems","volume":"136","author":"An","year":"2022","journal-title":"Automatica"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"446","DOI":"10.1109\/COMST.2016.2627399","article-title":"A Survey on Smart Grid Cyber-Physical System Testbeds","volume":"19","author":"Cintuglu","year":"2017","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_15","unstructured":"Asadollah, S.A., Inam, R., and Hansson, H. (2015, January 23\u201325). A survey on testing for cyber physical system. Proceedings of the 27th IFIP WG 6.1 International Conference, ICTSS 2015, Sharjah and Dubai, United Arab Emirates. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"52179","DOI":"10.1109\/ACCESS.2018.2869834","article-title":"Review on Testing of Cyber Physical Systems: Methods and Testbeds","volume":"6","author":"Zhou","year":"2018","journal-title":"IEEE Access"},{"key":"ref_17","unstructured":"Carvalho, M.F.A. (2010). Automatiza\u00e7\u00e3o de Testes de Software Dashboard QMSanalyser, Instituto Politecnico de Coimbra. Technical Report."},{"key":"ref_18","unstructured":"Guru99 (2021, July 20). Automation Testing Tutorial: What is Automated Testing?. Available online: https:\/\/www.guru99.com\/automation-testing.html."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"122644","DOI":"10.1109\/ACCESS.2019.2938227","article-title":"Challenges and opportunities of deep learning models for machinery fault detection and diagnosis: A review","volume":"7","author":"Saufi","year":"2019","journal-title":"IEEE Access"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"215","DOI":"10.1016\/j.autcon.2019.04.002","article-title":"Development and implementation of automated fault detection and diagnostics for building systems: A review","volume":"104","author":"Shi","year":"2019","journal-title":"Autom. Constr."},{"key":"ref_21","unstructured":"Tang, J., Cao, X., and Ma, A. (2008, January 1\u20133). Towards adaptive framework of keyword driven automation testing. Proceedings of the IEEE International Conference on Automation and Logistics, ICAL 2008, Qingdao, China."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Hametner, R., Winkler, D., and Zoitl, A. (2012, January 25\u201328). Agile testing concepts based on keyword-driven testing for industrial automation systems. Proceedings of the IECON 2012\u201438th Annual Conference on IEEE Industrial Electronics Society, Montreal, QC, Canada.","DOI":"10.1109\/IECON.2012.6389298"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Razak, R.A., and Fahrurazi, F.R. (2011, January 13\u201314). Agile testing with Selenium. Proceedings of the 2011 5th Malaysian Conference in Software Engineering, MySEC 2011, Johor Bahru, Malaysia.","DOI":"10.1109\/MySEC.2011.6140672"},{"key":"ref_24","unstructured":"Tutorials Point (2021, July 20). QTP Tutorial\u2014Tutorialspoint. Available online: https:\/\/www.tutorialspoint.com\/qtp\/index.htm."},{"key":"ref_25","unstructured":"Lalwani, T. (2011). QuickTest Professional Unplugged, KnowledgeInbox. [2nd ed.]. Available online: https:\/\/www.amazon.com\/QuickTest-Professional-Unplugged-Tarun-Lalwani\/dp\/0578025795."},{"key":"ref_26","first-page":"1","article-title":"Comparative Study of Automated Testing Tools: TestComplete and QuickTest Pro","volume":"24","author":"Kaur","year":"2011","journal-title":"Int. J. Comput. Appl."},{"key":"ref_27","unstructured":"Focus, M. (2021, July 20). Silk Test Automation for Web, Mobile and Enterprise Apps. Available online: https:\/\/www.microfocus.com\/en-us\/products\/silk-test\/overview."},{"key":"ref_28","unstructured":"Lima, T., Dantas, A., and Vasconcelos, L. (2012, January 23). Usando o SilkTest para automatizar testes: Um Relato de Experi\u00eancia. Proceedings of the 6th Brazilian Workshop on Systematic and Automated Software Testing, Natal, RN, Brazil."},{"key":"ref_29","unstructured":"Ranorex (2021, July 20). Test Automation Tools|Ranorex Automated Software Testing. Available online: https:\/\/www.ranorex.com\/test-automation-tools\/."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Jian-Ping, L., Juan-Juan, L., and Dong-Long, W. (2012, January 21\u201324). Application analysis of automated testing framework based on robot. Proceedings of the International Conference on Networking and Distributed Computing, ICNDC, Hangzhou, China.","DOI":"10.1109\/ICNDC.2012.53"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Hermans, F., Pinzger, M., and Van Deursen, A. (2009). Domain-specific languages in practice: A user study on the success factors. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Springer.","DOI":"10.1007\/978-3-642-04425-0_33"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Ciraci, S., Fuller, J.C., Daily, J., Makhmalbaf, A., and Callahan, D. (2014, January 21\u201325). A runtime verification framework for control system simulation. Proceedings of the 2014 IEEE 38th Annual Computer Software and Applications Conference, Vasteras, Sweden.","DOI":"10.1109\/COMPSAC.2014.14"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"131","DOI":"10.1145\/130844.130856","article-title":"Software Reuse","volume":"24","author":"Krueger","year":"1992","journal-title":"ACM Comput. Surv. (CSUR)"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"789","DOI":"10.1002\/spe.4380250705","article-title":"ANTLR: A Predicated- LL (k) Parser Generator","volume":"25","author":"Parr","year":"1995","journal-title":"Softw. Pract. Exp."},{"key":"ref_35","unstructured":"Tomassetti, G. (2021, July 20). The ANTLR Mega Tutorial. Available online: https:\/\/tomassetti.me\/antlr-mega-tutorial\/."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"425","DOI":"10.1145\/1993316.1993548","article-title":"LL(*): The foundation of the ANTLR parser generator","volume":"46","author":"Parr","year":"2011","journal-title":"ACM Sigplan Not."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"579","DOI":"10.1145\/2714064.2660202","article-title":"Adaptive LL(*) Parsing: The Power of Dynamic Analysis","volume":"49","author":"Parr","year":"2014","journal-title":"ACM Sigplan Not."},{"key":"ref_38","unstructured":"Palsberg, J., and Jay, C.B. (1998, January 19\u201321). The Essence of the Visitor Pattern. Proceedings of the International Computer Software and Applications Conference, Washington, DC, USA."},{"key":"ref_39","unstructured":"Cademy, C. (2021, July 20). What Is REST?|Codecademy. Available online: https:\/\/www.codecademy.com\/articles\/what-is-rest."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Costa, B., Pires, P.F., Delicato, F.C., and Merson, P. (2014, January 7\u201311). Evaluating a Representational State Transfer (REST) architecture: What is the impact of REST in my architecture?. Proceedings of the Working IEEE\/IFIP Conference on Software Architecture 2014, WICSA 2014, Sydney, Australia.","DOI":"10.1109\/WICSA.2014.29"},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"156","DOI":"10.1016\/j.jss.2015.09.039","article-title":"Evaluating REST architectures\u2014Approach, tooling and guidelines","volume":"112","author":"Costa","year":"2016","journal-title":"J. Syst. Softw."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Subramanian, V. (2019). Pro MERN Stack, Apress.","DOI":"10.1007\/978-1-4842-4391-6"},{"key":"ref_43","unstructured":"Inc, F. (2021, July 20). React\u2014A JavaScript Library for Building User Interfaces. Available online: https:\/\/reactjs.org\/."},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Porter, P., Yang, S., and Xi, X. (2019, January 4\u20137). The Design and Implementation of a RESTful IoT Service Using the MERN Stack. Proceedings of the 2019 IEEE 16th International Conference on Mobile Ad Hoc and Smart Systems Workshops, MASSW 2019, Monterey, CA, USA.","DOI":"10.1109\/MASSW.2019.00035"},{"key":"ref_45","first-page":"133","article-title":"Modern Web-Development using ReactJS","volume":"5","author":"Aggarwal","year":"2018","journal-title":"Int. J. Recent Res. Asp."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Javeed, A. (2019, January 20\u201322). Performance Optimization Techniques for ReactJS. Proceedings of the 2019 3rd IEEE International Conference on Electrical, Computer and Communication Technologies, ICECCT 2019, Coimbatore, India.","DOI":"10.1109\/ICECCT.2019.8869134"},{"key":"ref_47","unstructured":"Obinna, E. (2021, July 20). Use the React Profiler for Performance. Available online: https:\/\/www.digitalocean.com\/community."},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Oliveira, D.F., and Brito, M.A. (2022). Position Paper: Quality Assurance in Deep Learning Systems, SciTePress.","DOI":"10.5220\/0011107100003269"}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/11\/9\/131\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T00:19:36Z","timestamp":1760141976000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/11\/9\/131"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,8,29]]},"references-count":48,"journal-issue":{"issue":"9","published-online":{"date-parts":[[2022,9]]}},"alternative-id":["computers11090131"],"URL":"https:\/\/doi.org\/10.3390\/computers11090131","relation":{},"ISSN":["2073-431X"],"issn-type":[{"type":"electronic","value":"2073-431X"}],"subject":[],"published":{"date-parts":[[2022,8,29]]}}}