PCA-based Fault Detection for 2D Multivariate Process Data
% PCA-based Fault Detection
%
% Inputs: z0 [N x 2] = training data
% z1 [N x 2] = test data
% where: N = number of samples
%
% This code visualizes how PCA can account
% for multivariate data in fault detection.
% It also uses MATLAB's ksdensity for
% estimating the data PDF, so as to compute
% a T^2-based upper control limit.
%
% simpledata.mat has sample temperature [K]
% and concentration [mol/L] data from
% the contents of a simulated CSTR.
%
% The output are plots of the raw data,
% normalized data, and PCA projected data.
% Also, rings representing the T^2-based
% upper control limits at different user-
% defined confidence levels are plotted.
%
% You can edit confidence limits at Line 77.
%
% This code is intended for educational purposes.
%
% Load simpledata.mat and run the following:
% >> pcabased_fault_detection(train,test)
Zitieren als
Karl Ezra Pilario (2024). PCA-based Fault Detection for 2D Multivariate Process Data (https://www.mathworks.com/matlabcentral/fileexchange/65983-pca-based-fault-detection-for-2d-multivariate-process-data), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |