Stage 1 – Machine Monitoring
The operator monitors the machines currently operating in the manufacturing facility.
The application displays the available machines and their current operating status, such as Running, Idle, Warning, or Stopped.
The proposed system is a serverless manufacturing monitoring application that collects machine and sensor data and processes it in real time. The system receives data such as temperature, pressure, vibration, machine speed, production count, and machine status. The data is validated, transformed into a standard format, and analyzed to identify unusual machine conditions. Valid sensor data is processed normally, while abnormal or suspicious readings are flagged for further inspection by the maintenance or production team.
To develop an event-driven serverless data-processing system that provides real-time validation, transformation, and anomaly detection for machine and sensor data in a Manufacturing Monitoring Application.
The operator monitors the machines currently operating in the manufacturing facility.
The application displays the available machines and their current operating status, such as Running, Idle, Warning, or Stopped.
The application collects real-time operating readings from the monitored machines.
IoT sensors generate readings such as temperature, pressure, vibration, and speed, which are sent to the application for monitoring.
The application analyzes the collected readings to determine the current condition of each machine.
The collected machine readings are analyzed against predefined operating conditions to determine whether the machine is operating normally.
The application identifies unusual machine readings or operating patterns.
The anomaly-detection logic analyzes parameters such as temperature, vibration, pressure, and speed and identifies abnormal values or patterns.
The application alerts the maintenance team when an abnormal machine condition is detected.
When an anomaly is detected, the application records the anomaly and sends an alert containing the machine ID, abnormal parameter, detected value, timestamp, and severity.
The maintenance engineer investigates the affected machine after receiving the alert.
The engineer views the anomaly details, checks the machine condition, and records the maintenance action or resolution in the application.
The operator or maintenance engineer reviews previous machine readings and anomaly records.
The application retrieves historical readings, machine status, anomalies, alerts, and maintenance records and presents them through dashboards for performance analysis.
Detects incoming machine-data events and triggers the required processing workflow.
Receives machine and sensor data requests and provides API access to the serverless processing system.
Controls the sequence of validation, transformation, anomaly detection, and data-storage stages.
Executes sensor-data validation, transformation, anomaly detection, and alert-processing functions without requiring dedicated servers.
Stores raw sensor-data files, historical datasets, or supporting machine-data files when object storage is required.
Provides authentication and role-based access for operators, maintenance engineers, and administrators.
Routes and manages application API requests and can apply API security policies.
Stores machine information, sensor readings, machine status, anomaly records, and maintenance-related information.
Implements the anomaly-detection logic used to identify unusual machine and sensor readings.
Collects application and data-processing metrics such as processed events, errors, anomalies, and processing time.
Displays machine-processing metrics, anomaly counts, API performance, and system health through dashboards.
Creates and manages the required Cloud infrastructure through configuration code.
The proposed solution uses a serverless, event-driven architecture to process manufacturing machine and sensor data in real time. Machines generate sensor data, which is received through Cloud API Gateway. EventBridge triggers the processing workflow, while Step Functions coordinates validation, transformation, and anomaly detection. Cloud Lambda executes the processing functions, with Python used for anomaly-detection logic. Valid processed data and anomaly information are stored in PostgreSQL, while Prometheus and Grafana provide monitoring of the processing system and application performance. Keycloak provides authentication, while Kong Gateway manages application API traffic.