The invention relates to the use of curves in a process control system. More particularly, the invention relates to a user terminal and process control system comprising such a user terminal as well as to a method, computer program and computer program product for using a curve in a process control system.
Operators and Engineers at process plants of process control systems rely heavily on curves in trend charts in their day to day work. The trends are often complex containing multiple parameters.
A key challenge arises when it comes to searching through trends. Users have stated the need to compare trends and search historical trends to assist in diagnosis, problem solving and optimizations. In their work, one of the main questions operators and engineers ask about a specific anomaly on a trend is “Has this happened before?
US 2019/0171775 discloses techniques for allowing a computer to search for graph shapes similar to a user-selected graph shape. A section of a chart can thereby be selected for comparing with other charts.
Curve based searching is also described in US 2020/004741.
However, a curve that is presently at hand may not be a good candidate for being used. The curve may not have the shape that a user is looking for. It may for instance have too high or too low minimum and/or maximum values and/or too steep or too gentle slopes. It may additionally be cumbersome for a user to locate the desired curve shape in the process control system.
Curves may also be of interest in other areas, such as when performing simulations.
There is thus a need for an improvement with regard to the use of curves in a process control system.
One object of the invention is therefore to simplify the use of curves in a process control system.
This object is according to a first aspect achieved by a user terminal for a process control system, the user terminal comprising a processor configured to:
The object is according to a second aspect achieved through a process control system comprising a user terminal according to the first aspect.
The object is according to a third aspect achieved through a method for using a curve in a process control system, where the method is performed in a user terminal and comprises:
The object is according to a fourth aspect further achieved through a computer program for using a curve in a process control system, the computer program comprising computer program code which when run in a processor, causes a user terminal to:
The object is according to a fifth aspect further achieved through a computer program product for using a curve in a process control system, the computer program product comprising a data carrier with the computer program with computer program code according to the fourth aspect.
The invention according to the above-mentioned aspects has a number of advantages. Since a user may create his or her own shape, the location of a desired shape can be made faster than if the user would have to locate the shape in a database or in a curve. Moreover, since the desired shape can be formed from an existing shape, the effort required by the user to reach the desired shape can also be kept low.
A detected physical quantity of a piece of process control equipment in the process control system may be a physical quantity detected at the piece of process control equipment. A curve may in turn be a trend chart, such as a time-based trend chart of a physical quantity in the process control system. However, a curve is not limited to such trends but may be any type of graphical visualization of process related values in the process control system.
A manipulable point of a curve may be a physical quantity value at a certain point in time or at a certain time instance that the user is allowed to change. It is possible that a physical quantity value of the manipulable point is manipulable. It is also or instead possible that the time instance of the manipulable point is manipulable.
In one variation of the first aspect the processor is further configured to receive a new point in the section of the curve from the user and/or a user deletion of a manipulable point from the section of the curve.
In a corresponding variation of the second aspect, the method further comprises receiving a new point in the section of the curve from the user and/or a user deletion of a manipulable point from the section of the curve.
The manipulable points may define end points of curve segments and the received change of at least one manipulable point may lead to a change of at least one curve segment. The moving of a point may for instance lead to the curve segments it is used to define being changed, which may be a change of a slope of the curve segment in question. A deletion of a point may on the other hand lead to a removal of curve segments that the point is used to define or the replacement of these curve segments with a new curve segment.
In another variation of the first aspect, the processor is further configured to receive a selection from the user of the section of the first curve for enabling changing of the section of the first curve.
In a corresponding variation of the second aspect, the method further comprises receiving a selection from the user of the section of the first curve for enabling changing of the section of the first curve.
In a further variation of the first aspect, the processor is configured to receive the selection of the section of the first curve in a selection of two sections, each being a section of a corresponding curve, and when applying the section of the first curve is configured to apply the two curve sections of the two curves in the process control system.
In a corresponding variation of the second aspect, the selection of the section of the first curve is received in a selection of two sections, each being a section of a corresponding curve, and the applying comprises applying the two curve sections of the two curves in the process control system.
The application may comprise searching for the curve section in a database comprising values of the physical quantity. The search may comprise a search in a database with historic curves of physical quantities of the process control system. Alternatively or additionally, the search may comprise a search in a database of searches made by other users. The results may be provided according to different groups. A first group may then comprise a number of ranked results according to similarity to the historic curves, while a second group may comprise similarities to curve sections in searches made by other users.
The searching may comprise searching for the curve section in data of the same or a similar quantity of the same piece of equipment in the process control system. Alternatively, the searching may comprise searching for the changed curve section in data of the same or a similar quantity for another piece of equipment in the process control system, which other piece of equipment may be located upstream or downstream from the piece of equipment from which the changed curve section was obtained. It is additionally possible that the searching is based on identifying a similar shape to the shape of the changed curve section based on a distance function, such as using a z-normalization based Euclidean distance.
In a further variation of the first aspect, the processor may be configured to receive a selection of a weight of a curve segment of the curve section, and the searching for the curve section may involve a searching with the selected weight being applied for the curve segment.
In a corresponding variation of the third aspect, the method may further comprise receiving a selection of a weight of a curve segment of the curve section and the searching for the curve section may involve a searching with the selected weight being applied for said curve segment.
The processor may additionally perform a correlation of the user entered curve section to curve sections of other physical quantities and/or other pieces of equipment in the process control system, i.e. for physical quantities and/or pieces of equipment that are different from the same or similar quantities of the same or other pieces of equipment. The processor may then identify one or more curve sections of one or more of the other physical quantities and/or other pieces of equipment and suggest to the user to search among these other physical quantities and/or other pieces of equipment.
The method may then comprise performing a correlation of the user entered curve section to curve sections of other physical quantities and/or other pieces of equipment in the process control system, identifying one or more curve sections of one or more of the other physical quantities and/or other pieces of equipment and suggest to the user to search among these other physical quantities and/or other pieces of equipment.
According to another variation the application comprises applying the curve section as a curve section of the physical quantity in a simulation of the process. The changed curve section may for instance be used in the training of a model used in the process control system, such as in an event (anomaly) classifier.
The processor of the user terminal may be configured to implement a curve operations function comprising:
It should be emphasized that the term “comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps or components, but does not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof.
The invention will now be described in more detail in relation to the enclosed drawings, in which:
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular architectures, interfaces, techniques, etc. in order to provide a thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known devices, circuits and methods are omitted so as not to obscure the description of the invention with unnecessary detail.
The invention is generally directed towards a process control system and more particularly towards the use of curves for various operations in the process control system. A curve may be a time-based trend. However, it is not limited to such trends but may be any type of graphical visualization of process related values.
In
In the figure there is only provided one controller 20. It should however be realized that there may be several more controllers in the system 10. The controller 20 is then connected to one or more pieces of process control equipment. As an example, the controller 20 is shown as being connected to process control equipment in a process section PS 19 for controlling a part of the industrial process, which process section 19 includes a first inlet pipe leading to a tank 25 and a second outlet pipe leaving the tank 25. In the first pipe there is provided a pump 22 that pumps fluid into the first pipe as well as a first valve 24. In the tank 25 there are provided two level sensors 26 and 28 and in the outlet pipe there is provided a flow meter 30 and a second valve 32. There is also a temperature sensor 29 in the tank 25. The pipes, tank, valves and sensors are examples of process control equipment. The level sensors 26 and 28 measure the physical quantity liquid volume, the temperature sensor measures the physical quantity liquid temperature and the flow meter 30 measures the physical quantity volumetric flow rate of the liquid. The controller 20 may receive control input values from the pump 22, level sensors 26 and 28 and temperature sensor 29 and regulate the liquid level in the tank 25 based on these control input values through controlling the first valve 24. It also receives control input values from the flow meter 30 and temperature sensor 29 and controls the second valve 32 for regulating the output fluid flow. The above-described control is merely an example of one type of control in a process control example. It should be realized that several different other types of control are possible and that several other types of physical quantities can be measured. It is for instance possible to also measure pressure. The above-described process control equipment are therefore also merely examples of process control equipment that can be used.
In process control systems the users are often interested in looking at curves of detected or measured physical quantities associated with the process control equipment, i.e. of physical quantities that have been detected at the process control equipment, where the curves may be curves of currently detected quantities or historic curves. For a user a section of a curve can be of interest for a variety of reasons. It may be of interest to find the same or similar shapes in other places, such as in other sections of the same curve or in curves of the same or related quantity in the same or other process control equipment.
Moreover, such curves are often complex containing multiple parameters.
A key challenge arises when it comes to searching through curves. Users have stated the need to compare trends and search historical trends to assist in diagnosis, problem solving and optimizations. In their work, one of the main questions users ask about a specific anomaly on a trend is “Has this happened before?”. While some tools offer some features to answer the question, the interaction is normally limited and in some cases involves multiple steps making it time consuming.
The use of curve sections may thus be of interest when performing searches. However, they can also be of interest in other applications, such as in simulation.
If for instance looking at the process control equipment of the tank 25 in
It may therefore be of interest to use a curve shape as input for a number of operations, such as searching in the database 18 or performing simulations. A curve of a measured or detected physical quantity such as volume, pressure and/or temperature can then be used. It may for instance be of interest to see if a curve shape being displayed can be found in other places, such as in other parts of the curve displaying the physical quantity of the process control equipment or in similar curves of other process control equipment in the same or a different plant.
However, a curve that is presently at hand may not have the characteristics that the user needs. It may for instance have a too high or too low minimum and/or maximum value and or too high or too low a slope. It may additionally be difficult, time-consuming and cumbersome for the user to locate such a desired curve shape in the process control system. The locating of the desired curve shape that is to be used as input may involve extensive searching in databases for the same or other pieces of equipment.
Aspects of the present disclosure are directed towards improving on this situation.
These will now be described with reference being made to
The curve operations function may be activated using an appropriate icon. The mode of activation may be a click (mouse based), tap (touch based) or similar depending on the user terminal.
After activation, the curve section selection module 44 of the curve obtaining function 46 may obtain a curve of a detected physical quantity Q of a piece of process control equipment in the process control system 10, S100, where the curve comprises points with values of the physical quantity at various points in time, i.e. at various time instances. The obtaining can be achieved in a number of ways.
A curve may be a historic curve of a detected physical quantity from the database 18 that is being displayed on the display 37. As an alternative a curve may be the curve of a currently detected physical quantity, the quantity may thus be the “live” or on-line quantity being displayed on the display 37. If the quantity is a historic quantity, the user may move along a time axis of the curve in order to show the curve at different historic points in time. In the case of a “live” or “on-line” current quantity, the user may select to freeze the display so that parts of the curve at around a freeze point in time can be used as input to the operation.
The user may then select a part of a curve or a curve section, for instance through snipping a part of a curve currently being displayed, which part being currently displayed may thus be a selected historic time interval or an interval around the freeze point in time. It is also possible to highlight a curve that the user would like to use.
The selection may be carried out based on snipping. The user can snip any curve that contains a parameter or physical quantity of interest. When activated the curve section selection module 46 may provide a marker in the form of an arrow. The user can click and drag the marker to form a polygon such as a square around a desired operation input area A. The polygon can be resized as necessary. The operation input area A may be visually distinct from the rest of the screen to help the user notice his or her selected area. In the example of
When the snip option is chosen, the curve section selection module 44 may highlight parts of the view that can serve as an input. This depends on the fidelity of the system. In the most basic implementation, curves that can serve as input to the operation will be visually highlighted.
While the key aspect is to select curve sections, the snip option can also be used to select other elements including but not limited to process values, equipment or tables. All forms of visual highlighting is possible, including but not restricted to colour, shape, shadow or transparency.
This resolves any possible ambiguity the user may have about which parts of the interface he or she could use as an input to a desired operation.
The curve section selection module 46 may thus receive a selection from the user of a section of a curve for performing said operation, S110. As was mentioned earlier, the user can select one of the curve sections, for instance through snipping the section that he or she would like to use in the desired operation. It is also possible to place the arrow on a curve section in order to select it. In the present example the user selects the section of the first curve C1 that is enclosed in the area A, which selection is received by the curve section selection module 46.
Since trends in process control industries may be densely populated, there may be a need for selection refinement. In cases where several parameters are plotted on the same graph, it might be challenging for the user to snip the exact region. Selection refinement aims to resolve this challenge.
Selection refinement offers modifications to and around the snipped area A. The curve section selection module 46 interprets the snip and offers the way to modify the curve section that is to be used using text, sliders, check boxes or similar means. The refinement can also be done by resizing the snip boundaries. Thereby the user can fine tune the input by selecting or removing one or more curve and determining time ranges.
Here it should be realized that it is also possible to also add other aids for the selection such as maximum and minimum value levels LH and LL within which the physical quantities of the curves are allowed to vary.
In this way a user may thus select a curve section of a curve depicting the time dependency of a physical quantity of a piece of process control equipment for use as an input to an operation in the process control system, where as an example a section of the first curve C1 of the temperature in the tank 25 is selected.
However, as was mentioned earlier, the selected curve section may not resemble a desired curve section as much as the user desires. The user may thus want to change the curve section before it is being put to use in the operation in the process control system 10.
It might happen that the shape of the curve that the user wants to use, is not in the view available to the user. Instead of navigating to a point in time where such a curve shape exists, the user is allowed to edit the base curve to a hypothetical shape and use it in the desired operation.
For this reason, the curve section editing module 48 makes or provides at least one point and possibly all points in the section of the first curve C1 as manipulable points, S120, so that the user can change or edit the base curve to a hypothetical shape and use it in the operation. A manipulable point of a curve may thus be a physical quantity value at a certain point in time or at a certain time instance that the user is allowed to change. In
The user can thus use system-generated points on the curve C1 as handles to edit its shape. The modification may be visually distinct for letting the user know that the shape is a hypothetical input and not a real trend based on control system data. The curve section editing module 48 may need to be activated by the user in order to be able to perform curve editing. However, curve editing may also be made available by default.
The curve section editing module 48 thus awaits input from the user, which input may comprise manipulating one or more of the manipulable points P1, P2, P3 and P4 of the curve. The physical quantity value of the manipulable point may be manipulable. The user may thus increase or decrease a value of the physical quantity Q. Also, the time value of the manipulable point may be manipulable. The user may thus also or instead adjust the time of the value forwards or backwards in time.
It is additionally possible that the user may add a point to or delete a point from the curve section. The curve section editing module may thus receive a new point from the user in the section of the first curve and/or a user deletion of a manipulable point from the curve section. A manipulable point may thus be deleted and/or a point may be added to the curve section.
The change of at least one manipulable point may lead to a change of at least one curve segment. The moving of a point may then lead to the curve segments it is used to define being changed, which may be a change of the slope of the curve segment. A deletion of a point may for instance lead to a removal of curve segments that the point is used to define or the replacement of these curve segments with a new curve segment.
The curve section editing module 48 thus receives the user changes of the curve section, S130. The curve section editing module 48 thereby receives a change of at least one of the manipulable points P1, P2 or P3 from the user. Thereby the section of the first curve is changed. The user changes thus lead to the creation of a changed curve section C1′.
The user may select to apply the curve section as input in an operation in the process control system, for instance through pressing a dedicated button such as a button “Apply”. This may trigger the curve section application module 50 to apply the changed curve section C1′ as an input to the operation in the process control system, S140.
It is for instance possible that the user changes the fourth point in both the amount of the quantity as well as its point in time. This could also mean that the third curve segment C1′C is changed into a first new third curve segment C1′C′ with a new fourth point P4′ as shown in
It is as another example possible that the user deletes the second point P2, which may lead to the first and second curve segments C1′A and C1′B being replaced with a single new curve segment C1′AB′ as shown in
In
One way of applying the changed curve section C1′ is to search for the curve section in a database of the process control system comprising values of the detected physical quantity Q. The applying may thus comprise using the curve section for searching in the database 18 using a search engine of the curve section application module 50.
The user can use the changed section of the curve as a search query. The search may then be a search for a sequence of values of the physical quantity separated by time steps corresponding to the time steps used in the area. It is then possible to search for the curve section of the physical quantity of the process control equipment from which the curve was obtained. The searching may thereby be made for the curve section in data of the same or a similar quantity of the same piece of equipment in the process control system from which the first curve was obtained. Alternatively, the search may be made for the same or a related physical quantity of another process control equipment in the process control system, such as equipment of the same or a similar type. The search may thus be made for the changed curve section in data of the same or a similar quantity for another piece of equipment in the process control system. The search may also be a search in equipment upstream or downstream of the equipment from which the curve was taken.
The search may for instance involve identifying similar events from the historical data based on a distance function (e.g., z-normalization based Euclidean distance). A distance based profile may then be created for each set of the investigated historical data.
It is thereafter possible to display the results to the user, for instance in an order of relevance. If a distance function is used, the found curves may for instance be ranked according to their distance from the changed curve section C1′.
It is thus possible to use the curve section as an input to the search. Since the user may create his or her own shape, the location of a desired shape can be made faster than if the user would have to locate the shape in the database. Moreover, since the desired shape can be formed from an existing shape, the effort required by the user to reach the desired shape can be kept low.
It is additionally possible that different variations of the curve section are used in respect of the different physical quantities and/or pieces of equipment.
It is in this case also possible that a part of the curve section is given higher weight in the search. The curve section editing module 48 may thereby receive a selection of a weight of a curve segment of the curve section and the searching for the curve section may then also involve a searching where the selected weight is applied for the curve segment. As an example, the second curve segment C1′B is given such a higher weight in the search, which is indicated through the segment being thicker than the other segments.
One or both such curve sections may additionally be saved as a scenario and later used in simulations, for instance for training of a model of the process control system, say as in an event (anomaly) classifier. It is also possible that annotations are being added to such a scenario.
It is additionally possible that the search engine of the curve section application module 50 performs searches in different groups of curves or curve sections. The search may comprise a search in a database with historic curves of physical quantities of the process control system. Alternatively or additionally the search may comprise a search in a database of searches made by other users. A first group of curves being searched may be a group of historic curves in a database with historic curves, while a second group of curve sections being searched may be a group in a database of searches made by other users. The results may then be provided according to the different groups. A first group may then comprise a number of ranked results according to a data science context, i.e. in the context of the similarity to the existing curves, while a second group may comprise similarities to searches made by other users.
It is additionally possible that the user is presented with a suggestion of other physical properties and/or pieces of equipment to search.
The search engine of the curve section application module 50 may for instance perform a correlation of the user entered curve section to curve sections of other physical quantities and/or other pieces of equipment in the process control system and identify one or more curve sections of one or more other physical quantities and/or other pieces of equipment and suggest to the user to search among these other physical quantities and/or other pieces of equipment.
It is also possible to perform further searches based on one of the search results. As can be seen in
As was mentioned earlier, it is also possible to use the curve section as an input in other types of operations than search. It is for instance possible to use it in as an input to a simulation. The curve section of the physical quantity Q can thus be used in a simulation of the industrial process. The curve shape C1′ can for instance be introduced as a curve shape of the physical quantity of the piece of process control equipment in question or of another process control equipment of the same or similar type in order to investigate how the process control system would react if the physical quantity of the process control equipment had the appearance of the curve section. The curve can thus be used in simulation, such as in the previously described anomaly classifier. The software for the simulation could as an example be stored in the user terminal memory 40 and performed under control of the user terminal processor 34. However also other locations are possible. It is for instance possible to have a simulation server connected between the first and the second bus B1 and B2.
It can thus be seen that the curve shape can be used in a number of different operations.
It is additionally possible to perform a joint operation for two curves, where one or both may be changed according to the previously described principles. This can be done using a so-called lasso feature implemented by the curve section selection module 46.
The lasso feature, which is optional, is used to identify relationships between two or more trends. The operator can use a lasso tool provided by the curve section selection module 46 to loop through and connect two curves. Then the operator can use the combination of the two curves in the desired operation. In relation to search, the user can choose if he or she wants to see the correlation or search for times when the two curves occur together (‘AND’ option). Naturally one or both of the curve sections can also be changed according to the above-described principles.
In practice the lasso tool can function as a snip, but instead of a polygonal boundary, it has a flexible boundary that helps connect different parts of the same curve or even two different curves together. The activation of lasso is a natural extension of the snip. A selection of a section of a curve from the user is in this case received as part of a selection of two sections made by the user via the curve section selection module 46, where each section is a section of a corresponding curve. Lassoing using a lasso L is exemplified in
The curve section application module 50 then applies the two curve sections of the two curves C1 and C2 selected by the curve section selection module 46 in the process control system, possibly after one or both have been changed.
A collection of interactions has been presented that increase the effectiveness of operations such as search for operators, process engineers and other relevant stakeholders in process industries. It involved a number of interactions: Snip, highlighting of components that can be snipped, selection refinement, curve shape refinement and lasso based multivariate search.
The aspects presented herein aim to protect the interaction metaphors irrespective of the software platform or implementation. The interaction could be implemented on a screen-based device such as a monitor keyboard combination, touch devices such as tablets, panels or even mobile phones. There are thus several ways in which the user terminal may be realized.
As was mentioned earlier, the user terminal may be provided in the form of a processor with associated program memory including computer program code for implementing the curve operations function.
A computer program may also be a computer program product, for instance in the form of a computer readable storage medium or data carrier, like a CD ROM disc or a memory stick, carrying such a computer program with the computer program code, which will implement the above-described curve operations function when being loaded into a processor. One such computer program product in the form of a CD ROM disc 54 with the above-mentioned computer program code 42 is schematically shown in
While the invention has been described in connection with what is presently considered to be most practical and preferred embodiments, it is to be understood that the invention is not to be limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications and equivalent arrangements. Therefore, the invention is only to be limited by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
21170423.4 | Apr 2021 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/060965 | 4/26/2022 | WO |