matlab simulink residuals generation

조회 수: 38 (최근 30일)
Archana
Archana 2025년 11월 21일 10:24
답변: Sanathan 2025년 12월 17일 5:50
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 ,

답변 (1개)

Sanathan
Sanathan 2025년 12월 17일 5:50
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:

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

태그

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by