Patent · US2023385691A1 · A1 · US
Method and system for detecting sensor anomalies
- (11) Publication number
- US2023385691A1
- (21) Application number
- 18/198,935
- (22) Filing date
- 2023-05-18
- (30) Priority date
- 2022-05-31
- (43) Publication date
- 2023-11-30
- (51) IPC
- G06N 20/00
- (52) CPC
- G06N Computing arrangements based on specific computational models: 20/00
- G05B Control or regulating systems in general; functional elements of such systems; monitoring or testing arrangements for such systems or elements: 2219/25428, 23/024
- G06F Electric digital data processing: 16/9024, 16/9027, 18/2433
- (73) Assignee
- Siemens AG
- (72) Inventors
- Mitchell Joblin; Dianna YEE
- (54) Title
- Method and system for detecting sensor anomalies
- (57) Abstract
For detecting sensor anomalies, a machine learning model models a material flow in an industrial system, as a hierarchical time series, wherein the hierarchical time series represents a structure of the material flow using a directed acyclic graph with a set of nodes and a set of edges, wherein each node is associated to a time series, and wherein the edges represent parent-child relations where each value of a time series at a parent node equals the sum of the respective values of its child nodes. The machine learning model forecasts predicted time series values for all nodes. Current sensor measurements received from sensors placed in the industrial system are compared to the predictions of the machine learning model. An anomaly is detected if the difference exceeds a threshold.
- Full text
- View on Google Patents
Claims (1)
- A computer implemented method for detecting sensor anomalies, comprising the following operations, wherein the operations are performed by components, and wherein the components are software components executed by one or more processors and/or hardware components: forecasting, by a machine learning model, wherein the machine learning model models a material flow in an industrial system, as a hierarchical time series, wherein the hierarchical time series represents a structure of the material flow using a directed acyclic graph with a set of nodes and a set of edges, wherein each node is associated to a time series, and wherein the edges represent parent-child relations where each value of a time series at a parent node equals the sum of the respective values of its child nodes, predicted time series values for all nodes, receiving current sensor measurements from sensors placed in the industrial system, extracting observed time series values for at least some or all of the nodes from the current sensor measurements, computing a difference between the predicted time series values and the observed time series values, and detecting an anomaly if the difference exceeds a threshold. 2. The method according to claim 1, wherein the extracting operation is performed by a material flow tracking system that is processing the sensor measurements. 3. The method according to claim 1, wherein the machine learning processes previous sensor measurements when executing the forecasting operation. 4. The method according to claim 1, with the additional operation of automatically halting at least a part of the industrial system after detecting the anomaly. 5. The method according to claim 1, with the additional operation of outputting, by a user interface, an alert to an operator after detecting the anomaly. 6. The method according to claim 1, wherein the machine learning model has been initially trained by a Gradient-based Reconciling Propagation algorithm in order to learn trainable parameters of a projection matrix, wherein the projection matrix is used to project base forecasts to coherent forecasts in a hierarchically-coherent solution space, and wherein the coherent forecasts contain the predicted time series values. 7. The method according to claim 6, wherein the Gradient-based Reconciling Propagation algorithm ensures that information propagation between forecasts is restricted to nodes who are connected through an ancestral and descendant relation, by masking entities of the projection matrix by a second matrix, thereby constraining the effects of the projection matrix. 8. A system for detecting sensor anomalies, comprising: a machine learning model, wherein the machine learning model models a material flow in an industrial system, as a hierarchical time series, wherein the hierarchical time series represents a structure of the material flow using a directed acyclic graph with a set of nodes and a set of edges, wherein each node is associated to a time series, and wherein the edges represent parent-child relations where each value of a time series at a parent node equals the sum of the respective values of its child nodes, and wherein the machine learning model is trained for forecasting predicted time series values for all nodes, an interface, configured for receiving current sensor measurements from sensors placed in the industrial system, and one or more processors, configured for extracting observed time series values for at least some or all of the nodes from the current sensor measurements, computing a difference between the predicted time series values and the observed time series values, and detecting an anomaly if the difference exceeds a threshold. 9. A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code executable by a processor of a computer system to implement a method with program instructions for carrying out a method according to claim 1. 10. A provision device for the computer program product according to claim 9, wherein the provision device stores and/or provides the computer program product.
Description
The following relates to a method and system for detecting sensor anomalies.
To reliably operate complex systems such as automated factories, plants, or electrical grids, operators rely heavily on sensor readings to understand whether the system is operating correctly. The appearance of incorrect operation can result from failures in the system or failures in the sensor to report accurate values. Developing a machine learning algorithm to automatically detect undesirable operating behavior is often difficult because it is rare to obtain labelled data for this task. For this reason, algorithms for detecting undesirable operating behavior typically formulate the problem as anomaly detection. While this approach is convenient since it requires no labelled data, users typically find that the resulting algorithms frequently indicate anomalies are present even when the system is in fact behaving normally (i.e., high false positive rate).
In the state of the conventional art, historical data from sensors are used to establish a “normal” model of system behavior. Often simple parametric models like Gaussian distributions are used. Based on historical data a mean and variance is learned. Any sensor observation deviating significantly (more than 3 standard deviations) is flagged as an anomaly.
An aspect relates to a method and system for detecting sensor anomalies that provide an alternative to the state of the conventional art.