eess.SYApr 5, 2026

Extended Hybrid Timed Petri Nets with Semi-Supervised Anomaly Detection for Switched Systems, Modelling and Fault Detection

Authors: Fatiha Hamdi, Abdelhafid Zeroual, Fouzi Harrou

Organizations: Department of Electronics, Faculty of technology, LAAAS Laboratory, Batna 2 University, Batna, Algeria. · Department of Electrical Engineering, Faculty of Science and Applied Sciences, Larbi Ben M’hidi University, Oum El Bouaghi, Algeria. · Computer, Electrical and Mathematical Sciences and Engineering (CEMSE) Division, King Abdullah University of Science and Technology (KAUST), Thuwal, 23955-6900, Saudi Arabia.

Abstract

Hybrid physical systems combine continuous and discrete dynamics, which can be simultaneously affected by faults. Conventional fault detection methods often treat these dynamics separately, limiting their ability to capture interacting fault patterns. This paper proposes a unified fault detection framework for hybrid dynamical systems by integrating an Extended Timed Continuous Petri Net (ETCPN) model with semi-supervised anomaly detection. The proposed ETCPN extends existing Petri net formalisms by introducing marking-dependent flow functions, enabling intrinsic coupling between discrete and continuous dynamics. Based on this structure, a mode-dependent hybrid observer is designed, whose stability under arbitrary switching is ensured via Linear Matrix Inequalities (LMIs), solved offline to determine observer gains. The observer generates residuals that reflect discrepancies between the estimated and measured outputs. These residuals are processed using semi-supervised methods, including One-Class SVM (OC-SVM), Support Vector Data Description (SVDD), and Elliptic Envelope (EE), trained exclusively on normal data to avoid reliance on labeled faults. The framework is validated through simulations involving discrete faults, continuous faults, and hybrid faults. Results demonstrate high detection accuracy, fast convergence, and robust performance, with OC-SVM and SVDD providing the best trade-off between detection rate and false alarms. The framework is computationally efficient for real-time deployment, as the main complexity is confined to the offline LMI design phase.

Figures & tables

Explore similar work

CardsList
  1. A Hybrid Two-Stage Machine Learning Pipeline for Fault Detection and Classification in Power Transmission Systems

    Aug 24, 2026Sahil Manikshete, Atharva Gujarathi, Thanh Long Vu +2Fault DetectionPower System Fault Diagnosis

  2. Hierarchical ODE: Learning Continuous-Time Physical Prototypes for Early Link Failure Detection

    Jun 12, 2026Jiaen Lv, Leran Qi, Shaowei WangIrregular Time-Series ModelingPrototype Learning

  3. Modeling Normal Is All You Need: Joint Latent Clustering for Anomaly Detection in Multimodal Cyber-Physical Systems

    Jul 7, 2026Alexander Apartsin, Yehudit ApersteinMultimodal Anomaly DetectionIndustrial Anomaly Detection