matlab simulink residuals generation

38 visualizzazioni (ultimi 30 giorni)
Archana
Archana il 21 Nov 2025 alle 10:24
Risposto: Sanathan circa 21 ore fa
I am working with MATLAB/Simulink physical models and my goal is to compute residuals automatically, so I can generate thresholds, compute coherence vectors, and ultimately detect faults for machine-learning training.
I tried the Bond Graph method, but rebuilding a full Bond Graph for every new model is very time-consuming. I want to know if MATLAB provides any tools, workflows, or automated methods that can generate residuals directly from Simulink or Simscape models, without manually constructing Bond Graphs every time.
Any solutions, toolboxes, or recommended steps for automatic residual generation in MATLAB would be extremely helpful.
I am using FDI tools, Simlog
simulink residuals genartion i snot available ,

Risposte (1)

Sanathan
Sanathan circa 21 ore fa
Hey Archana
I understand you are trying to quickly generate residuals for each model without using Bond Graph method as its time-consuming.
As of now, MATLAB lacks a fully automated residual generation tool directly from Simulink or Simscape models for FDI without data-driven modeling or manual setup.
  1. You may try using the System Identification Toolbox. Refer to this Documentation for more info about residual generation using system identification app - https://www.mathworks.com/help/ident/ug/examine-model-residuals.html
  2. Or try the Simulink Fault Analyzer for running multi‑scenario fault injection. However, it’s for fault modeling and injection, not automatic residual creation. Use it to produce healthy/faulty datasets for training. Refer these for more information -
You may also refer to below documentation about Residual Analysis:

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Tag

Prodotti


Release

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by