Method for detecting operating anomalies in a piece of industrial equipment based on anomaly scores and corresponding apparatus
Patent Information
- Application Number
- EP2024701710
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-01-27
- Filing Date
- 2024-01-26
- Publication Date
- 2025-12-03
AI Technical Summary
Current methods for detecting operating anomalies in industrial equipment either fail to detect early changes in behavior due to reliance on normal operating ranges or require extensive data histories, leading to complex model re-configurations and false alarms, making them unreliable and difficult to implement.
A method that uses an initial model adapted to calculate anomaly scores through automatic learning, allowing users to iteratively correct and refine these scores based on user input, incorporating physical knowledge and reducing the need for frequent re-parameterizations by using a penalty function to adjust the model dynamically.
This approach enhances the reliability and ease of implementation by allowing for flexible and cumulative corrections to anomaly scores, improving the detection of operational anomalies without the need for tedious re-configurations, while integrating user knowledge and reducing false alarms.
Smart Images

Figure EP2024051956_02082024_PF_FP
Abstract
Description
[0001] Method for detecting operating anomalies of industrial equipment from anomaly scores and corresponding installation
[0002] The present invention relates to a method for controlling industrial equipment to detect operating anomalies of the industrial equipment, comprising obtaining a model adapted to calculate anomaly scores from a plurality of operating parameters representative of operating states of the industrial equipment, the anomaly scores being respectively representative of probabilities that the operating states are abnormal, the initial model resulting from a machine learning process.
[0003] The invention also relates to a corresponding installation, comprising the industrial equipment, sensors adapted to provide the plurality of operating parameters, and a control system adapted to implement certain of the steps of such a method.
[0004] Industrial equipment is, for example, a production line, a fluid compression unit, or any equipment with an industrial purpose and whose health we wish to monitor, that is to say, to know if it is functioning normally or if its functioning is abnormal and requires, for example, a shutdown, maintenance, or any act of administration of the industrial equipment. Operating parameters are, for example, pressures, temperatures, vibration levels, etc.
[0005] In this area, two main approaches are known.
[0006] According to a first main approach, operating parameters are identified by experts and monitored to ensure that these parameters evolve within ranges considered normal. The advantage of this first strategy is that it is based on a physical knowledge of industrial equipment and, more generally, on physical laws and standards. For example, maximum acceptable vibration levels are defined for a rotating machine, according to a standard, depending on the machine's power.
[0007] However, a first disadvantage of this strategy is that the usual context of use of the rotating machine is not integrated, while the machine generally operates in a reduced range of the normal operating range. Thus, this strategy generally does not allow early detection of a change in behavior linked to a degradation of the industrial equipment, as long as the parameters remain in the normal range. Furthermore, monitoring the joint evolution of several operating parameters can also be considered, but its implementation sometimes proves complex, even prohibitive, particularly in the case of a large number of operating parameters to be monitored. This leads machine operators to monitor only a small number of operating parameters, and separately, which makes monitoring very partial.
[0008] According to a second main approach, the normal behavior(s) of the machine are learned from one or more operating parameters using learning algorithms. This creates a model providing, for each possible operation of the machine, an anomaly score representative of the probability that the operation is abnormal. The anomaly score is for example a probability between 0 and 1, the value "1" meaning that the operation is abnormal with maximum probability, the value "0" meaning that the operation is normal with maximum probability.
[0009] The advantage of this second approach is to know, after a learning phase on a data history, the normal operations defined by several operating parameters, whether by their individual values, but also in relation to each other. This allows for very early detection of behavioral anomalies.
[0010] However, a major drawback of this second approach is that obtaining a high-performance model, combining both good sensitivity and good specificity, requires a large data history, representative of all normal behaviors of the machine. In particular, since the relationships between sensors are monitored, the size of this history is closely linked to the number of monitored sensors. Thus, it is unthinkable to have this representative history and obtain an optimal model for calculating anomaly scores. In practice, industrial equipment monitoring is carried out while only an imperfect model is available.
[0011] To improve the model, one or more re-parameterizations of the model are carried out over time, in order to take into account the good and bad anomaly detections made. By re-parameterization, we mean a modification of the parameters defining the model.
[0012] However, these reconfigurations are complex and tedious, due to their frequency and the amount of information to be exchanged. As a result, they are not always well accepted by a user of the control system, typically a technician, who must qualify all the anomalies, and for whom the reconfigurations can cause a significant work overload.
[0013] Another disadvantage of this second approach is that it does not incorporate the physical or technical knowledge that one may have of industrial equipment, which can eventually lead to false alarms in trivial operating cases.
[0014] An aim of the invention is to remedy all or part of the above drawbacks, by providing a control method for detecting operating anomalies of industrial equipment, which is more reliable and / or easier to implement.
[0015] To this end, the subject of the invention is a method for controlling industrial equipment to detect operating anomalies of the industrial equipment, implementing a control system adapted to be used by at least one user, the method comprising the following steps: a) obtaining, in a memory of the control system, an initial model adapted to calculate anomaly scores from a plurality of operating parameters representative of operating states of the industrial equipment, the anomaly scores being respectively representative of probabilities that the operating states are abnormal, the initial model resulting from a machine learning process, b) obtaining a plurality of values of the operating parameters defining at least one operating point of the industrial equipment, c) calculating, using the initial model, the anomaly score associated with the operating point, d) displaying,on a screen of the control system, at least one image showing anomaly scores calculated by the initial model, as a function of at least two of the operating parameters forming two coordinates of the image, the image showing the anomaly score of the operating point, e) determining, by the user, at least one desired correction in the image displayed on the screen, the desired correction relating to at least one correction point, or at least one correction zone, and entering by the user the desired correction into the control system, f) from the initial model and the desired correction, obtaining a corrected model adapted to calculate, from the plurality of operating parameters, corrected anomaly scores, g) displaying, on the screen, a corrected image showing the corrected anomaly scores as a function of the two coordinates, steps b) to g) being optionally iterated over time,the corrected model of an iteration becoming the initial model of a following iteration, h) obtaining a plurality of values of the operating parameters defining an operating point of the industrial equipment, and i) calculating the anomaly score associated with said operating point using the corrected model obtained during the last of the iterations.,
[0016] According to particular embodiments, the method comprises one or more of the following characteristics, taken in isolation or in all technically possible combinations:
[0017] - step a) includes a machine learning sub-step to obtain the initial model;
[0018] - in step h), and optionally in step b), measurements are carried out by a plurality of sensors of the industrial equipment to obtain the values of the operating parameters;
[0019] - the method comprises a step j) of development by the user or a machine, from said anomaly score obtained in step i), of an administration decision for the industrial equipment intended to modify the operating state of the industrial equipment;
[0020] - in step e), the desired correction relates to an area of the displayed image; and in step f), the calculation of the corrected model comprises a summation of the initial model and a penalty function having as variables at least said coordinates of the image, the penalty function being adapted to carry out in the corrected image a correction of predefined shape, for example spherical, elliptical, rectangular, or by band;
[0021] - in step e), the desired correction relates to at least one correction point belonging to the displayed image; and in step f), the calculation of the corrected model comprises a summation of the initial model and a penalty function having as variables at least said coordinates of the image, the penalty function comprising a term associated with the correction point, the term being, in absolute value, maximum for said correction point and decreasing as a function of a distance from said correction point;
[0022] - said term is proportional to a Gaussian function having said distance as a variable;
[0023] - said term comprises a preselected parameter to define a propagation of the desired correction in the corrected image, the term being of the form where:
[0024] X is a current point having as coordinates the operating parameters, and where the penalty function is calculated, Y is the correction point, a is a coefficient,
[0025] K is a decreasing function, with K(0) = 1 , d(X,Y) is the distance between the correction point Y and the current point X, and
[0026] Y is the preselected parameter; and
[0027] - the method comprises a step f1) of determining the preselected parameter from a data set comprising a plurality of operating points having respectively as coordinates values of the operating parameters, the determination comprising the following sub-steps:
[0028] - for increasing values of a parameter of rank k, and for each of said operating points, calculation of a distance between said operating point and its k ième nearest neighbor in the plurality of operating points,
[0029] - for each of the values of the parameter of rank k, calculation of an average distance equal to an average of the distances obtained for the operating points,
[0030] - calculation of a first derivative of the average distance with respect to the parameter of rank k and, if the first derivative has at least one first peak, choice of a value of the parameter of rank k located just before the first peak, the preselected parameter then being defined as the average distance associated with said value of the parameter of rank k,
[0031] - if the first derivative does not have a first peak, calculation of a second derivative of the average distance with respect to the parameter of rank k and choice of a value of the parameter of rank k for which the second derivative becomes stable, the preselected parameter then being defined as the average distance associated with said value of the parameter of rank k.
[0032] The invention also relates to an installation comprising:
[0033] - industrial equipment,
[0034] - sensors adapted to provide a plurality of operating parameters representative of operating states of the industrial equipment, and
[0035] - a control system adapted to detect operating anomalies of the industrial equipment, the control system comprising at least one central unit, a memory, a screen and a keyboard, the memory comprising instructions which when read by the central unit cause the installation to carry out steps a) to d) and f) to i) of a method as described above, the screen being adapted to display the image showing anomaly scores or the corrected image. The invention will be better understood from the following description, given solely by way of example and with reference to the appended drawings, in which:
[0036] - figure 1 is a schematic view of an installation according to the invention,
[0037] - figure 2 is a schematic view illustrating the steps of a method according to the invention, some of which are implemented by the installation shown in figure 1,
[0038] - Figure 3 is a graph giving anomaly scores, in value levels, of historical operating points of industrial equipment of the installation represented in Figure 1, as a function of two of the operating parameters,
[0039] - Figure 4 is an image analogous to the graph shown in Figure 3, showing anomaly scores, in value levels, provided by the initial model of the process shown in Figure 2, the anomaly scores having been obtained by machine learning using historical operating points,
[0040] - Figure 5 is a graph similar to that shown in Figure 3, showing corrections desired by a user on correction points taken from the historical operating points shown in Figure 3,
[0041] - Figure 6 is a graph similar to that shown in Figure 4, showing a penalty function obtained from the desired corrections shown in Figure 5, the preselected parameter for defining the propagation of the correction being 0.25,
[0042] - Figure 7 is a graph similar to that shown in Figure 4, showing corrected anomaly scores provided by a corrected model of the process shown in Figure 2, the corrected anomaly scores being obtained from the anomaly scores shown in Figure 4 and the penalty function shown in Figure 6,
[0043] - Figure 8 is a graph similar to that shown in Figure 3, giving corrected anomaly scores for the historical operating points shown in Figure 3,
[0044] - Figure 9 is a graph similar to that shown in Figure 6, showing a correction desired by the user on elliptical and rectangular areas of the graph shown in Figure 4,
[0045] - Figure 10 is a graph similar to that shown in Figure 7, showing corrected anomaly scores provided by the corrected model, the corrected anomaly scores being obtained from the anomaly scores shown in Figure 4 and the correction shown in Figure 9,
[0046] - Figure 11 is a variant of the graph shown in Figure 9, showing a correction desired by the user on a strip of the image shown in Figure 4, - Figure 12 is a graph similar to that shown in Figure 6, showing a penalty function obtained from a combination of the penalty functions shown in Figures 6 and 9,
[0047] - Figure 13 is a variant of the graph shown in Figure 6, showing a penalty function obtained from the desired corrections shown in Figure 5, the preselected parameter for defining the propagation of the correction being 0.05 instead of 0.25,
[0048] - Figure 14 is a graph similar to that shown in Figure 7, showing corrected anomaly scores obtained from the anomaly scores shown in Figure 4 and the penalty function shown in Figure 13,
[0049] - Figure 15 is a variant of the graph shown in Figure 6, showing a penalty function obtained from the desired corrections shown in Figure 5, the preselected parameter for defining the propagation of the correction being 1.0 instead of 0.25,
[0050] - Figure 16 is a graph similar to that shown in Figure 7, showing corrected anomaly scores obtained from the anomaly scores shown in Figure 4 and the penalty function shown in Figure 15,
[0051] - Figure 17 is a variant of the graph shown in Figure 6, showing a penalty function obtained from the desired corrections shown in Figure 5, the preselected parameter for defining the propagation of the correction being 5.0 instead of 0.25,
[0052] - Figure 18 is a graph similar to that shown in Figure 7, showing corrected anomaly scores obtained from the anomaly scores shown in Figure 4 and the penalty function shown in Figure 17,
[0053] - Figure 19 is a three-part graph showing, as a function of the rank parameter k, at the top, the average distance obtained for the historical operating points represented in Figure 3, in the middle, the first derivative of the average distance with respect to the rank parameter k, and at the bottom, the second derivative of the average distance with respect to the rank parameter k,
[0054] - Figure 20 is a variant of the graph shown in Figure 3, showing historical operating points not forming several distinct groups, but only one, and
[0055] - Figure 21 is a graph similar to that shown in Figure 19, but obtained for the historical operating points shown in Figure 20, and not those shown in Figure 3. Installation
[0056] With reference to figure 1, an installation 10 according to the invention is described.
[0057] Installation 10 is, for example, located on a site producing energy, raw materials, goods, or intermediate products intended for industry.
[0058] The installation 10 comprises industrial equipment 12 and sensors 14 adapted to provide a plurality of operating parameters C1, C2 ... CN, representative, according to their possible values, of operating states of the industrial equipment. The installation 10 also comprises a control system 16 adapted to detect operating anomalies of the industrial equipment 12.
[0059] The industrial equipment 12 is for example a compressor, a turbine, a boiler, or any industrial equipment known per se.
[0060] There are N sensors 14, with N equal to one, two, three or more.
[0061] According to a particular embodiment, the or at least one of the sensors 14 can provide several operating parameters. For example, a multi-axis accelerometer provides accelerations along three axes, i.e. three operating parameters.
[0062] Operating parameters are, for example, temperatures, pressures, vibration levels, or other quantities typical of industrial equipment. Operating parameters are, for example, instantaneous values, or averaged over time. Operating parameters are advantageously standardized, i.e., for example, divided by a reference value.
[0063] For example, a pressure P is replaced by a pressure P*=P / P0, where:
[0064] P* is the normalized pressure,
[0065] P is the pressure in bar, varying for example between 1 and 2 bar,
[0066] PO is a reference pressure, for example 1.5 bar.
[0067] More generally, P* = aP+b, where a and b are parameters, which are advantageously calculated automatically.
[0068] The control system 16 is located close to the equipment 12, or alternatively remotely. The control system 16 is adapted to be used by at least one user 18 (hereinafter called “the user”, but it may be a team, or successive users). The control system 16 is advantageously adapted to act directly (arrow 19) on the industrial equipment 12, for example to stop it, start it, or modify an operating instruction. The control system 16 is advantageously adapted to receive and store historical operating data, or to receive values of the operating parameters C1, C2 ... CN.
[0069] The control system 16 comprises at least a central unit 20, a memory 22, a screen 24 and a keyboard 26.
[0070] The user 18 is typically a technician responsible for controlling the industrial equipment 12, for example on site, or alternatively remotely.
[0071] The memory 22 comprises instructions which, when read by the central unit 20, cause the installation 10 to carry out steps a) to d) and f) to i) of a method according to the invention which will be described below with reference to FIG. 2.
[0072] Step e) of this method is carried out by the user 18, who enters one or more desired corrections 28 into the control system 16.
[0073] The screen 24 is for example adapted to display images such as represented in FIGS. 3 to 18, showing anomaly scores obtained from the operating parameters C1, C2 ... CN, or showing desired corrections, as a function of two of the operating parameters, in the example the parameters C1 and C2. Advantageously, the user 18 can select the pair of parameters serving as coordinates for the images that he wishes to see displayed.
[0074] According to a variant not shown, the images are produced as a function of three of the operating parameters, but such three-dimensional images are more difficult for the user 18 to read and interpret.
[0075] Process
[0076] With reference to Figure 2, a method according to the invention will now be described, which is implemented in the example by the installation 10 and the user 18 (or users).
[0077] The method is suitable for controlling the industrial equipment 12, in particular by detecting anomalies in its operation in the form of anomaly scores displayed on the screen 24.
[0078] The method comprises a step a) of obtaining an initial model F suitable for calculating anomaly scores from the operating parameters C1, C2 ... CN, a step b) of obtaining a plurality of values 30 of the operating parameters defining at least one operating point M (figure 3) of the industrial equipment 12, and a step c) of calculating, using the initial model, the anomaly score F(M) associated with the operating point M (figure 3). The method comprises a step d) of displaying at least one image 32 (figure 4) showing anomaly scores calculated by the initial model F, as a function of at least two of the operating parameters, here the parameters C1 and C2, forming two coordinates of the image 32, the image 32 showing the anomaly score of the operating point M and possibly being accompanied by an alert message.
[0079] The method comprises a step e) of determining, by the user 18, at least the desired correction 28 (figures 5, 9, 11 and 12) to be made to the displayed image 32, the desired correction relating to at least one correction point (figure 5, showing several point corrections), or at least one correction zone (figures 9 and 11 showing correction zones). The correction can also combine point and zone corrections (figure 12).
[0080] The method comprises a step f) of obtaining, from the initial model F and the desired correction 28, a corrected model Fp adapted to calculate, from the plurality of operating parameters C1, C2 ... CN, corrected anomaly scores.
[0081] The method comprises a step g) of displaying a corrected image 36 (figures 7 and 10) showing the corrected anomaly scores, as a function of the two parameters C1 and C2.
[0082] Steps b) to g) are optionally iterated over time, the corrected model Fp of one iteration becoming the initial model F of a following iteration, so as to make successive corrections which accumulate.
[0083] The method comprises a step h) of obtaining a plurality of values 38 of the operating parameters 14 defining an operating point of the industrial equipment 12, for example the point M, and a step i) of calculating the anomaly score Fp(M) associated with said operating point using the corrected model, or that obtained during the last of the iterations. An alert message is possibly issued by the control system 16 as a function of the value of Fp(M).
[0084] Advantageously, the method comprises a step j) of development by the user 18 or a machine, for example the control system 16, from the anomaly score obtained in step h), of an administration decision 40 of the industrial equipment 12, intended to modify the operating state of the industrial equipment 12, for example to stop it or to change an operating instruction.
[0085] Step a) corresponds to an initial start-up of the process. Steps b) to g), possibly iterated, correspond to a period, more or less long, of taking into account one or more feedbacks from the user 18 on anomaly scores, in particular one-off, and / or of taking into account his knowledge of the industrial equipment 12, in particular by one or more feedbacks on areas of the displayed images. Steps h) to j) are rather exploitation steps once the model F has been made reliable by the feedback(s) from the user 18.
[0086] It is understood that steps b) to g) allow for the reliability of anomaly scores in a flexible manner, without requiring a tedious re-parameterization of the F model.
[0087] Step a) - Initial model
[0088] Anomaly scores are representative of probabilities that operating states (defined by operating parameters 01, C2 ... CN) are abnormal. For example, anomaly scores have a value in the interval [0,1], with the value 1 representing definitely abnormal operation, and the value 0 meaning definitely normal operation.
[0089] At each point X defined by the operating parameters, the initial model F obtained in step a) (or the corrected model obtained during the previous iteration) provides an anomaly score F(X).
[0090] In Figure 4, image 32 represents the anomaly scores F(X) as a function of the coordinates C1 and C2 of each point.
[0091] In the example, parameter C1 varies between -10 and +10, and parameter C2 varies between -6 and +8. In a manner known per se, these are advantageously standardized values, in particular so as not to favor one operating parameter over another in the distance calculations which will be explained below.
[0092] Anomaly scores are represented by contour lines (as for altitude on geographic maps). In the example, the levels 0.0, 0.2... 1.0 have been chosen in Figure 4.
[0093] In practice, of course, we will use a color gradient, which is easier to read.
[0094] The initial model F results from a machine learning process.
[0095] The initial model F has for example been obtained previously and is located in the memory 22 of the control system 16.
[0096] According to a particular embodiment, step a) comprises a sub-step k) of machine learning to obtain the initial model F. For example, historical data 42 represented in Figure 3 is used, comprising a set of operating points. Using machine learning known per se (one-class SVM, PCC, KNN methods, etc. can be cited), normality zones encompassing these points are determined. For each point X, a probability of anomaly is determined, generally as a function of the distance of point X from these zones. The learning process results in the initial model F, of which image 32 in Figure 4 provides a partial representation. This is a functional, probabilistic translation of the discrete historical data 42 represented in Figure 3.
[0097] Step b) and h) - Measurements
[0098] In step h), and optionally in step b), measurements are advantageously carried out by the sensors 14 of the industrial equipment 12 to obtain the values of the operating parameters C1 to CN.
[0099] Alternatively, the values of the operating parameters C1 to CN come for example from memory 22 and correspond for example to test cases, or to old measured values.
[0100] Steps c) and d) - Displaying anomaly scores
[0101] In step c), an anomaly score F(M) associated with the operating point M is calculated using the operating parameters C1 to CN. In Figure 4, F(M) has a value slightly greater than 0.4. For example, if the anomaly score F(M) is greater than a predefined threshold, an audible and / or visual alert is issued.
[0102] In step d), image 32 visible in Figure 4 is displayed. Image 32 shows the anomaly scores F(X) for any point X located in a plane, point X being defined by its coordinates C1 and C2 in this plane.
[0103] Steps e) and f) - specific corrections desired by the user
[0104] As understood, in step f), said obtaining of the corrected model Fp is carried out by a calculation. By calculation, we mean mathematical operations making it possible to obtain, advantageously “directly”, the corrected model Fp, as opposed to a new automatic learning to obtain the corrected model.
[0105] In step f), the calculation of the corrected model Fp comprises for example a summation, or any equivalent mathematical operation, of the initial model and a penalty function having as variables at least said coordinates of the image 24, the penalty function being adapted to display in the corrected image 36 a correction of predefined shape, for example point, spherical, elliptical, rectangular, or by band. By operation equivalent to X + Y, we mean for example X * (1 + Y'), with Y' =
[0106] Y / X.
[0107] According to a first embodiment, in step e), the correction 28 desired by the user 18 takes the form of one or more point corrections. These corrections relate for example to the operating point M, or to other correction points Y.
[0108] For example, Figure 3 shows, at the bottom left of the graph, a number of unlabeled points, to which are associated, for example, anomaly scores of 0.5, meaning that the initial model F cannot determine whether these operating points are normal or abnormal.
[0109] The user decides for example that these points correspond to abnormal operating modes, and labels these points as abnormal, as visible in Figure 5, showing a positive correction for these points, which will increase their anomaly scores.
[0110] In the example, in step f), the calculation of the corrected model Fp comprises a summation of the initial model F and a penalty function Pen having as variables at least the coordinates C1, C2 of the image, advantageously all the operating parameters C1 to CN.
[0111] For each point X, the corrected anomaly score is given by the formula:
[0112] Fp(X) = F(X) + Pen(X) WHERE:
[0113] F is the initial model,
[0114] Pen is the desired correction,
[0115] Fp is the corrected model.
[0116] If Fp(X) is greater than 1.0 or less than 0.0, a normalization is advantageously carried out, so that the corrected anomaly score Fp(X) remains in the interval [0,1],
[0117] If the user decides to make a single point correction at a point Y, then, for any point X, the penalty function Pen is advantageously, in absolute value, maximum for said correction point Y, and decreasing as a function of a distance d(X,Y) between the correction point Y and the point X. For example: a is a coefficient such that the penalty is advantageously worth a correction b desired by the user at point Y, the correction b being between -1 and +1 in the example, with a=b in the case of a single point correction.
[0118] K is a decreasing function, with for example K(0) = 1, d(X,Y) is for example the Euclidean distance between points X and Y,
[0119] Y is a preselected parameter whose meaning will be explained below.
[0120] Alternatively, other distances than the Euclidean distance could be used.
[0121] The correction is maximal in absolute value at point Y, and its absolute value |Pen(Y)| is |a|. The further away from point Y, the more the value |Pen(X)| decreases.
[0122] In Figure 5, the user has actually decided to make several point corrections at a plurality of points Yi. The corrections are positive for a point cloud located at the bottom left, and negative for another point cloud located on the right.
[0123] For any point X, the penalty function Pen is then given by the formula: i is an integer used to index the points Yi, ai is a coefficient advantageously calculated so that the penalty at point Yi is worth a correction bi for example between -1 and +1 requested by the user, that is to say that, for any point labeled Y:
[0124] Pen(Yi) = bt
[0125] Figure 6 shows the values of Pen(X) in the example, on a scale from -1.0 to +1.0.
[0126] The process allows any operating point to be labeled. For example, the user labels a point as abnormal by choosing a correction b of +0.5 or as normal by choosing a correction b of -0.5.
[0127] Advantageously, if the user is not sure of the correction he wants, he can choose corrections less than 0.5 in absolute value, so that the correction has only a relative effect on the corrected anomaly score. Conversely, if the correction point has a low initial anomaly score (therefore considered rather normal), while the user considers that this operating point is abnormal, the user can choose a correction greater than +0.5, or even a correction of +1.0. Normalization advantageously brings the Fp(X) value back into the interval [0,1] in all cases.
[0128] Figure 7 shows the values of Fp(X), i.e. the corrected image 36.
[0129] Advantageously, each term of the penalty function Pen associated with a correction point Y is proportional to a Gaussian function having the distance d(X,Y) as a variable. In this case, the function K takes, for example, the following form: x is a variable, exp is the exponential function,
[0130] In is the natural logarithm, ord is a parameter greater than 1.
[0131] This leads, for each term associated with a correction point Y, to a penalty worth:
[0132] Alternatively, other K functions are possible. The inventors observed that a Gaussian function is particularly advantageous.
[0133] As we have seen, in the case of a single correction point Y, Pen(Y) = a. Furthermore, if d(X,Y) = y, Pen(X) = a / 2 in the example. The preselected parameter y therefore represents, in the example, the distance for which the correction at point X is only half of what it is at correction point Y in the case of a single correction point Y.
[0134] Alternatively, other definitions of the preselected parameter y are possible by modifying the function K. For example, the preselected parameter y can represent the distance for which the correction at point X is only a given fraction of what it is at correction point Y.
[0135] The method therefore makes it possible, by preselecting the value of the parameter y, to control the "propagation" or "diffusion" of a point correction from the correction point Y to points X located in the vicinity of the correction point Y. The lower the value of the parameter y, the more the correction applied decreases rapidly as one moves away from the correction point Y.
[0136] In Figures 6 and 7, the value of the parameter y is, for example, 0.25. We will return to the effect of the parameter y and describe a method for choosing the value of this parameter.
[0137] Figure 8 shows the corrected anomaly scores Fp(Yi) of the points Yi shown in Figure 3.
[0138] Steps e) and f) - correction on an area desired by the user
[0139] According to a second embodiment (alternatively or in addition to the first embodiment), in step e), the correction 28 desired by the user 18 relates to a zone Z of the displayed image. This advantageously makes it possible to take into account knowledge of the operation of the industrial equipment 12, or the user's experience, in particular the thresholds not to be crossed by certain of the operating parameters, or the zones of good operation. For example, in FIG. 9, the user wishes to make a negative correction to a zone Z1 of elliptical shape (normal operation inside the ellipse) and a positive correction to a zone Z2 of rectangular shape (abnormal operation outside the rectangle).
[0140] In the example, in step f), the calculation of the corrected model Fp comprises a summation of the initial model F and a penalty function Pen having as variables at least said coordinates of the image, advantageously all the operating parameters C1 to CN. The penalty function Pen is adapted to carry out in the corrected image 36 a correction of elliptical shape Fp in the zone Z1 and rectangular in the zone Z2.
[0141] The corrected model is shown in Figure 10 (which is therefore the sum of the images shown in Figures 4 and 9).
[0142] Alternatively or additionally, the correction has a band shape in a zone Z3, as shown in Figure 11.
[0143] This type of zone correction can be obtained using functions, or a sum of functions known per se to those skilled in the art.
[0144] For example, an elliptic correction comes from the choice of the Euclidean distance in the Pen function defined previously.
[0145] For a rectangular correction, we choose for example the distance induced by the lp norm: d(X, Y) = sum(|X - Y| A p) A (1 / p), with the parameter p sufficiently high.
[0146] For a vertical band correction, the distance is for example calculated with only C1 as the operating parameter, unlike the previous cases.
[0147] For example, the correction can be "abrupt" (with a drop-off when leaving the ellipse, rectangle or band), or "gentle" (with a transition zone whose extension can be advantageously configured). This can be adjusted via the ord parameter: the higher it is, the more abrupt the correction.
[0148] Figure 12 shows a penalty function resulting from the combination of the penalty functions shown in Figure 6 (from point corrections) and Figure 9 (zone corrections). The method according to the invention makes it possible to introduce several corrections, for example of different natures.
[0149] Iteration of steps b) to g) As we have seen, in steps e) and f), the user can introduce one or more corrections, one-off or by zone.
[0150] Steps b) to g) are possibly iterated over time, so that the user can, at each iteration, reintroduce one or more corrections that accumulate with the previous ones. The new corrections may come from a new operating point or a new zone whose anomaly score the user wants to correct, or may come from a change of opinion of the user, taking into account his acquired experience, on a previously corrected operating point or zone. The corrected model Fp obtained at step f) of an iteration becomes the initial model F of the following iteration.
[0151] The process therefore advantageously allows several simultaneous or successive corrections to be made over time, and also allows previous corrections to be returned to and modified.
[0152] In step i), the last corrected model Fp is used.
[0153] Effect of parameter y - choice of this parameter
[0154] As seen above, the preselected parameter y represents, in the case of a point correction desired by the user, a distance for which the correction at point X is only a fraction, for example half, of what it is at correction point Y.
[0155] Figure 6 represents the penalty function Pen(X) obtained from the point corrections 28 shown in Figure 5, using y=0.25. Figure 7 shows the corrected model Fp(X), which is the sum of the initial model F(X) shown in Figure 4 and the penalty function Pen(X) shown in Figure 6.
[0156] Figures 13 and 14 show respectively the penalty function Pen(X) and corrected model Fp(X) obtained with y=0.05. It can be seen that the corrections do not diffuse in the corrected image (Figure 14) and have little effect. In particular, the corrections do not propagate to the operating points close to those that the user has chosen to label in Figure 5.
[0157] Figures 15 and 16 show respectively the penalty function Pen(X) and corrected model Fp(X) obtained with y=1,0. Figures 17 and 18 show respectively the penalty function Pen(X) and corrected model Fp(X) obtained with y=5,0. In these two cases, the corrections are spread too widely and affect not only the point cloud located in the vicinity of the points labeled by the user, but other point clouds. In the case y=5,0, the information is spread so much in the corrected image that the corrected model Fp(X) is no longer discriminating (no longer allows to distinguish abnormal points from normal points), especially in the left part of image 36 shown in Figure 18.
[0158] The parameter y is for example stored in memory 22 and has been advantageously chosen so that the corrections diffuse sufficiently, but not too much.
[0159] According to a particular embodiment, the method comprises a step f1) of determining the preselected parameter y.
[0160] Step f 1) of determining the preselected parameter y
[0161] We start, for example, from the plurality of operating points Yi represented in figure 3, having respectively as coordinates the values of the operating parameters.
[0162] For increasing values of a parameter of rank k, and for each of said operating points Yi, a distance D is calculated k (Y) between the operating point Y and its k ième nearest neighbor in the plurality of operating points. For each of the values of the parameter of rank k, an average distance D is calculated k equal to the arithmetic mean of the distances D k (Y) obtained for the operating points Y:
[0163] N is the number of operating points Yi, and k is an integer that can take values from 1 to N-1.
[0164] D k is represented as a function of k on the graph at the top of Figure 19.
[0165] Then we calculate a first derivative D k ' of D k as a function of k. For example: fc = D k+1 — D k .
[0166] D k ' is shown in the graph in the middle of Figure 19.
[0167] In Figure 19, we also represent a second derivative D k = D k+1 - D k ' on the graph below.
[0168] If the first derivative D k ' has at least one first peak, we choose a value kO of the parameter of rank k located just before this peak, and the preselected parameter y is then defined as the average distance D k0 associated with this value kO of the parameter of rank k. We have: y = Dk0 , kO being the parameter of rank k located just before the first peak of D k '. In the example, we see in figure 19, in the graph vertically in the middle, that the function Dk' presents several successive peaks P1, P2, P3... To be just before the first peak P1, we must choose for the rank parameter the value kO = 15. We obtain y = Di5 = 0.25.
[0169] It was observed that the parameter y thus obtained advantageously allows the point corrections to be diffused in the cloud of points located in the vicinity of the correction point, without going beyond.
[0170] In the example of figure 19, the second derivative Dk” is not used and is advantageously not calculated, because the first derivative Dk' has at least a first peak P1, due to the fact that the plurality of operating points Yi comprises several point clouds distinct from each other (figure 3).
[0171] If, instead of starting from the plurality of operating points Yi represented in Figure 3, we start from the plurality of points Yi represented in Figure 20, we obtain the graphs Dk, Dk' and Dk” represented in Figure 21.
[0172] We then see that the Dk' curve does not have a first peak that can be isolated. This is due to the fact that the Y points in Figure 20 form a single cloud and not several.
[0173] In this case, when the first derivative Dk' does not show a peak, we calculate the second derivative D k ” and we choose a value k1 of the parameter of rank k for which the second derivative Dk” becomes stable, and the preselected parameter y is then defined as the average distance D ki associated with this value k1 of the parameter of rank k. We have:
[0174] Y = Dki, k1 being the parameter of rank k for which the second derivative D k ” becomes stable.
[0175] In the example of figure 21, we see that the function Dk” stabilizes quite quickly after a value k1 = 6. We obtain y = DI6= 0.50.
[0176] It was observed that the parameter y thus obtained advantageously allows point corrections to be distributed to significant points in the vicinity of the correction point, without “contaminating” all the points Y.
[0177] Thanks to the characteristics described above, the method is more reliable, because the anomaly scores are progressively made more reliable by the point or zone corrections requested by the user. The method is also easy to implement, because it allows one or more simultaneous corrections of the anomaly scores to be made, and possibly successive corrections to be made which are cumulative, without carrying out a complete re-parameterization of the initial model. The control of the industrial equipment 12 is therefore improved. According to the particular embodiments described above, the method makes it possible to label as “normal” or “abnormal” an actual operating point, or simply a displayed point. The correction can be point-specific (with diffusion) or immediately concern a given zone of the displayed image. The correction is positive (towards “abnormality” in the example) or negative (towards “normality”) and its value (between -1 and
[0178] +1 in the example) can be modulated depending on the user's degree of certainty.
[0179] For area corrections, using an appropriate shape, such as elliptical, rectangular, or strip, the user can easily translate his experience or knowledge of the operation of the industrial equipment 12 into correction form. For a point correction (from a correction point), the value of the parameter y makes it possible to control the diffusion of the correction from the correction point to its neighbors. The parameter y can be preselected, or advantageously determined by a method based on the plurality of historical operating points available.
Claims
CLAIMS 1. Method for controlling industrial equipment (12) to detect operating anomalies of the industrial equipment (12), implementing a control system (16) adapted to be used by at least one user (18), the method comprising the following steps: a) obtaining, in a memory (22) of the control system (16), an initial model (F) adapted to calculate anomaly scores from a plurality of operating parameters (C1, ...CN) representative of operating states (X) of the industrial equipment (12), the anomaly scores being respectively representative of probabilities that the operating states (X) are abnormal, the initial model (F) resulting from a machine learning process, b) obtaining a plurality of values (30) of the operating parameters (C1, ...CN) defining at least one operating point (M) of the industrial equipment (12), c) calculating, using the initial model (F), the anomaly score associated with the operating point (M), d) displaying, on a screen (24) of the control system (16), at least one image (32) showing anomaly scores calculated by the initial model, as a function of at least two (C1, C2) of the operating parameters (C1 ...CN) forming two coordinates of the image (32), the image (32) showing the anomaly score of the operating point (M), e) determining, by the user (18), at least one desired correction (28) in the image (32) displayed on the screen (24), the desired correction (28) relating to at least one correction point (Y), or at least one correction zone (Z), and entering by the user (18) the desired correction (28) into the control system (16), f) from the initial model (F) and the desired correction (28), obtaining a corrected model (Fp) adapted to calculate, from the plurality of operating parameters (C1...CN), corrected anomaly scores, g) displaying, on the screen (24), a corrected image (36) showing the corrected anomaly scores as a function of the two coordinates, steps b) to g) being optionally iterated over time, the corrected model (Fp) of one iteration becoming the initial model (F) of a following iteration, h) obtaining a plurality of values (38) of the operating parameters (C1... CN) defining an operating point (M) of the industrial equipment (12), and i) calculating the anomaly score (Fp(M)) associated with said operating point (M) using the corrected model (Fp) obtained during the last of the iterations.
2. Method according to claim 1, in which step a) comprises a machine learning sub-step to obtain the initial model (F).
3. Method according to claim 1 or 2, wherein, in step h), and optionally in step b), measurements are carried out by a plurality of sensors (14) of the industrial equipment (12) to obtain the values (30, 38) of the operating parameters (C1 ... CN).
4. Method according to any one of claims 1 to 3, further comprising a step j) of development by the user (18) or a machine, from said anomaly score (Fp(M)) obtained in step i), of an administration decision (40) of the industrial equipment (12) intended to modify the operating state of the industrial equipment (12).
5. Method according to any one of claims 1 to 4, in which: - in step e), the desired correction (28) relates to an area (21, 22) of the displayed image (32), and - in step f), the calculation of the corrected model (Fp) comprises a summation of the initial model (F) and a penalty function (Pen) having as variables at least said coordinates of the image (32), the penalty function (Pen) being adapted to carry out in the corrected image (36) a correction of predefined shape, for example spherical, elliptical, rectangular, or by band.
6. Method according to any one of claims 1 to 4, in which: - in step e), the desired correction (28) relates to at least one correction point (Y) belonging to the displayed image (32), and - in step f), the calculation of the corrected model (Fp) comprises a summation of the initial model (F) and a penalty function (Pen) having as variables at least said coordinates of the image (32), the penalty function (Pen) comprising a term associated with the correction point (Y), the term being, in absolute value, maximum for said correction point (Y) and decreasing as a function of a distance (d(X,Y)) from said correction point (Y).
7. Method according to claim 6, wherein said term is proportional to a Gaussian function having said distance (d(X,Y)) as a variable.
8. A method according to claim 6 or 7, wherein said term comprises a preselected parameter (y) for defining a propagation of the desired correction (28) in the corrected image (36), the term being of the form a. K where: X is a current point having as coordinates the operating parameters (C1 ... CN), and where the penalty function is calculated, Y is the correction point, a is a coefficient, K is a decreasing function, with K(0) = 1 , d(X,Y) is the distance between the correction point Y and the current point X, and Y is the preselected parameter.
9. Method according to claim 8, comprising a step f1) of determining the preselected parameter (y) from a data set (40) comprising a plurality of operating points (Yi) having respectively as coordinates values of the operating parameters (C1...CN), the determination comprising the following sub-steps: - for increasing values of a parameter of rank k, and for each of said operating points (Yi), calculation of a distance (Dk(Y)) between said operating point (M) and its k ièmenearest neighbor in the plurality of operating points (Yi), - for each of the values of the parameter of rank k, calculation of an average distance (D k ) equal to an average of the distances (D k (Yi)) obtained for the operating points (Yi), - calculation of a first derivative (Dk') of the average distance with respect to the parameter of rank k and, if the first derivative (Dk') has at least one first peak (P1), choice of a value (kO) of the parameter of rank k located just before the first peak (P1), the preselected parameter (y) then being defined as the average distance (Dk) associated with said value (kO) of the parameter of rank k, - if the first derivative (Dk') does not have a first peak (P1), calculation of a second derivative (D k ”) of the average distance (D k) with respect to the parameter of rank k and choice of a value (k1) of the parameter of rank k for which the second derivative (Dk”) becomes stable, the preselected parameter (y) then being defined as the average distance (D k ) associated with said value (k1) of the parameter of rank k.
10. Installation (10) comprising: - industrial equipment (12), - sensors (14) adapted to provide a plurality of operating parameters (C1...CN) representative of operating states (X) of the industrial equipment (12), and - a control system (16) adapted to detect operating anomalies of the industrial equipment (12), the control system (16) comprising at least one central unit (20), a memory (22), a screen (24) and a keyboard (26), the memory (22) comprising instructions which when read by the central unit (20) lead the installation (10) to carry out steps a) to d) and f) to i) of a method according to any one of claims 1 to 9, the screen (24) being adapted to display the image (32) showing anomaly scores or the corrected image (36).