Diego Martínez-Castro
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Diego Martínez-Castro has a total of 39 co-authors. Here are the top co-authors by number of shared publications:
- Apolinar González-Potes
Facultad de Ingeniería Mecánica y Eléctrica, Universidad de Colima, Colima 28040, Mexico
7 shared publications - Carlos Mario Paredes
Grupo LIDIS (Laboratorio de Investigación para el Desarrollo de la Ingeniería de Software), Faculty of Engineering, Universidad de San Buenaventura, Cali 760030, Colombia
6 shared publications - José Simó
Universitat Politècnica de València
3 shared publications - Vrani Ibarra-Junquera
Facultad de Ciencias Químicas, Universidadde Colima, Km. 9 Carretera Coquimatlán-Colima, Coquimatlán 28400, Colima, Mexico
3 shared publications - Alberto Ochoa-Brust
Facultad de Ingeniería Mecánica y Eléctrica, Universidad de Colima, Colima 28040, Mexico
2 shared publications - Alfons Crespo
Universitat Politècnica de València
2 shared publications
Latest Publications
- Open Access
- 5 October 2026
- Published by MDPI AG in Future Internet
- Vol. 18 (10) , 537
Implementation and Web Deployment of an Anomaly Detection System for IoT Environments Using the CRISP-ML(Q) Methodology
The expansion of the Internet of Things (IoT) has intensified cyber risk in Edge deployments with limited computational resources, where conventional intrusion detection systems are unfeasible. Aiming to reduce this gap, a lightweight anomaly detection system for IoT networks has been designed and implemented, structured through the CRISP-ML(Q) (Cross-Industry Standard Process for Machine Learning with Quality Assurance) lifecycle. Unsupervised models (Isolation Forest, OCSVM, K-Means, and Autoencoder) and supervised models (Decision Tree, Extra Trees, and Random Forest) were trained and compared on the BoT-IoT dataset, validating their operational behavior through real-time traffic captures during “TCP RST Flood”, “TCP SYN Flood”, “UDP Flood”, and “ICMP Flood” attacks on a Raspberry Pi 4B platform. Isolation Forest provided the most consistent balance between detection capability and computational cost, while the Autoencoder achieved detection rates of up to 98.8%. Among the supervised models, Random Forest achieved the highest ROC–AUC, reaching 98.5%, whereas Extra Trees showed the lowest inference time under attack conditions (0.50 s). The system was deployed on a Raspberry Pi 4B with a Streamlit interface integrating traffic capture, preprocessing, inference, visualization, resource monitoring, and automated alerts. The results demonstrate the feasibility of combining complementary detection strategies in an operational Edge-based IDS, while highlighting the trade-off between detection performance and computational cost.
- 5 October 2026
- Published by MDPI AG in Future Internet
- Vol. 18 (10) , 537
Open AccessImplementation and Web Deployment of an Anomaly Detection System for IoT Environments Using the CRISP-ML(Q) Methodology
The expansion of the Internet of Things (IoT) has intensified cyber risk in Edge deployments with limited computational resources, where conventional intrusion detection systems are unfeasible. Aiming to reduce this gap, a lightweight anomaly detection system for IoT networks has been designed and implemented, structured through the CRISP-ML(Q) (Cross-Industry Standard Process for Machine Learning with Quality Assurance) lifecycle. Unsupervised models (Isolation Forest, OCSVM, K-Means, and Autoencoder) and supervised models (Decision Tree, Extra Trees, and Random Forest) were trained and compared on the BoT-IoT dataset, validating their operational behavior through real-time traffic captures during “TCP RST Flood”, “TCP SYN Flood”, “UDP Flood”, and “ICMP Flood” attacks on a Raspberry Pi 4B platform. Isolation Forest provided the most consistent balance between detection capability and computational cost, while the Autoencoder achieved detection rates of up to 98.8%. Among the supervised models, Random Forest achieved the highest ROC–AUC, reaching 98.5%, whereas Extra Trees showed the lowest inference time under attack conditions (0.50 s). The system was deployed on a Raspberry Pi 4B with a Streamlit interface integrating traffic capture, preprocessing, inference, visualization, resource monitoring, and automated alerts. The results demonstrate the feasibility of combining complementary detection strategies in an operational Edge-based IDS, while highlighting the trade-off between detection performance and computational cost.
- Open Access
- 1 April 2026
- Published by Tsinghua University Press in Tsinghua Science and Technology
- Vol. 31 (2) , 708-725
Microservices-Based Architecture to Support Automation Applications in Smart Industries with End-to-End Real-Time Requirements
New industrial automation applications necessitate flexibility, scalability, and ability to be reconfigured in response to alterations that occur during their operation, to attain optimal operational points. This work presents an architecture for the development of industrial automation applications with different real-time requirements. The proposed architecture employs a scheduler based on fixed priorities to manage the execution of containerized tasks, which are integrated through the Data Distribution Service (DDS) middleware, and incorporates a bridge to a Controller Area Network (CAN), thereby enabling the fulfillment of End-to-End (E2E) real-time deadlines in distributed applications. The results of the implemented case studies provide corroboration for the validity of the proposed solution. This architecture facilitates scalability, reconfiguration, and consistency of information, addressing the solution of two of the main challenges currently presented in the development of industrial automation systems. The first of these challenges is related to the integration of industrial automation solutions, while the second is related to the reconfiguration of the systems in compliance with real-time requirements.
- 1 April 2026
- Published by Tsinghua University Press in Tsinghua Science and Technology
- Vol. 31 (2) , 708-725
Open AccessMicroservices-Based Architecture to Support Automation Applications in Smart Industries with End-to-End Real-Time Requirements
New industrial automation applications necessitate flexibility, scalability, and ability to be reconfigured in response to alterations that occur during their operation, to attain optimal operational points. This work presents an architecture for the development of industrial automation applications with different real-time requirements. The proposed architecture employs a scheduler based on fixed priorities to manage the execution of containerized tasks, which are integrated through the Data Distribution Service (DDS) middleware, and incorporates a bridge to a Controller Area Network (CAN), thereby enabling the fulfillment of End-to-End (E2E) real-time deadlines in distributed applications. The results of the implemented case studies provide corroboration for the validity of the proposed solution. This architecture facilitates scalability, reconfiguration, and consistency of information, addressing the solution of two of the main challenges currently presented in the development of industrial automation systems. The first of these challenges is related to the integration of industrial automation solutions, while the second is related to the reconfiguration of the systems in compliance with real-time requirements.
- Top Cited PapersOpen Access
Hybrid AI and LLM-Enabled Agent-Based Real-Time Decision Support Architecture for Industrial Batch Processes: A Clean-in-Place Case Study
A hybrid AI and LLM-enabled architecture is presented for real-time decision support in industrial batch processes, where supervision still relies heavily on human operators and ad hoc SCADA logic. Unlike algorithmic contributions proposing novel AI methods, this work addresses the practical integration and deployment challenges arising when applying existing AI techniques to safety-critical industrial environments with legacy PLC/SCADA infrastructure and real-time constraints. The framework combines deterministic rule-based agents, fuzzy and statistical enrichment, and large language models (LLMs) to support monitoring, diagnostic interpretation, preventive maintenance planning, and operator interaction with minimal manual intervention. High-frequency sensor streams are collected into rolling buffers per active process instance; deterministic agents compute enriched variables, discrete supervisory states, and rule-based alarms, while an LLM-driven analytics agent answers free-form operator queries over the same enriched datasets through a conversational interface. The architecture is instantiated and deployed in the Clean-in-Place (CIP) system of an industrial beverage plant and evaluated following a case study design aimed at demonstrating architectural feasibility and diagnostic behavior under realistic operating regimes rather than statistical generalization. Three representative multi-stage CIP executions—purposively selected from 24 runs monitored during a six-month deployment—span nominal baseline, preventive-warning, and diagnostic-alert conditions. The study quantifies stage-specification compliance, state-to-specification consistency, and temporal stability of supervisory states, and performs spot-check audits of numerical consistency between language-based summaries and enriched logs. Results in the evaluated CIP deployment show high time within specification in sanitizing stages (100% compliance across the evaluated runs), coherent and mostly stable supervisory states in variable alkaline conditions (state-specification consistency ), and data-grounded conversational diagnostics in real time (median numerical error below 3% in audited samples), without altering the existing CIP control logic. These findings suggest that the architecture can be transferred to other industrial cleaning and batch operations by reconfiguring process-specific rules and ontologies, though empirical validation in other process types remains future work. The contribution lies in demonstrating how to bridge the gap between AI theory and industrial practice through careful system architecture, data transformation pipelines, and integration patterns that enable reliable AI-enhanced decision support in production environments, offering a practical path toward AI-assisted process supervision with explainable conversational interfaces that support preventive maintenance decision-making and equipment health monitoring.Top Cited PapersOpen AccessHybrid AI and LLM-Enabled Agent-Based Real-Time Decision Support Architecture for Industrial Batch Processes: A Clean-in-Place Case Study
A hybrid AI and LLM-enabled architecture is presented for real-time decision support in industrial batch processes, where supervision still relies heavily on human operators and ad hoc SCADA logic. Unlike algorithmic contributions proposing novel AI methods, this work addresses the practical integration and deployment challenges arising when applying existing AI techniques to safety-critical industrial environments with legacy PLC/SCADA infrastructure and real-time constraints. The framework combines deterministic rule-based agents, fuzzy and statistical enrichment, and large language models (LLMs) to support monitoring, diagnostic interpretation, preventive maintenance planning, and operator interaction with minimal manual intervention. High-frequency sensor streams are collected into rolling buffers per active process instance; deterministic agents compute enriched variables, discrete supervisory states, and rule-based alarms, while an LLM-driven analytics agent answers free-form operator queries over the same enriched datasets through a conversational interface. The architecture is instantiated and deployed in the Clean-in-Place (CIP) system of an industrial beverage plant and evaluated following a case study design aimed at demonstrating architectural feasibility and diagnostic behavior under realistic operating regimes rather than statistical generalization. Three representative multi-stage CIP executions—purposively selected from 24 runs monitored during a six-month deployment—span nominal baseline, preventive-warning, and diagnostic-alert conditions. The study quantifies stage-specification compliance, state-to-specification consistency, and temporal stability of supervisory states, and performs spot-check audits of numerical consistency between language-based summaries and enriched logs. Results in the evaluated CIP deployment show high time within specification in sanitizing stages (100% compliance across the evaluated runs), coherent and mostly stable supervisory states in variable alkaline conditions (state-specification consistency ), and data-grounded conversational diagnostics in real time (median numerical error below 3% in audited samples), without altering the existing CIP control logic. These findings suggest that the architecture can be transferred to other industrial cleaning and batch operations by reconfiguring process-specific rules and ontologies, though empirical validation in other process types remains future work. The contribution lies in demonstrating how to bridge the gap between AI theory and industrial practice through careful system architecture, data transformation pipelines, and integration patterns that enable reliable AI-enhanced decision support in production environments, offering a practical path toward AI-assisted process supervision with explainable conversational interfaces that support preventive maintenance decision-making and equipment health monitoring. - Open Access
- 23 December 2025
- Published by MDPI AG in Preprints.org
Hybrid AI and LLM-Enabled Agent-Based Real-Time Decision Support Architecture for Industrial Batch Processes: A Clean-in-Place Case Study
A hybrid AI and LLM-enabled architecture is presented for real-time decision support in industrial batch processes, where supervision still relies heavily on human operators and ad-hoc SCADA logic. The framework combines deterministic rule-based agents, fuzzy and statistical enrichment, and large language models (LLMs) to support monitoring, diagnostic interpretation, preventive maintenance planning, and operator interaction with minimal manual intervention. High-frequency sensor streams are collected into rolling buffers per active process instance; deterministic agents compute enriched variables, discrete supervisory states, and rule-based alarms, while an LLM-driven analytics agent answers free-form operator queries over the same enriched datasets through a conversational interface. The architecture is instantiated and deployed in the Clean-in-Place (CIP) system of an industrial beverage plant and evaluated following a case-study design aimed at demonstrating architectural feasibility and diagnostic behavior under realistic operating regimes rather than statistical generalization. Three representative multi-stage CIP executions—purposively selected from 24 runs monitored during a six-month deployment—span nominal baseline, preventive-warning, and diagnostic-alert conditions. The study quantifies stage-specification compliance, state-to-specification consistency, and temporal stability of supervisory states, and performs spot-check audits of numerical consistency between language-based summaries and enriched logs. Results show high time within specification in sanitising stages (100% compliance across the evaluated runs), coherent and mostly stable supervisory states in variable alkaline conditions (state-specification consistency Γs≥0.98), and data-grounded conversational diagnostics in real time (median numerical error below 3% in audited samples), without altering the existing CIP control logic. These findings suggest that the architecture can be transferred to other industrial cleaning and batch operations by reconfiguring process-specific rules and ontologies, offering a practical path toward AI-assisted process supervision with explainable conversational interfaces that support preventive maintenance decision-making and equipment health monitoring.
- 23 December 2025
- Published by MDPI AG in Preprints.org
Open AccessHybrid AI and LLM-Enabled Agent-Based Real-Time Decision Support Architecture for Industrial Batch Processes: A Clean-in-Place Case Study
A hybrid AI and LLM-enabled architecture is presented for real-time decision support in industrial batch processes, where supervision still relies heavily on human operators and ad-hoc SCADA logic. The framework combines deterministic rule-based agents, fuzzy and statistical enrichment, and large language models (LLMs) to support monitoring, diagnostic interpretation, preventive maintenance planning, and operator interaction with minimal manual intervention. High-frequency sensor streams are collected into rolling buffers per active process instance; deterministic agents compute enriched variables, discrete supervisory states, and rule-based alarms, while an LLM-driven analytics agent answers free-form operator queries over the same enriched datasets through a conversational interface. The architecture is instantiated and deployed in the Clean-in-Place (CIP) system of an industrial beverage plant and evaluated following a case-study design aimed at demonstrating architectural feasibility and diagnostic behavior under realistic operating regimes rather than statistical generalization. Three representative multi-stage CIP executions—purposively selected from 24 runs monitored during a six-month deployment—span nominal baseline, preventive-warning, and diagnostic-alert conditions. The study quantifies stage-specification compliance, state-to-specification consistency, and temporal stability of supervisory states, and performs spot-check audits of numerical consistency between language-based summaries and enriched logs. Results show high time within specification in sanitising stages (100% compliance across the evaluated runs), coherent and mostly stable supervisory states in variable alkaline conditions (state-specification consistency Γs≥0.98), and data-grounded conversational diagnostics in real time (median numerical error below 3% in audited samples), without altering the existing CIP control logic. These findings suggest that the architecture can be transferred to other industrial cleaning and batch operations by reconfiguring process-specific rules and ontologies, offering a practical path toward AI-assisted process supervision with explainable conversational interfaces that support preventive maintenance decision-making and equipment health monitoring.
- Open Access
Design Procedure for Real-Time Cyber–Physical Systems Tolerant to Cyberattacks
Modern industrial automation supported by Cyber–Physical Systems (CPSs) requires high flexibility, which is achieved through increased interconnection between modules. This interconnection introduces a layer of symmetry into the design and operation of CPSs, balancing the distribution of tasks and resources across the system and streamlining the flow of information. However, this adaptability also exposes control systems to security threats, particularly through novel communication links that are vulnerable to cyberattacks. Traditional strategies may have limitations in these applications. This research proposes a design approach for control applications supported by CPSs that incorporates cyberattack detection and tolerance strategies. Using a modular and adaptive approach, the system is partitioned into microservices for scalability and resilience, allowing structural symmetry to be maintained. Schedulability assessments ensure that critical timing constraints are met, improving overall system symmetry and performance. Advanced cyberattack detection and isolation systems generate alarms and facilitate rapid response with replicas of affected components. These replicas enable the system to recover from and tolerate cyberattacks, maintaining uninterrupted operation and preserving the balanced structure of the system. In conclusion, the proposed approach addresses the security challenges in CPS-based control applications and provides an integrated and robust approach to protect industrial automation systems from cyber threats. A case study conducted at a juice production facility in Colima, México, demonstrated how the architecture can be applied to complex processes such as pH control, from simulation to industrial implementation. The study highlighted a plug-and-play approach, starting with component definitions and relationships, and extending to technology integration, thereby reinforcing symmetry and efficiency within the system.
Open AccessDesign Procedure for Real-Time Cyber–Physical Systems Tolerant to Cyberattacks
Modern industrial automation supported by Cyber–Physical Systems (CPSs) requires high flexibility, which is achieved through increased interconnection between modules. This interconnection introduces a layer of symmetry into the design and operation of CPSs, balancing the distribution of tasks and resources across the system and streamlining the flow of information. However, this adaptability also exposes control systems to security threats, particularly through novel communication links that are vulnerable to cyberattacks. Traditional strategies may have limitations in these applications. This research proposes a design approach for control applications supported by CPSs that incorporates cyberattack detection and tolerance strategies. Using a modular and adaptive approach, the system is partitioned into microservices for scalability and resilience, allowing structural symmetry to be maintained. Schedulability assessments ensure that critical timing constraints are met, improving overall system symmetry and performance. Advanced cyberattack detection and isolation systems generate alarms and facilitate rapid response with replicas of affected components. These replicas enable the system to recover from and tolerate cyberattacks, maintaining uninterrupted operation and preserving the balanced structure of the system. In conclusion, the proposed approach addresses the security challenges in CPS-based control applications and provides an integrated and robust approach to protect industrial automation systems from cyber threats. A case study conducted at a juice production facility in Colima, México, demonstrated how the architecture can be applied to complex processes such as pH control, from simulation to industrial implementation. The study highlighted a plug-and-play approach, starting with component definitions and relationships, and extending to technology integration, thereby reinforcing symmetry and efficiency within the system.
- 14 February 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 73 (5) , 1313-1326
NDSTRNG: Non-Deterministic Sampling-Based True Random Number Generator on SoC FPGA Systems
Random number generation is essential for applications in simulation, numerical analysis, and data encryption. The ubiquitous presence of system-on-chip (SoC) field-programmable gate array (FPGA) embedded devices in critical sectors necessitates robust random number generators (RNGs) that operate within these specialized environments. Traditional RNGs in GNU/Linux systems derive entropy from peripheral hardware events, which are scarce in SoC FPGA platforms lacking standard PC peripherals. Addressing this challenge, this paper proposes a novel random number generator named NDSTRNG that leverages the unique hardware structure of the SoC FPGA and the inherent randomness of GNU/Linux. The proposed generator employs a non-deterministic sampling model to circumvent reliance on various peripherals while ensuring unbiased output via a linear feedback shift register (LFSR)-based post-processing method. We implement this random number generator in SoC FPGA GNU/Linux using minimal FPGA resources and only one Linux task for sampling. NDSTRNG achieved a throughput exceeding 700 Kbps. Moreover, the entropy source of the generator is evaluated using NIST SP 800-90B, while the quality of the generated random numbers is assessed through ENT, NIST SP 800-22, and DIEHARDER. The results confirm that NDSTRNG meets the stringent criteria for both high-quality and high-speed random number generation, making it suitable for deployment in communication, defense, and medical domains where reliable RNGs are indispensable.
- 14 February 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 73 (5) , 1313-1326
NDSTRNG: Non-Deterministic Sampling-Based True Random Number Generator on SoC FPGA Systems
Random number generation is essential for applications in simulation, numerical analysis, and data encryption. The ubiquitous presence of system-on-chip (SoC) field-programmable gate array (FPGA) embedded devices in critical sectors necessitates robust random number generators (RNGs) that operate within these specialized environments. Traditional RNGs in GNU/Linux systems derive entropy from peripheral hardware events, which are scarce in SoC FPGA platforms lacking standard PC peripherals. Addressing this challenge, this paper proposes a novel random number generator named NDSTRNG that leverages the unique hardware structure of the SoC FPGA and the inherent randomness of GNU/Linux. The proposed generator employs a non-deterministic sampling model to circumvent reliance on various peripherals while ensuring unbiased output via a linear feedback shift register (LFSR)-based post-processing method. We implement this random number generator in SoC FPGA GNU/Linux using minimal FPGA resources and only one Linux task for sampling. NDSTRNG achieved a throughput exceeding 700 Kbps. Moreover, the entropy source of the generator is evaluated using NIST SP 800-90B, while the quality of the generated random numbers is assessed through ENT, NIST SP 800-22, and DIEHARDER. The results confirm that NDSTRNG meets the stringent criteria for both high-quality and high-speed random number generation, making it suitable for deployment in communication, defense, and medical domains where reliable RNGs are indispensable.
- Open Access
- 22 December 2022
- Published by Universidad de Lima in Limaq
- No. 010,p. 59-83
Aprendizaje-servicio y la cultura maker. Desarrollo de material educativo para niños con parálisis cerebral y discapacidades cognitivas
Service-learning projects are pedagogical opportunities to immerse students into collaborative methodologies, community participation, and experiential learning by implementing and evaluating design projects that educate them on Maker culture. This article presents a learning experience with Engineering students from a private university in southwestern Colombia, who developed didactic materials for an educational institution committed to children with cerebral palsy and cognitive disabilities. The project started by narrowing down the problem with the school community and developing prototypes at Cali Fablab, which were later validated with teachers of the beneficiary institution. The work team consisted of Engineering (2), Design (1), and Education (1) professors, the teachers of the beneficiary institution, and twenty engineering students. Five didactic devices, which were affordable and adaptable to the conditions of the project problem, were delivered to the beneficiary institution.
- 22 December 2022
- Published by Universidad de Lima in Limaq
- No. 010,p. 59-83
Open AccessAprendizaje-servicio y la cultura maker. Desarrollo de material educativo para niños con parálisis cerebral y discapacidades cognitivas
Service-learning projects are pedagogical opportunities to immerse students into collaborative methodologies, community participation, and experiential learning by implementing and evaluating design projects that educate them on Maker culture. This article presents a learning experience with Engineering students from a private university in southwestern Colombia, who developed didactic materials for an educational institution committed to children with cerebral palsy and cognitive disabilities. The project started by narrowing down the problem with the school community and developing prototypes at Cali Fablab, which were later validated with teachers of the beneficiary institution. The work team consisted of Engineering (2), Design (1), and Education (1) professors, the teachers of the beneficiary institution, and twenty engineering students. Five didactic devices, which were affordable and adaptable to the conditions of the project problem, were delivered to the beneficiary institution.
- Open Access
- 12 September 2021
- Published by MDPI AG in Electronics
- Vol. 10 (18) , 2238
Detection and Isolation of DoS and Integrity Cyber Attacks in Cyber-Physical Systems with a Neural Network-Based Architecture
New applications of industrial automation request great flexibility in the systems, supported by the increase in the interconnection between its components, allowing access to all the information of the system and its reconfiguration based on the changes that occur during its operations, with the purpose of reaching optimum points of operation. These aspects promote the Smart Factory paradigm, integrating physical and digital systems to create smarts products and processes capable of transforming conventional value chains, forming the Cyber-Physical Systems (CPSs). This flexibility opens a large gap that affects the security of control systems since the new communication links can be used by people to generate attacks that produce risk in these applications. This is a recent problem in the control systems, which originally were centralized and later were implemented as interconnected systems through isolated networks. To protect these systems, strategies that have presented acceptable results in other environments, such as office environments, have been chosen. However, the characteristics of these applications are not the same, and the results achieved are not as expected. This problem has motivated several efforts in order to contribute from different approaches to increase the security of control systems. Based on the above, this work proposes an architecture based on artificial neural networks for detection and isolation of cyber attacks Denial of Service (DoS) and integrity in CPS. Simulation results of two test benches, the Secure Water Treatment (SWaT) dataset, and a tanks system, show the effectiveness of the proposal. Regarding the SWaT dataset, the scores obtained from the recall and F1 score metrics was and was higher than other reported works, while, in terms of precision and accuracy, it obtained a score of which is close to other proposed methods. With respect to the interconnected tank system, scores of , and were obtained for the accuracy, precision, F1 score, and recall metrics, respectively. The high true negatives rate in both cases is noteworthy. In general terms, the proposal has a high effectiveness in detecting and locating the proposed attacks.- 12 September 2021
- Published by MDPI AG in Electronics
- Vol. 10 (18) , 2238
Open AccessDetection and Isolation of DoS and Integrity Cyber Attacks in Cyber-Physical Systems with a Neural Network-Based Architecture
New applications of industrial automation request great flexibility in the systems, supported by the increase in the interconnection between its components, allowing access to all the information of the system and its reconfiguration based on the changes that occur during its operations, with the purpose of reaching optimum points of operation. These aspects promote the Smart Factory paradigm, integrating physical and digital systems to create smarts products and processes capable of transforming conventional value chains, forming the Cyber-Physical Systems (CPSs). This flexibility opens a large gap that affects the security of control systems since the new communication links can be used by people to generate attacks that produce risk in these applications. This is a recent problem in the control systems, which originally were centralized and later were implemented as interconnected systems through isolated networks. To protect these systems, strategies that have presented acceptable results in other environments, such as office environments, have been chosen. However, the characteristics of these applications are not the same, and the results achieved are not as expected. This problem has motivated several efforts in order to contribute from different approaches to increase the security of control systems. Based on the above, this work proposes an architecture based on artificial neural networks for detection and isolation of cyber attacks Denial of Service (DoS) and integrity in CPS. Simulation results of two test benches, the Secure Water Treatment (SWaT) dataset, and a tanks system, show the effectiveness of the proposal. Regarding the SWaT dataset, the scores obtained from the recall and F1 score metrics was and was higher than other reported works, while, in terms of precision and accuracy, it obtained a score of which is close to other proposed methods. With respect to the interconnected tank system, scores of , and were obtained for the accuracy, precision, F1 score, and recall metrics, respectively. The high true negatives rate in both cases is noteworthy. In general terms, the proposal has a high effectiveness in detecting and locating the proposed attacks. - Open Access
Approach to an Emulation Model to Evaluate the Behavior and Impact of Microgrids in Isolated Communities
In microgrid projects, social ownership involves aspects beyond their operation that may compromise the sustainability of the system. For this reason, the development of analysis methods to assess the feasibility and impact during the design stages of these solutions is of growing interest. Recent studies have proposed methods that allow an individual analysis of technological components and social behaviors. However, a complete evaluation of the performance and the impact of these projects should allow the simultaneous evaluation of the behavior of these subsystems, allowing the analysis of their interactions and effects in a dynamic way. Accordingly, this paper presents simulation and emulation models to evaluate the impact of a microgrid in isolated communities. These models contemplate sublevels that consider the energetic, automation and computational aspects in the microgrids and a multi-agent system (MAS) that is used to study the environmental and economic impact of the microgrid through the evolution of certain indicators. The socio-technological interdependence in the operation of the isolated microgrid is analyzed through the integration of the microgrid emulation platform with the MAS. Our approach includes a comprehensive study of the performance of these projects in specific communities, in order to contribute to the design and implementation, considering the technological, economic, environmental, and social impacts.
Open AccessApproach to an Emulation Model to Evaluate the Behavior and Impact of Microgrids in Isolated Communities
In microgrid projects, social ownership involves aspects beyond their operation that may compromise the sustainability of the system. For this reason, the development of analysis methods to assess the feasibility and impact during the design stages of these solutions is of growing interest. Recent studies have proposed methods that allow an individual analysis of technological components and social behaviors. However, a complete evaluation of the performance and the impact of these projects should allow the simultaneous evaluation of the behavior of these subsystems, allowing the analysis of their interactions and effects in a dynamic way. Accordingly, this paper presents simulation and emulation models to evaluate the impact of a microgrid in isolated communities. These models contemplate sublevels that consider the energetic, automation and computational aspects in the microgrids and a multi-agent system (MAS) that is used to study the environmental and economic impact of the microgrid through the evolution of certain indicators. The socio-technological interdependence in the operation of the isolated microgrid is analyzed through the integration of the microgrid emulation platform with the MAS. Our approach includes a comprehensive study of the performance of these projects in specific communities, in order to contribute to the design and implementation, considering the technological, economic, environmental, and social impacts.
- Open Access
- 24 March 2021
- Published by MDPI AG in Electronics
- Vol. 10 (7) , 763
Software Components for Smart Industry Based on Microservices: A Case Study in pH Control Process for the Beverage Industry
Modern industries require constant adaptation to new trends. Thus, they seek greater flexibility and agility to cope with disruptions, as well as to solve needs or meet the demand for growth. Therefore, smart industrial applications require a lot of flexibility to be able to react more quickly to continuous market changes, offer more personalized products, increase operational efficiency, and achieve optimum operating points that integrate the entire value chain of a process. This requires the capture of new data that are subsequently processed at different levels of the hierarchy of automation processes, with requirements and technologies according to each level. The result is a new challenge related to the addition of new functionalities in the processes and the interoperability between them. This paper proposes a distributed computational component-based framework that integrates communication, computation, and storage resources and real-time capabilities through container technology, microservices, and the publish/subscribe paradigm, as well as contributing to the development and implementation of industrial automation applications by bridging the gap between generic architectures and physical realizations. The main idea is to enable plug-and-play software components, from predefined components with their interrelationships, to achieve industrial applications without losing or degrading the robustness from previous developments. This paper presents the process of design and implementation with the proposed framework through the implementation of a complex pH control process, ranging from the simulation part to its scaling and implementation to an industrial level, showing the plug-and-play assembly from a definition of components with their relationships to the implementation process with the respective technologies involved. The effectiveness of the proposed framework was experimentally verified in a real production process, showing that the results scaled to an industrial scale comply with the simulated design process. A qualitative comparison with traditional industrial implementations, based on the implementation requirements, was carried out. The implementation was developed in the beverage production plant “Punta Delicia”, located in Colima, Mexico. Finally, the results showed that the platform provided a high-fidelity design, analysis, and testing environment for cyber information flow and their effect on the physical operation of the pH control.
- 24 March 2021
- Published by MDPI AG in Electronics
- Vol. 10 (7) , 763
Open AccessSoftware Components for Smart Industry Based on Microservices: A Case Study in pH Control Process for the Beverage Industry
Modern industries require constant adaptation to new trends. Thus, they seek greater flexibility and agility to cope with disruptions, as well as to solve needs or meet the demand for growth. Therefore, smart industrial applications require a lot of flexibility to be able to react more quickly to continuous market changes, offer more personalized products, increase operational efficiency, and achieve optimum operating points that integrate the entire value chain of a process. This requires the capture of new data that are subsequently processed at different levels of the hierarchy of automation processes, with requirements and technologies according to each level. The result is a new challenge related to the addition of new functionalities in the processes and the interoperability between them. This paper proposes a distributed computational component-based framework that integrates communication, computation, and storage resources and real-time capabilities through container technology, microservices, and the publish/subscribe paradigm, as well as contributing to the development and implementation of industrial automation applications by bridging the gap between generic architectures and physical realizations. The main idea is to enable plug-and-play software components, from predefined components with their interrelationships, to achieve industrial applications without losing or degrading the robustness from previous developments. This paper presents the process of design and implementation with the proposed framework through the implementation of a complex pH control process, ranging from the simulation part to its scaling and implementation to an industrial level, showing the plug-and-play assembly from a definition of components with their relationships to the implementation process with the respective technologies involved. The effectiveness of the proposed framework was experimentally verified in a real production process, showing that the results scaled to an industrial scale comply with the simulated design process. A qualitative comparison with traditional industrial implementations, based on the implementation requirements, was carried out. The implementation was developed in the beverage production plant “Punta Delicia”, located in Colima, Mexico. Finally, the results showed that the platform provided a high-fidelity design, analysis, and testing environment for cyber information flow and their effect on the physical operation of the pH control.