Alarm management: fix the alarm system before adding AI
Alarm floods are solved with an alarm philosophy first, not a model. AI works better on an orderly alarm list.
Before reading a PLC tag for AI, know where in the scan cycle the value was produced and which timestamp describes it.
A conventional PLC reads inputs, executes program logic, writes outputs and repeats. A tag inside the program can hold the same value until the next scan. When a monitoring system reads those values, the physical event time and the recorded time can differ.
To capture a fast change, the read interval must be clearly shorter than that change. If it is too long, a fast vibration or pressure pulse disappears or shows up as a misleading slow oscillation. This is aliasing. Establish the process speed limit first, then choose the monitoring rate.
Where possible, generate the timestamp in the PLC or at the collector nearest the source. The arrival time of a packet is not the time of the event. Store source time, receive time and latency as separate fields. Without clock synchronization, do not interpret two machines’ records as an ordered sequence of events.
When engineering features, record the window length, the sampling interval and the behaviour on missing reads. Training on 100 ms data and running on 1 s data turns the same model into a different problem. These steps are a suggested workflow; the real scan time of a specific PLC family must be verified in its product documentation.
A conventional PLC reads inputs, runs its program, writes outputs and repeats. A tag can hold its value until the next scan, so the recorded time may differ from the physical event time. Choose the monitoring rate from the process speed limit, and store source time, receive time and latency as separate fields.
Record the window length, the sampling interval and the behavior on missing reads. Training on 100 ms data and running on 1 s data turns the same model into a different problem. Without clock synchronization, do not read two machines’ records as an ordered sequence of events.
Pilot steps in this guide are proposed engineering workflows. Examples do not constitute measured field performance.