All projects
Academic project· 2024
Streaming Anomaly Detection for Cyber-Physical Systems
Connecting simulated sensor data, machine-learning classification, time-series storage and live operational visualisation.
MSc Industrial Cyber-Physical Systems Project
MATLABSimulinkNode-REDInfluxDBGrafanaRandom ForestSVMk-NNGradient Boosting
At a glance
98% classification accuracy in the project setting
Simulated streaming time-series data
Four-model comparison
End-to-end monitoring workflow
Grafana dashboard
Problem
Cyber-physical and industrial systems produce continuous sensor data. Abnormal behaviour needs to be detected and presented quickly enough for operators to understand what is happening and decide whether intervention is necessary.
Technical approach
Workflow
MATLAB/Simulink data generation→
Node-RED data flow→
InfluxDB time-series storage→
model-based anomaly classification→
Grafana visualisation
Models and methods
Models compared
Random ForestSupport Vector Machinek-nearest neighboursGradient Boosting
Results
The best-performing setup achieved 98% classification accuracy in the academic project setting. More importantly, the work connected model output to an operational monitoring interface rather than leaving results inside a notebook.
Explainability and dashboard output
- Sensor trends
- Classification status
- Anomaly indicators
- Time-based monitoring
- Operational visibility
Limitations
- Simulated rather than live industrial data
- Academic test environment
- No long-term drift analysis
- No production alerting or fail-safe design
- Accuracy alone does not capture false-alarm cost
- Industrial deployment would require stronger security, latency and reliability testing
How I would improve it
- Add precision, recall and cost-sensitive alert evaluation
- Evaluate concept drift
- Test streaming latency
- Add operator feedback
- Use real equipment data
- Implement alert thresholds and audit logs
Visuals and artefacts
Visual placeholder
End-to-end pipeline diagram
Asset →
/images/projects/anomaly-pipeline.pngVisual placeholder
Grafana dashboard view
Asset →
/images/projects/anomaly-grafana.pngVisual placeholder
Model comparison chart
Asset →
/images/projects/anomaly-model-results.pngTechnologies
MATLABSimulinkNode-REDInfluxDBGrafanaRandom ForestSVMk-NNGradient Boosting