Distributed Industrial Performance Monitoring and Analysis Platform
A decentralized data engine system for process control plants addresses real-time monitoring and analysis limitations, enhancing fault detection and optimization, thereby improving safety and efficiency.
Patent Information
- Application Number
- JP2022059262
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-09-23
- Filing Date
- 2022-03-31
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2036-10-07
AI Technical Summary
Current process control systems lack real-time performance monitoring and analysis capabilities, leading to inaccurate fault detection, suboptimal corrective actions, and inefficiencies due to limited data processing and analysis techniques, especially for large datasets and streaming data, which can result in safety, reliability, and economic issues in process plants.
Implementing a distributed industrial process monitoring and analysis system with decentralized data engines that stream and analyze data in real-time, using standardized queries and frequency analysis techniques to provide early warning of failures and optimize plant operations.
Enables real-time, accurate fault detection and optimization of process plants, improving safety, reliability, and economic performance by providing timely corrective actions and predictive insights.
Smart Images

Figure 0007563824000001 
Figure 0007563824000002 
Figure 0007563824000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates generally to process plants and process control systems, and more specifically to real-time performance monitoring and analysis of real-time data generated by process plants and process control systems.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of U.S. Provisional Application No. 32 / 239,620, filed October 9, 2015, entitled DISTRIBUTED INDUSTRIAL PERFORMANCE MONITORING AND ANALYTICS, the entirety of which is hereby expressly incorporated by reference herein. This application is jointly filed with U.S. application Ser. No. 13 / 784,041, entitled "BIG DATA IN PROCESS CONTROL SYSTEMS", filed March 4, 2013; (ii) U.S. application Ser. No. 14 / 174,413, entitled "COLLECTING AND DELIVERING DATA TO A BIG DATA MACHINE IN A PROCESS CONTROL SYSTEM", filed February 6, 2014; (iii) U.S. application Ser. No. 14 / 456,763, entitled "SECURING DEVICES TO PROCESS CONTROL SYSTEMS", filed August 11, 2014; (iv) U.S. application Ser. No. 14 / 216,823, entitled "DATA MODELING STUDIO", filed March 17, 2014; and (v) U.S. application Ser. No. 14 / 216,823, entitled "MANAGING BIG DATA IN PROCESS CONTROL (vi) U.S. application Ser. No. 14 / 169,965 entitled “DETERMINING ASSOCIATIONS AND ALIGNMENTS OF PROCESS ELEMENTS AND MEASUREMENTS IN A PROCESS”, filed March 14, 2014; (vii) U.S. application Ser. No. 14 / 212,493 entitled “DISTRIBUTED BIG DATA IN A PROCESS CONTROL SYSTEM”, filed March 14, 2014; (viii) U.S. application Ser. No. 14 / 506 entitled “STREAMING DATA FOR ANALYTICS IN PROCESS CONTROL SYSTEMS”, filed October 6, 2014;No. 863, (ix) U.S. Application No. 14 / 507,188, entitled "REGIONAL BIG DATA IN PROCESS CONTROL SYSTEMS," filed on October 6, 2014, (x) U.S. Application No. 62 / 060,408, entitled "DATA PIPELINE FOR PROCESS CONTROL SYSTEM ANALYTICS," filed on October 6, 2014, and (xi) U.S. Application No. 14 / 507,252, entitled "AUTOMATIC SIGNAL PROCESSING-BASED LEARNING IN A PROCESS PLANT," filed on October 6, 2014, the entire disclosures of which are hereby expressly incorporated herein by reference. [Background technology]
[0003] Distributed process control systems, such as those used in chemical, petroleum, industrial, or other process plants for manufacturing, refining, transforming, creating, or producing physical substances or products, typically include one or more process controllers communicatively coupled to one or more field devices via an analog bus, a digital bus, or a combined analog / digital bus, or via a wireless communication link or network. The field devices, which may be, for example, valves, valve positioners, switches, and transmitters (e.g., temperature, pressure, level, and flow sensors), are located within the process environment and generally perform physical or process control functions, such as opening or closing valves, measuring process and / or environmental parameters such as temperature or pressure, to control one or more processes running within the process plant or system. Smart field devices, such as field devices conforming to the well-known Fieldbus protocol, may also perform control calculations, alarm functions, and other control functions typically implemented within a controller. A process controller, also typically located within a plant environment, executes a controller application that executes different control modules that receive signals indicative of process measurements made by the field devices and / or other information regarding the field devices, e.g., make process control decisions and generate control signals based on the received information, and interface with control modules or blocks that execute in the field devices, such as HART®, WirelessHART®, and FOUNDATION® Fieldbus field devices. The control modules in the controller send control signals over communication lines or links to the field devices, thereby controlling the operation of at least a portion of the process plant, e.g., to control at least a portion of one or more industrial processes being performed or conducted within the plant. For example, the controller and field devices control at least a portion of a process being controlled by a process control system of the process plant.
[0004] Information from the field devices and controllers is typically made available over a data highway or communication network to one or more other hardware devices, such as operator workstations, personal computers or computing devices, data historians, report generators, centralized databases, or other centralized computing devices, which are typically located in a control room or other location away from the more austere plant environment. Each of these hardware devices is typically centralized throughout the process plant, or throughout a portion of the process plant. These hardware devices execute applications that may enable operators to perform functions related to the control of the process and / or operation of the process plant, such as, for example, changing settings of process control routines, modifying the operation of control modules in controllers or field devices, viewing the current state of the process, viewing alarms generated by field devices and controllers, simulating the operation of a process for purposes of training personnel or testing process control software, maintaining and updating configuration databases, etc. The data highways utilized by the hardware devices, controllers, and field devices may include wired communication paths, wireless communication paths, or a combination of wired and wireless communication paths.
[0005] As an example, the DeltaV™ control system, sold by Emerson Process Management, includes multiple applications stored in and executed by different equipment located at various locations within a process plant. Configuration applications, residing in one or more workstations or computing devices, allow users to create or modify process control modules and download these process control modules to dedicated distributed controllers via a data highway. Typically, these control modules are composed of communicatively interconnected function blocks that are objects in an object-oriented programming protocol that perform functions within a control scheme based on inputs to them and provide outputs to other function blocks in the control scheme. The configuration application may also allow the configuration designer to create or modify operator interfaces that are used by the display application to display data to an operator and to allow the operator to change settings, such as set points, within a process control routine. Each dedicated controller, and in some cases one or more field devices, stores and executes a respective controller application that executes the control modules assigned to them and downloaded to implement the actual process control functions. A display application, which may be running on one or more operator workstations (or one or more remote computing devices communicatively connected to the operator workstations and the data highway), receives data from the controller application via the data highway and displays this data to a process control system designer, operator, or user using a user interface to provide any of a number of different views, such as an operator's view, an engineer's view, a technician's view, etc.While the data historian application is typically stored on and executed by a data historian device that collects and stores some or all of the data provided over the data highway, the configuration database application may be executed on a more remote computer that is connected to the data highway to store the current process control routine configuration and associated data. Alternatively, the configuration database may be located in the same workstation as the configuration application.
[0006] When evidence of an abnormal condition or fault is found in a process plant or process control system (e.g., when an alarm occurs or when a process measurement or actuator is found to have excessive variation), an operator, instrument technician, or process engineer typically uses analytical tools along with his or her knowledge of the system and the process controlled by the process flow path through the system to attempt to determine upstream measurements and process variables that may have contributed to creating the abnormal condition or evidence of fault. For example, an operator may feed historical logs of data captured over time from the output of process control devices (e.g., field devices, controllers, etc.) into a DeltaV™ batch analysis product or continuous data analysis tool to attempt to determine the contribution of various process variables and / or measurements to the abnormal or fault condition. Typically, a user determines which historical data logs and / or other time series data to feed into the analytical tool and identifies candidate upstream factors (e.g., measurements, process variables, etc.) based on his or her knowledge of the process. These data analysis tools then utilize principal component analysis (PCA) or other analytical techniques such as partial least squares, linear regression, etc. to determine which candidate upstream factors are influencing the downstream predicted quality parameters. Thus, the accuracy and validity of the output provided by the analysis tools is based on, or limited by, the user's knowledge and therefore may not provide complete or accurate insight into the source of the abnormal condition or failure.
[0007] In addition, such analyses are typically performed offline from the process, and thus the process may change or move while the analysis is being performed. For example, a typical process plant will usually perform a cycle of a particular analysis (e.g., a data collection and analysis cycle) once or twice a day, but the results are not analyzed and any prescriptive actions are developed and implemented within the plant until some time after the analysis is performed. Thus, not only may the accuracy of the analytical results be in doubt, but any prescriptive actions developed therefrom may not be optimal or may no longer apply to the currently running process.
[0008] Additionally, currently known process control plant and process control system architectures are strongly influenced by limited controller and device memory, communication bandwidth, and processor capabilities of controllers and devices. For example, in currently known process control system architectures, the use of dynamic and static non-volatile memory in the controller is typically minimized or at least carefully managed. As a result, during system configuration (e.g., a priori), the user must typically select which data in the controller should be archived or stored, how often it is stored, and whether compression is used or not, and the controller is configured accordingly with this limited set of data rules. As a result, data that may be useful in troubleshooting and process analysis is often not archived, and if it is collected, useful information may have been lost due to data compression.
[0009] Furthermore, industrial or process control plant data sets are continually increasing in size to the point where current data processing analytical applications are insufficient. Typically, known analytical techniques merely attempt to extract value from the data, but do not address the specific size of the data set from which the value is extracted, and in particular do not operate seamlessly on very large data sets (such as all the process data generated by the plant). Furthermore, known analytical techniques typically cannot handle streaming or streamed data.
[0010] The limitations of currently known process plant monitoring and analysis, and process control systems discussed above, as well as other limitations, may manifest themselves in undesirable ways in the operation and optimization of a process plant or process control system, for example, during plant operation, troubleshooting, and / or predictive modeling. Generally, real-time analysis using real-time, current industrial process performance data is not possible with known monitoring and analysis tools. Summary of the Invention
[0011] Disclosed herein are techniques, systems, devices, components, and methods for distributed industrial process performance monitoring and / or analysis. Such techniques, systems, devices, components, and methods may be applied to industrial process control systems, environments, and / or plants, which are also referred to herein interchangeably as "automation," "industrial control," "process control," or "process" systems, environments, and / or plants. Typically, such systems and plants provide control of one or more processes that operate to manufacture, refine, transform, create, or produce a physical substance or product in a distributed manner. Generally, the techniques, systems, devices, components, and methods include embedding a data monitoring and / or data analysis engine (also referred to herein interchangeably as a "distributed data engine," "data engine," or "DDE") in devices that operate in concert to control an industrial process in a distributed manner. For example, the distributed data engine may be fabricated in a device (e.g., a process control device such as a field device, controller, I / O card, etc.) that operates with other devices to control processes running within a process plant or process control system, and / or the distributed data engine may be locally or directly coupled to such devices. Additional data engines may be embedded in or fabricated within other devices included within the process plant, such as in communication nodes, workstations or other operator interfaces, servers, etc. In some configurations, the data engine is connected to various communication links within the process plant or otherwise connected to the process plant to have a view or window into real-time data transmitted during the execution or control of processes within the plant.
[0012] Data is streamed between the various embedded data engines, for example, using one or more data communication channels and networks that typically exist outside of the traditional communication systems found in distributed control systems (DCS), programmable logic systems (PLS), and process control health and safety monitoring systems (SHM). To avoid confusion with such conventionally known process control communication networks and links, the communication channels and networks utilized to stream communication between the data engines are referred to herein interchangeably as "data analysis communication channels," "data analysis channels," "data analysis communication networks," or "data analysis networks." The streamed data may include real-time data viewed or observed by the data engines. For example, if a distributed data engine is connected to (and thus viewing data traversing) a traditional process control system communication link, the data engine may stream a copy of the data traversing the traditional communication link to one or more other data engines via the data analysis network. In another example, if a distributed data engine is manufactured into or embedded in a process control device, the analytical data streamed by the data engine using the data analysis network may include a copy of data received, generated, or otherwise processed by the device. Additionally or alternatively, the streamed data may include data corresponding to one or more analyses performed locally at the device, such as analytic results, prescriptive actions, etc. This architecture allows analytic services to be locally bound and provided near or at the data source, while simultaneously enabling the provision of larger scale analytics, thereby providing timely results and optimizations while minimizing bandwidth usage and processing cycles across systems, as described in more detail below.
[0013] In one aspect, a distributed industrial process monitoring and analysis system includes a plurality of distributed data engines (DDEs) embedded within a process plant operating to control a process. Each of the DDEs is coupled to a respective one or more data sources within the process plant, each generating data as a result of the process being controlled. In addition, each of the DDEs stores data generated by the respective one or more data sources to which each DDE is coupled. The system also includes a data analysis network that supports streaming of analytical data between the plurality of DDEs and supports sending queries regarding data stored in the plurality of DDEs.
[0014] In another aspect, a method includes advertising the presence of a cluster within a data analytics network of a process control plant operating to control a process. The method also includes registering a data source responsive to the advertising that generates continuous data resulting from control of the process by the plant. Additionally, the method includes receiving the continuous data generated by the data source and streaming at least a portion of the continuous data generated by the data source via the data analytics network to a data consumer. One or more portions of the method may be performed by the cluster, for example.
[0015] In yet another aspect, a method includes advertising the presence of a centralized cluster included in a data analytics network of a process control plant operating to control a process. The method also includes registering a local cluster responsive to the advertising and configured to store streamed continuous data generated as a result of controlling the process. The local cluster is embedded within the process plant and communicatively coupled to one or more data sources that generate at least a portion of the continuous data while operating to control the process. Additionally, the method may include receiving at least a portion of the streamed continuous data from the local cluster, performing one or more data analytics functions on the streamed continuous data received from the local cluster, and streaming output of the one or more data analytics functions via the data analytics network to a data consumer. One or more portions of the method may be performed, for example, by the centralized cluster.
[0016] In another aspect, the system includes a data analytics module bound to a continuous data stream, the continuous data stream having content generated in real time by a data source contained within a process plant operating to control a process, the content of the continuous data stream being generated as a result of operations controlling the process. The system further includes a user interface that displays continuous output generated in real time from the data analytics module operating in real time on the continuous data stream. The continuous output displayed on the user interface includes continuous updates of one or more forecast values.
[0017] In yet another aspect, a performance monitoring and analysis system for industrial process control includes a platform that provides a set of user controls and a canvas that enables a user to create a data diagram that represents a data model. The platform further enables a user to evaluate or compile the data diagram and execute it against an input data set to thereby generate output data. The input data set includes time series data (and optionally other data) obtained from an online process plant that controls the process. As used herein, the term "time series data" generally refers to a series of data points, values, or sets, typically generated by one or more data sources over a time interval.
[0018] The data diagram includes a set of data blocks interconnected by a set of wires, through which data is transferred between the data blocks. Each data block of the set of data blocks corresponds to a respective data operation and includes zero, one or more input connectors and zero, one or more output connectors. Respective input data is received at each data block through the input connector(s) and each data block provides respective output data through the output connector(s) resulting from each data block performing its respective data operation on the respective input data. Furthermore, the input connector is included in a first data block of the set of data blocks, and each data operation of at least one data block included in the set of data blocks includes a data analysis function, and different parts of the data diagram are asynchronously and separately compileable and executable. In some embodiments, for example when no input connector is configured and no output connector is configured, the input data and the output data are processed internally by the data block.
[0019] In an aspect, a method for performing real-time analysis in a process control environment includes creating a first diagram in a graphical user interface. The first diagram may represent first programming instructions operable to cause a processor to manipulate data previously generated and stored by the process control environment. The method also includes compiling the first programming instructions represented by the first diagram, executing the compiled first programming instructions to create a resultant first output, and evaluating the resultant first output to determine a predicted value of a model used to create the resultant first output. Additionally, the method includes automatically generating a second diagram from the first diagram. The second diagram may represent second programming instructions operable to cause a processor to bind to a live data source and evaluate data received from the live data source by at least using the model used to create the resultant first output. Further, the method includes compiling second programming instructions represented by the second diagram, and executing the compiled second programming instructions to predict an aspect of the operation of the process control environment.
[0020] In another aspect, a system for performing real-time analytics in a process control environment includes a plurality of process control devices operating within a process plant and a controller communicatively coupled to the plurality of process devices via a control network. The system also includes a big data storage node comprising a tangible non-transitory storage medium for storing data of operations of the process control environment, a processor communicatively coupled to the big data storage node, and a program memory communicatively coupled to the processor. The program memory may comprise a tangible non-transitory storage medium storing instructions that, when executed by the processor, cause the processor to display a graphical user interface including an editing canvas and receive a selection of a plurality of graphical programming elements for placement on the editing canvas to create a first diagram. The first diagram may represent first programming instructions operable to cause the processor to manipulate data stored in the big data storage node. Additionally, the instructions, when executed by the processor, cause the processor to execute the compiled first programming instructions to create a resultant first output and create a predictive model based on the resultant first output. The instructions, when executed by the processor, can further cause the processor to automatically generate a second diagram from the first diagram. The second diagram can represent second programming instructions operable to bind to a live data source and evaluate data received from the live data source by using at least the model used to create the resulting first output. The instructions, when executed by the processor, can still further cause the processor to compile second programming instructions represented by the second diagram and execute the compiled second programming instructions to predict aspects of operation of the process control environment.
[0021] In another aspect, an analytical service for performing data analysis in a process control environment includes a library of block definitions, which may be stored in a tangible, non-transitory medium, and each block definition stored in the library may include (i) a target algorithm for performing an action on data of the process control environment, and (ii) one or more block properties. The analytical service further includes a set of machine-readable instructions stored in the tangible, non-transitory medium, which when executed by a processor is operable to: (1) present a canvas to a user via a display, (2) present a library of block definitions to a user, (3) receive one or more selections of one or more corresponding block definitions, (4) place one or more blocks corresponding to the one or more block definitions on the canvas to create a module including the one or more blocks, (5) facilitate configuration of one or more properties for either (i) the one or more blocks, or (ii) the module, or (iii) the one or more blocks and modules, and (6) provide an evaluation of one or more of (i) the blocks, or (ii) the module.
[0022] In addition, the analytical service includes an execution service running on the processor, where the execution service is configured to (1) receive a request to evaluate one or more blocks or modules, (2) compile instructions corresponding to the one or more blocks or modules, (3) create one or more job processes to execute the compiled instructions, cause the one or more job processes to execute the compiled instructions, and (4) receive results of the one or more job processes. The analytical service also includes a communications network coupling the one or more processors executing the one or more job processes with the one or more distributed data engines. Each distributed data engine may include a tangible, non-transitory storage medium that stores data generated within the process control environment.
[0023] In fact, data generated by or related to the operation of a process plant may be stored in multiple data stores, such as relational or non-relational databases. These data stores may utilize different data structures and query mechanisms, thereby requiring different query syntaxes to access data in different data stores. Standardized queries are described herein to facilitate data access to data stores using different formats. The standardized queries, utilizing a standardized data query format, include information needed to access data in the data stores, but the standardized queries may not be directly executable to obtain such data. Instead, data source-specific queries are generated based on the standardized queries. This may include extracting query parameters from the standardized queries and generating one or more data source-specific queries utilizing a data source-specific query format associated with a particular data source. The data source-specific queries may be executed to access and select data from their respective data sources, which may then be formatted to generate a data frame presenting the data indicated in the standardized query in any desired format. This may include matching sampling rates, data properties, or other data characteristics for data acquired by data source specific queries. In some embodiments, data from multiple data sources utilizing different data source specific query formats can be combined into an aggregate data frame for further use in process control or analysis.
[0024] In another aspect, methods, systems, and computer readable media storing instructions for acquiring time series data from electronic data sources are described, including receiving an indication of an electronic data source from which data is to be acquired, receiving an indication of a time range over which the data is to be acquired, receiving an indication of a characteristic of the data to be acquired, determining a data source specific query format associated with the electronic data source, generating a data source specific query according to the data source specific format based on the indication of the time range and characteristic of the data to be acquired, executing the data source specific query to select data from the electronic data source, and / or receiving data from the electronic data source. The indication of the time range and characteristic of the data may be expressed in a standardized query format that is independent of the electronic data source, and the electronic data source may be a relational or non-relational database.
[0025] The method may include a standardized query utilizing a standardized query format. An indication of a time range and an indication of a characteristic may be received as the standardized query. An indication of an electronic data source may also be received as the standardized query. The standardized query may further indicate a format for the data or file to return data, such as JavaScript Object Notation (JSON). The standardized query may also be a JSON formatted file. The standardized query format may utilize a syntax that is separate from the native syntax utilized by the electronic data source. Such syntax utilized in the standardized query format may not be directly executable to obtain data from the electronic data source.
[0026] The indication of the time range may include at least one start time and at least one end time. The indication of the time range may also include a sample rate for the data to be acquired. The indication of the characteristics of the data to be acquired may include an indication of one or more measurements related to the operation of the process plant. The one or more measurements may include measurements from one or more field devices disposed within the process plant. The indication of the one or more measurements may include one or more tags, aliases, and data types associated with the data.
[0027] The method may further include receiving an indication of a format in which the data is to be received from the electronic data source, where the data may be received from the electronic data source in the indicated format. In some embodiments, an indication of a format in which the data is to be obtained may be received and the data received from the electronic data source may be converted to the indicated format.
[0028] The data source-specific query format may be determined based on the type of electronic data source. Generating the data source-specific query may include mapping the indicated time range and the indicated characteristics of the data to be acquired to the data source-specific query format. Executing the data source-specific query may include sending the data source-specific query to an interface of the electronic data source, whereby the interface queries the electronic data source with the data source-specific query.
[0029] A data frame may be generated that includes data received from an electronic data source. The data frame may include a plurality of data points. Each data point may be associated with a time within a time range. Each data point may further be associated with a time within the time range that is aligned with an integer multiple of a sample period after a start time or is the start time.
[0030] In another aspect, a method, system, and computer readable medium storing instructions for providing data from an electronic data source are described, including receiving a standardized query using a standardized query format from a data requesting entity, extracting query parameters from the standardized query, generating a data source specific query in a data source specific query format based on the extracted query parameters, executing the data source specific query to obtain data from the electronic data source, and / or providing the obtained data to a data receiving entity. The standardized query format may be different from the data source specific query format utilized by the electronic data source. The electronic data source may be a relational or non-relational database. The data requesting entity may be a query block in an analytics program such as Data Analytics Studio discussed herein. The data receiving entity may be the same entity as the data requesting entity. The standardized query may utilize a syntax that is not directly executable to obtain data from the electronic data source.
[0031] Extracting query parameters from the standardized query may include determining a time period of data and a data parameter, where the time period may have a start time and an end time, and the data parameter may indicate a type or characteristic of data to be acquired from the electronic data source. Extracting query parameters from the standardized query may further include determining a sampling rate.
[0032] Providing the acquired data to the requesting entity may include returning a set of data points associated with the time period. Each data point may include a timestamp indicating a time for which the value(s) associated with the data point are relevant. Such timestamps may be limited to times that are the start time or times that are integer multiples of the sampling rate period after the start time. To achieve a complete time series, one or more data points may be added to the data set with a timestamp indicating an integer multiple of the sampling rate period after the start time. The added data points may use the value of a data entry in the electronic data source associated with a time that most immediately precedes each timestamp of these one or more added data points. The set of data points may be formatted based on a format specified in the standardized query.
[0033] The type or characteristic of data indicated by the data parameter may be a type of measurement or a measurement from a type of measurement device. The type or characteristic of data may further indicate a specific measurement device, which may be a field device located within a process plant. The data parameter may further indicate a tag of the data to be acquired, an alias of the data to be provided to the data requesting entity, and / or a data format type of the data to be provided to the data requesting entity.
[0034] Providing the data to the data requesting entity may include sending a data frame including the acquired data to the data requesting entity. The standardized query may include an indication of a format for the data frame. The data frame may be formatted according to the indication of the format for the data frame. The standardized query may indicate that the data frame is to be provided to the data receiving entity as a JSON file.
[0035] In another aspect, methods, systems, and computer readable media storing instructions for accessing process plant data from multiple electronic data sources are described, including receiving a standardized query utilizing a standardized query format, generating a query specific to a first data source based on the standardized query, generating a query specific to a second data source based on the standardized query, executing the query specific to the first data source to obtain a first set of data from the first electronic data source, executing the query specific to the second data source to obtain a second set of data from the second electronic data source, and / or generating an aggregate data frame including the first and second sets of data, wherein the first and second sets of data may each include a plurality of data points including information measured by one or more field devices within the process plant.
[0036] The query specific to the first data source may utilize a first query format associated with the first electronic data source, and the query specific to the second data source may utilize a second query format associated with the second electronic data source. The standardized query may include a first index of the first electronic data source and a second index of the second electronic data source. In some embodiments, the first electronic data source may be a relational database and the second electronic data source may be a non-relational database. The first index may identify the first query format and the second index may identify the second query format. In some embodiments, the first and second indexes may be prepended to the index of the data string.
[0037] The standardized query format may utilize a query syntax that is separate from both the query syntax of the first query format and the query syntax of the second query format. The query syntax of the standardized query format may not be directly executable to obtain either the first set of data from the first electronic data source or the second set of data from the second electronic data source. For example, the standardized query may be included in one or more objects or arrays of a JSON file.
[0038] The standardized query may include an indication of a time range that identifies a period corresponding to data entries in the first and second data sets. The time range may include multiple periods, which may be separated by an exclusion period during which data is not queried. The time range may also identify a first period associated with the first data set and a second period associated with the second data set. The standardized query may also include an indication of a sample rate for the aggregate data frame.
[0039] The first data set may include data having a first sample rate and the second data set may include data having a second sample rate. In such a case, generating the aggregate data frame may include matching the first and second sample rates. Matching the first and second sample rates may include adding data points corresponding to unsampled times required to achieve the desired sample rate. Such added data points may be given values of sampled data immediately preceding in time the data points being added. Matching the first and second data sample rates may also include removing sampled data points.
[0040] A system for practicing such a method may further include one or more processors communicatively coupled to the one or more data sources, and one or more program memories storing computer-readable instructions that, when executed by the one or more processors, cause the computer system to perform some or all of the system functions described above. A computer-readable medium may store similar computer-readable instructions executable by one or more processors of a computer system to thereby cause the computer system to perform some or all of the system functions described above. Additional or alternative aspects of the present methods, systems, or computer-readable media may be practiced as described more fully in the detailed description below.
[0041] Additionally, a novel frequency analysis analysis technique is disclosed and may be provided by any of the systems, methods, apparatus, and techniques described herein. The novel frequency analysis analysis technique may analyze streamed data to provide early warning fault detection in a process plant or process control system. More specifically, the frequency analysis analysis technique may create a new set of process variables corresponding to identified leading indicators of faults, anomalies, performance degradation, target performance levels, undesired conditions, and / or desired conditions, and may perform a rolling FFT on the streamed process data to determine time series data for the new process variables. The rolling FFT may transform the streamed process data from the time domain to the frequency domain, where values for the new set of process variables may be determined. The determined values for the new process variables may be transformed back to the time domain for monitoring. Detecting the presence of leading indicators within the monitored time domain data may generate and / or indicate the presence of a predicted failure, anomaly, performance degradation, and / or other undesired condition, which may result in changes to the operation of the process plant to avoid, prevent, and / or mitigate the effects of the undesired upset, event, and / or condition. Similarly, detecting the presence of leading indicators within the monitored time domain data may generate and / or indicate the presence of a predicted desired condition, such as a target level of performance, in some cases along with a time or time interval when the desired condition is predicted to occur. [Brief description of the drawings]
[0042] [Figure 1] FIG. 1 is a block diagram illustrating an example system process plant or process control system including a distributed, embedded industrial process performance monitoring and / or analysis engine. [Figure 2A] FIG. 1 is a block diagram of an exemplary system for distributed industrial process performance monitoring / analysis. [Figure 2B]1 is an embodiment of an arrangement of an example distributed industrial process performance monitoring and analysis system in association with an example process control system. [Diagram 3] FIG. 1 is a block diagram of an example industrial process performance monitoring and / or analysis engine. [Figure 4A] 1 is an exemplary data diagram illustrating the characteristics and interconnections of various data blocks. [Figure 4B] 1 is an exemplary Data Analytics Studio user interface. [Figure 4C] 1 illustrates exemplary relationships between data block definition libraries, data block definitions, data modules, data blocks, data block instances, and wires. [Figure 4D] 1 is an example of a draft or creation of a data module. [Figure 4E] The zoomed-in area of the Data Studio canvas where data modules are created. [Figure 4F] 1 is an exemplary data block definition template for different types of data blocks. [Figure 4G] 1 is an exemplary data block definition template for different types of data blocks. [Figure 4H] 1 is an exemplary data block definition template for different types of data blocks. [Figure 4I] 1 is an exemplary flow for evaluating, editing, or expanding a data diagram. [Figure 4J] 1 is an exemplary architecture that supports the presentation of standard and custom visualizations. [Figure 4K] 1 is an exemplary scenario in which a composite data block is created. [Figure 4L] 1 is an exemplary offline data diagram; [Figure 4M] 4C is an online data diagram generated from a transformation of the example offline data diagram of FIG. 4L. [Figure 4N-1]1 is an exemplary Data Analytics Dashboard user interface. [Figure 4N-2] 1 is an exemplary Data Analytics Dashboard user interface. [Figure 4O] 1 is a high-level block diagram of a control loop for controlling and optimizing the performance of a process plant. [Figure 4P] 1 is an exemplary method for providing localized data analysis services. [Figure 4Q] 1 is an exemplary method for providing localized data analysis services. [Figure 5A] FIG. 2 is a block diagram of an exemplary architecture for an Analytics Service in accordance with the present invention. [Figure 5B] 5B is a block diagram illustrating an example data service entity of the architecture depicted in FIG. 5A in greater detail. [Figure 5C] 1 is a flowchart illustrating a method for presenting a properties dialog for a block placed on a programming canvas, according to the presently described embodiments. [Figure 5D] 1 is an example programming canvas in which an example offline diagram is configured on the programming canvas. [Figure 5E] FIG. 5E is an exemplary online view corresponding to the offline view of FIG. 5D. [Figure 5F] 1 is an example properties dialog for a module. [Figure 5G] 13 is an example properties dialog for a block of an offline module, where the properties pertain to both offline and online operation. [Figure 6A] FIG. 1 is a block diagram of an example analytical query system. [Figure 6B] FIG. 1 is a block diagram of an example analysis configuration using standardized queries. [Figure 6C] 1 is an exemplary standardized query. [Figure 6D]1 is a flow diagram of an example standardized query method. [Figure 6E] 1 is a flow diagram of an example standardized query method. [Figure 7A] 1 is a graph of exemplary process flow measurements of a flare system of a refinery over a time interval. [Figure 7B] 7B is a graph of the example process flow measurements of FIG. 7A during different time intervals. [Figure 7C] 1 is a graph of exemplary process flow data for a refinery, including a flare event in the data. [Figure 7D] 7D is a graph of time series data determined by applying a rolling FFT to the process flow data of FIG. 7C. [Figure 7E] FIG. 7B is a graph of the results of using PCA to analyze the frequency domain data of FIG. 7D around the flare event. [Figure 7F] FIG. 7B is a graph of the results of using PCA to analyze the frequency domain data of FIG. 7D around another flare event. [Figure 7G] 1 is a flow diagram of an example method for providing early fault detection in a process plant. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0043] Disclosed herein are techniques, systems, devices, components, and methods for distributed industrial performance monitoring and analysis. Generally, the novel performance monitoring and analysis techniques provide knowledge discovery and actionable knowledge about industrial process plants, process control environments, and / or process control systems that operate to control one or more industrial processes in real time. Typically, the industrial processes performed by such process plants or control systems are controlled in order to manufacture, refine, transform, create, or produce a physical substance or product. Examples of such process plants or control systems include oil refineries, paper mills, chemical manufacturing, pharmaceutical manufacturing, food processing, and distribution, etc.
[0044] The primary concerns of any process control system, plant, or environment are its safety, reliability, and economics. Safety of operation is particularly important for any process control system or plant because uncontrolled processes, breakdowns, damage, and / or preventable human errors can lead to explosions, fires, releases of hazardous chemicals, environmental damage, loss of equipment, and / or loss of life. Reliability of equipment and process operations is important to maintain and / or improve the economics and profitability of the plant. Additionally, plant economics and profitability can be improved by adjusting plant operations to enhance performance.
[0045] Failures occurring in a process control system can affect its safety, reliability, and / or economics. Failures typically occur when multiple events combine to create a situation that the process control system was not designed to handle, such as unknown changes in feed composition, equipment degradation, equipment damage, and abnormal (or erroneous) user operational actions. Other examples of failures include unplanned equipment shutdowns, chemical releases to the atmosphere, lifting of pressure relief valves, equipment temperature runaway, and performance degradation. Of course, failures are not limited to total or large-scale events, and failures can be any abnormal event or combination of events that has or can lead to economic, safety, and / or environmental impacts.
[0046] Typically, when a fault is detected (e.g., automatically detected by the process control system), an alarm is generated at an operator interface. The operator then attempts to diagnose the root cause of the fault and take corrective action. Thus, some of the key factors in managing faults include early fault detection and reduction of false alarms, which may include, for example, timely and reliable detection of the fault, diagnosing the root cause of the fault, and taking corrective action to return the instrument, controller, process, and / or equipment that is the source of the fault to normal operation.
[0047] Known data monitoring and analysis tools attempt to keep process plants in their normal operating range and provide a first line of defense against the occurrence of faults. However, such tools typically only focus on a single loop or a very limited scope within the process plant. They are unable to handle the entirety (or even a large portion) of a typical modern process control plant, where hundreds or thousands of process variables are observed at very high rates. Furthermore, known data monitoring and analysis tools are unable to handle special events, such as degraded equipment performance, removed field equipment, or major changes in operating conditions, caused by conditions outside the immediate limited scope of each tool.
[0048] On the other hand, the novel distributed industrial process performance monitoring and analysis techniques, systems, apparatus, components, and methods disclosed herein can handle (e.g., monitor and / or analyze) industrial process monitoring and analysis ranging in size from an entire process plant to a single loop or even a single device. Indeed, in some configurations, the novel techniques disclosed herein can address multiple process plants simultaneously (e.g., multiple refineries owned and operated by a single company or by different companies, if data is available). In general, the novel performance monitoring and analysis techniques disclosed herein discover and provide knowledge indicative of early detection and / or advance warning of potential failures that may occur within process plants and control systems, thereby allowing sufficient time to take prescriptive or corrective actions to prevent the failure from occurring. In some circumstances, the novel techniques disclosed herein also discover and provide prescriptive and actionable knowledge to prevent potential failures from occurring and / or limit the impact of their occurrence. Additionally, the novel techniques disclosed herein discover or provide knowledge that indicates potential improvements to plant efficiency, as well as discover or provide actionable knowledge to realize those efficiency improvements.
[0049] Exemplary Process Control System with Distributed Industrial Process Monitoring and Analysis As discussed above, a process plant, process control system, or process control environment that includes or supports at least a portion of the novel distributed industrial process monitoring and analysis techniques described herein operates to control one or more industrial processes in real time. Thus, the process plant or control system may include one or more wired or wireless process control devices, components, or elements therein that perform physical functions (such as opening or closing valves, measuring temperature, pressure, and / or other process and / or environmental parameters) to control processes running within the process plant or system. The process plant or process control system may include, for example, one or more wired communication networks and / or one or more wireless communication networks. The process plant or control system may include centralized databases, such as continuous databases, batch databases, and other types of historian databases.
[0050] For illustrative purposes, FIG. 1 is a detailed block diagram of an exemplary process plant or process control environment 5 that includes or supports any or all of the distributed industrial process monitoring and analysis techniques described herein. The process control system 5 includes a plurality of distributed data engines of a distributed industrial process monitoring and analysis system that are included in, integrated with, or supported by the process control plant or environment 5. (A more complete description of distributed industrial process monitoring and analysis systems is provided in a later section.) Each of the distributed data engines of the industrial process monitoring and analysis system is directly or indirectly connected (e.g., physically connected or wirelessly connected) to certain components or portions of the process plant 5. For example, the distributed data engines may be embedded or manufactured in a particular device or node of the process plant 5 to form a centralized entity, the data engines may be connected or coupled to a particular device or node of the plant 5, or the data engines may be connected or coupled to conventional communication links of the plant 5. In FIG. 1, a circled "DDE" represents each exemplary distributed data engine.
[0051] As discussed above, the distributed data engines may be embedded within process control devices whose primary function is to automatically generate and / or receive process control data to perform functions to control processes in real-time in the process plant environment 5. For example, each data engine may be embedded within or fabricated within a process controller, a field device, and an I / O device. In the process plant environment 5, a process controller receives signals indicative of process measurements produced by the field devices, processes this information to execute control routines and generate control signals, which are transmitted over conventional wired or wireless process control communication links or networks to other field devices to control the operation of a process in the plant 5. Typically, at least one field device performs a physical function (e.g., opening or closing a valve, increasing or decreasing a temperature, etc.) to control the operation of a process, and some types of field devices communicate with a controller by using I / O devices. The process controllers, field devices, and I / O devices may be wired or wireless, and any number and combination of wired and wireless process controllers, field devices, and I / O devices may be included within the process plant environment or system 5, each including a respective distributed data engine.
[0052] 1 illustrates a process controller 11 that is communicatively coupled to wired field devices 15-22 via input / output (I / O) cards 26 and 28, and to wireless field devices 40-46 via a wireless gateway 35 and a process control data highway or backbone 10 (which may include one or more wired and / or wireless communication links and may be implemented using any desired or suitable communication protocol, such as, for example, an Ethernet protocol). In one embodiment, the controller 11 is communicatively coupled to the wireless gateway 35 using one or more communications networks other than the backbone 10, such as by use of any number of other wired or wireless communication links supporting one or more communications protocols, such as, for example, Wi-Fi or other IEEE 802.11 compliant wireless local area network protocols, cellular communications protocols (e.g., WiMAX, LTE, or other ITU-R compliant protocols), Bluetooth®, HART®, WirelessHART®, Profibus, FOUNDATION® Fieldbus, etc. As referred to herein, the backbone 10 and these other communication networks are examples of "traditional" process control communication networks.
[0053] The controller 11, which may be, by way of example, a DeltaV™ controller sold by Emerson Process Management, may be operated to perform a batch or continuous process using at least some of the field devices 15-22 and 40-46. In one embodiment, in addition to being communicatively connected to the process control data highway 10, the controller 11 is also communicatively connected to at least some of the field devices 15-22 and 40-46 using any desired hardware and software, such as, for example, standard 4-20 mA devices, I / O cards 26, 28, and / or any smart communication protocol, such as FOUNDATION® Fieldbus protocol, HART® protocol, WirelessHART® protocol, etc. In FIG. 1, the controller 11, field devices 15-22, and I / O cards 26, 28 are wired devices, and the field devices 40-46 are wireless field devices. Of course, the wired field devices 15-22 and wireless field devices 40-46 may conform to any other desired standard(s) or protocol, such as any wired or wireless protocol, including any standard or protocol developed in the future.
[0054] The process controller 11 of FIG. 1 includes a processor 30 that executes or oversees one or more process control routines 38 (e.g., stored in memory 32). The processor 30 is configured to communicate with the field devices 15-22 and 40-46, as well as other nodes communicatively connected to the controller 11. It should be noted that any of the control routines or modules (quality prediction and fault detection modules or function blocks) described herein may be implemented or executed in part by different controllers or other devices, if so desired. Similarly, the control routines or modules 38 described herein implemented within the process control system 5 may take any form, including software, firmware, hardware, etc. The control routines may be implemented in any desired software format, such as by using object-oriented programming, ladder logic, sequential function charts, function block diagrams, or any other software programming language or design methodology. The control routines 38 may be stored in any desired type of memory 32, such as random access memory (RAM) or read-only memory (ROM). Similarly, the control routines 38 may be hard-coded, for example, into one or more EPROMs, EEPROMs, application specific integrated circuits (ASICs), or any other hardware or firmware elements. Thus, the controller 11 can be configured to implement the control strategies or routines in any desired manner.
[0055] In some embodiments, the controller 11 executes control strategies using what are generally referred to as function blocks, each of which is an object or other portion (e.g., a subroutine) of an overall control routine and which operates with other function blocks (through communications called links) to execute a process control loop within the process control system 5. A control-based function block typically performs one of the following: an input function, such as those associated with a transmitter, sensor, or other process parameter measurement device; a control function, such as those associated with a control routine that performs control, such as PID, fuzzy logic, etc.; or an output function that controls the operation of some device, such as a valve, to execute a physical function within the process control system 5. Of course, hybrid and other types of function blocks exist. The function blocks may be stored within and executed by the controller 11, which is typically the case when these function blocks are used for or associated with certain smart field devices, such as standard 4-20 mA devices and HART® devices, or the function blocks may be stored within and implemented by the field device itself, which may be the case for FOUNDATION® Fieldbus devices. The controller 11 may include one or more control routines 38, which may implement one or more control loops and may be executed by executing one or more of the function blocks.
[0056] Wired field devices 15-22 can be any type of device, such as sensors, valves, transmitters, positioners, etc., while I / O cards 26 and 28 can be any type of I / O device conforming to any desired communication or controller protocol. In Fig. 1, field devices 15-18 are standard 4-20 mA or HART® devices that communicate with I / O card 26 over analog lines or combined analog-digital lines, while field devices 19-22 are smart devices, such as FOUNDATION® Fieldbus field devices, that communicate with I / O card 28 over a digital bus using the FOUNDATION® Fieldbus communication protocol. However, in some embodiments, at least some of the wired field devices 15, 16, and 18-21 and / or at least some of the big data I / O cards 26, 28 additionally or alternatively communicate with the controller 11 (and / or other big data nodes) using the process control data highway 10 and / or using other suitable control system protocols (e.g., Profibus, DeviceNet, Foundation Fieldbus, ControlNet, Modbus, HART, etc.).
[0057] As shown in FIG. 1, the controller 11, the I / O cards 26 and 28, and the wired field devices 15-16, 18-21 each include a respective embedded distributed data engine, indicated by a circled "DDE," which communicates with other distributed data engines via one or more data analysis communication channels and / or networks (not shown in FIG. 1).
[0058] 1, the wireless field devices 40-46 communicate over a conventional wireless process control communication network 70 using a wireless protocol, such as the WirelessHART® protocol. Such wireless field devices 40-46 may communicate directly with one or more other devices or nodes of the process control data analysis communication network 112 that are also configured to communicate wirelessly (e.g., using this or another wireless protocol). To communicate with one or more other nodes that are not configured to communicate wirelessly, the wireless field devices 40-46 may utilize a wireless gateway 35 that is connected to the process control data highway 10 or another conventional process control communication network.
[0059] The wireless gateway 35 may provide access to the various wireless devices 40-58 of the wireless communication network 70. In particular, the wireless gateway 35 provides communication coupling between the wireless devices 40-58, the wired devices 11-28, and / or other nodes or devices of the process control plant 5. For example, the wireless gateway 35 may provide communication coupling using the process control data highway 10 and / or using one or more other conventional communication networks of the process plant 5.
[0060] Similar to the wired field devices 15-22, the wireless field devices 40-46 of the wireless network 70 may perform physical control functions within the process plant 5, such as opening or closing a valve or taking a measurement of a process parameter. However, the wireless field devices 40-46 are configured to communicate using the wireless protocol of the network 70. Thus, the wireless field devices 40-46, the wireless gateway 35, and the other wireless nodes 52-58 of the wireless network 70 are producers and consumers of wireless communication packets.
[0061] In some scenarios, the wireless network 70 may include non-wireless devices. For example, the field device 48 in FIG. 1 may be a legacy 4-20 mA device, and the field device 50 may be a conventional wired HART® device. To communicate within the network 70, the field devices 48 and 50 may be connected to the wireless communication network 70 via a wireless adapter or may be integrated with the wireless adapter 52a, 52b. The wireless adapters 52a, 52b may support other communication protocols such as Foundation® Fieldbus, PROFIBUS, DeviceNet, etc. Additionally, the wireless network 70 may include one or more network access points 55a, 55b, which may be separate physical devices that communicate with the wireless gateway 35 via wires, or may be provided as an integrated device together with the wireless gateway 35. The wireless network 70 may also include one or more routers 58 to forward packets from one wireless device to another within the wireless communication network 70. The wireless devices 40 - 46 and 52 - 58 may communicate with each other and with the wireless gateway 35 over wireless links 60 of the wireless communication network 70 and / or via the process control data highway 10 .
[0062] As shown in FIG. 1, adapter 52a, access point 55a, and router 58 each include a respective embedded distributed data engine, indicated by a circled "DDE," which communicates with other distributed data engines via one or more data analysis communication channels and / or networks (not shown in FIG. 1).
[0063] In some embodiments, the process control system 5 includes one or more other wireless access points 72 that communicate using other wireless protocols, such as Wi-Fi or other IEEE 802.11 compliant wireless local area network protocols, mobile communication protocols such as Worldwide Interoperability for Microwave Access (WiMAX), Long Term Evolution (LTE), or other International Telecommunication Union Radio communication Sector (ITU-R) compliant protocols, short wavelength wireless communications such as Near Field Communication (NFC) and Bluetooth, or other wireless communication protocols. Typically, such wireless access points 72 enable communication by handheld or other portable computing devices (e.g., user interface devices 73) over a respective conventional wireless process control communication network that is different from the wireless network 70 and that supports a different wireless protocol than the wireless network 70. For example, the wireless or portable user interface devices 73 may be mobile workstations or diagnostic test equipment utilized by operators within the process plant 5. In some scenarios, in addition to portable computing devices, one or more process control devices (eg, controller 11, field devices 15-22, or wireless devices 35, 40-58) also communicate using the wireless protocol supported by access point 72.
[0064] In some embodiments, the process control system 5 includes one or more gateways 75, 78 to systems outside the immediate process control system 5. Typically, such systems are consumers or sources of information generated by the process control system 5 or on which the operation of the process control system 5 is based. For example, the process control plant 5 may include a gateway node 75 to communicatively connect the immediate process plant 5 to another process plant. Additionally or alternatively, the process control plant 5 may include a gateway node 78 to communicatively connect the immediate process plant 5 to external public or private systems, such as a laboratory system (e.g., a laboratory information management system or LIMS), an operator round database, a material handling system, a maintenance management system, a product inventory control system, a production scheduling system, a weather data system, a shipping and handling system, a packaging system, the Internet, another provider's process control system, or other external systems.
[0065] As shown in FIG. 1, access point 72, user interface device 73, and gateway 75 each include a respective embedded distributed data engine, indicated by a circled "DDE," which communicates with other distributed data engines via one or more data analysis communication channels and / or networks (not shown in FIG. 1).
[0066] 1 only illustrates a single controller 11 along with a finite number of field devices 15-22 and 40-46, wireless gateway 35, wireless adapter 52, access point 55, router 58, and process control communications network 70 contained within the process plant 5, it is noted that this is an illustrative and non-limiting embodiment only. Any number of controllers 11 may be included within the process control plant or system 5, and any of the controllers 11 may communicate with any number of wired or wireless devices and networks 15-22, 40-46, 35, 52, 55, 58, and 70 to control processes within the plant 5.
[0067] Exemplary Distributed Industrial Process Performance Monitoring and Analysis System Architecture 2A includes a block diagram of an exemplary system 100 for distributed industrial process performance monitoring and analysis, also referred to interchangeably herein as a Data Analytics System (DAS). The DAS 100 may operate in conjunction with, for example, the process plant 5 of FIG. 1, and is so discussed herein for ease of illustration. However, it is understood that at least a portion of the DAS 100 may operate in conjunction with other process plants and / or process control systems other than the process plant 5.
[0068] Generally, the DAS 100 supports localized performance monitoring and / or analysis while simultaneously supporting large-scale (e.g., across the entire system and / or multiple devices or nodes of the process plant 5) performance monitoring, data mining, and data analysis for the process plant environment. To this end, the system 100 includes multiple distributed data engines (DDEs), examples of which are shown in FIG. 2A with reference numerals 102a-102e and in FIG. 2B with reference numerals 102f-102h. As used herein, reference numeral "102x" refers to any one or more of the DDEs 102a-102h. At least some of the distributed data engines illustrated in FIG. 2A correspond to the distributed data engines illustrated in FIG. 1. For example, the data engine 102a in FIG. 2A is a data engine included within the wireless gateway 35 in FIG. 1, and the data engine 102b in FIG. 2A is a data engine embedded in the controller 11 in FIG. 1. In addition, the system 100 includes other distributed data engines 102 not shown in Figure 1. For example, distributed data engine 102c is connected to the data highway 10, distributed data engine 102d is embedded in a centralized big data appliance 108 of the process plant 5, and distributed data engine 102e is embedded in a big data cloud node 110, where the big data cloud node 110 can handle the data analysis needs of the process control plant 5 (and in some configurations, other process control plants). Of course, the system 100 is not limited to five data engines 102a-102e, or eight data engines 102a-102h, but can include any number of distributed data engines, at least some of which are embedded or manufactured within their respective data sources (e.g., in respective process control devices of the process plant 5) and / or at least some of which are otherwise connected to some other data source (e.g., components, parts, etc.) of the process plant 5.
[0069] As noted above, although in some configurations some distributed data engines 102x may communicate at least some information with other data engines using a conventional process control communication network, typically the distributed data engines do not communicate with other distributed data engines using any of the conventional process control plant communication networks (e.g., the backbone 10, the wireless network 70, the wired connections between the I / O cards 28 and the devices 19-22 of FIG. 1, etc.). Generally, however, the data engines 102x communicate with other data engines 102x using one or more data analysis communication networks 112 that are separate and distinct from the conventional process control network. The analytical data is streamed between the distributed data engines or nodes of the network 112, for example, by using an analytical streaming service, a streaming and / or queuing protocol, and / or a messaging broker or system 115 that supports streaming, such as custom streaming sources, Flume, HDFS, ZeroMQ, Kafka, Microsoft Message Bus, MQTT, AMQP, RabbitMQ, or the like, a custom specialized history object communications protocol, such as that described in the aforementioned U.S. application Ser. No. 14 / 506,863, entitled "STREAMING DATA FOR ANALYTICS IN PROCESS CONTROL SYSTEMS," or another suitable communications protocol. In FIG. 2A, the network 112 is not fully depicted for clarity, although several branches of the data analytics communications network 112 are depicted in FIG. 2A. Thus, in some embodiments, at least a portion of the data analytics communications network 112 may be, in some sense, an overlay network on top of a conventional process control communications network in the plant 5.For example, the physical equipment including the DDE 102x and at least a portion of the data analysis network 112 may be located on the premises of the process plant 5, and in some cases may be located within the equipment of the process plant 5.
[0070] In another embodiment, at least a portion of the data analytics communication network 112 may be implemented alongside or substantially in parallel with a conventional process control communication network, as shown in FIG. 2B. In FIG. 2B, a process plant 5 includes various process control devices or components that are communicatively connected to a conventional process control communication network, for example, to aid in the control of one or more processes within the plant 5. Three of such process control devices / components each have a respective DDE 102f, 102g, and 102h embedded therein and associated therewith, and each of the DDEs 102f-102h is communicatively connected to the data analytics network 112. However, the majority of the equipment supporting and / or comprising the data analytics network 112 is not located within the facilities of the process plant 5, but instead may be located remotely in an enterprise data center.
[0071] In another embodiment, at least a portion of the data analytics communication network 112 may be implemented as a logical network within the process plant 5. In this embodiment, for example, both process control data and analytical data may be transmitted over the same physical communication link, which has the appearance of logically separate links, such as one conventional process communication link and one data analytics communication link.
[0072] However, regardless of the implementation of the data analysis network 112, the data analysis network 112 intersects with the traditional process control communications network at devices or nodes within the process control system 5 that have distributed data engines (e.g., data engines 102a, 102b, 102f, 102g, 102h) embedded therein and communicate information with other devices or nodes within the process control system 5 via the traditional process control communications network and / or by a distributed data engine (e.g., data engine 102c) that is connected thereto for the purpose of having a window into the data being transmitted to the traditional process control communications network.
[0073] The data analysis network 112 may utilize any desired communication technology and / or communication protocol. At least a portion of the data analysis network 112 may utilize wired technology and at least a portion of the data analysis network 112 may utilize wireless technology. In general, however, the data analysis network 112 may support data packet transmission protocols and / or technologies such as IP or other asynchronous data packet protocols rather than Ethernet.
[0074] At a higher or upper layer, the data analytics network 112 may utilize streaming-enabled protocols, message brokers handling real-time data feeds, and / or messaging systems handling real-time data feeds 115, such as Apache Kafka. As shown in FIG. 2A, the streaming capabilities 115 provided by the data analytics network 112 enable the distributed performance monitoring and analysis system, or DAS 100, to bind locally to data sources and provide various analytical services near the data sources (e.g., near or at the devices or nodes of the process plant 5 where the distributed data engines 102x are embedded, such as 11, 18, 26, 28, 72, 35, 52a, 55a, 72, FIG. 1). At the same time, the streaming capabilities 115 of the system 100 also enable larger-scale prediction and optimization by the system 100, since only the specific source-generated data required to support a broader or higher-level data analysis needs to be communicated to the receiving data engines. For example, if the data engine 102d performs a particular data analysis only on data generated by each of the controllers of the process plant 5 and captured within one hour after a particular configuration change was instantiated in each controller, then the data engine 102b embedded in the controller 11 will stream only the data that is needed to the engine 102d (e.g., only the output data generated by the controller 11 within one hour after a particular configuration change was instantiated to the data engine 102d, and not other output data generated by the controller 11).
[0075] As shown in Figure 2A, portions of the distributed performance monitoring and analysis system or DAS 100 are located locally within the process control environment or plant 5. For example, distributed data engines 102a, 102b, 102c, and 102d are located on the premises of the process plant 5. As also shown in Figure 2A, other portions of the system 100 are located remotely. For example, data engine 102e is located in the cloud 110. Other data engines 102x may be located at one or more remote locations (not shown), such as a server bank serving multiple process plants or process control systems. Of course, in some configurations, the system 100 may omit a locally located data engine or may omit a remotely located data engine. That is, the system 100 may provide performance monitoring and analysis (e.g., via one or more distributed data engines) entirely on-premise (e.g., locally) to the subject process control environment 5, entirely off-premise (e.g., remotely) to the subject process control environment 5, or using a combination of on-premise and off-premise distributed data engines (e.g., locally and remotely).
[0076] Example Types of Performance Monitoring and Analysis for Industrial Control Systems Generally, industrial control system performance monitoring and analysis involves collecting data generated by a subject control system (e.g., in real time while the system is operating to control a process or processes) and performing one or more analytical functions or operations on at least a portion of the collected data to determine knowledge about how well the control system is functioning, or in some cases, actions that can be taken to improve the performance of the system. Industrial process control system data analysis can be considered in three general categories: descriptive analytics, predictive analytics, and prescriptive analytics. A general discussion of these categories of analytics follows.
[0077] Descriptive analysis allows a user to discover what happened in a process control system or plant, when it happened, how often it happened, and what problem(s) resulted from what happened. Typically, descriptive analysis is performed on data collected (e.g., inductively) by monitoring the process system or plant and may utilize techniques such as basic calculations, scaling, and standard statistics.
[0078] Prescriptive analytics allows users to optimize operations within a process control system or plant. For example, prescriptive analytics allows users to answer questions such as: What is the best answer? What is the best outcome given uncertainty? What are significantly different and better options? Predictive analytics can identify, monitor, and control key quality variables or key indicators of process operations in industrial process control plants and systems. In addition, predictive analytics can identify what will happen to key quality variables or key indicators of process operations given a set of future inputs or causal conditions. The predicted values can then be leveraged by prescriptive analytics to generate prescriptive actions. Typically, prescriptive analytics leverages techniques such as constraint-based optimization and multi-objective optimization, but known data monitoring and analysis tools are rudimentary and significantly limited in scope.
[0079] For example, known data monitoring and analysis tools may allow a user or operator to optimize the performance of a single piece of equipment or unit of a plant by using constraint-based optimization tools that operate based on data collected by monitoring (e.g., inductively) that single piece of equipment or unit. However, because a process control system or plant includes multiple pieces of equipment and process units, the overall process may still be far from optimal due to process interactions between multiple units. Although multi-objective optimization techniques for interacting units or collaborative optimization across portions of a process control system are available in known data monitoring and analysis tools (e.g., modeling based on first principles), due to the increasing complexity of the process, such collaborative optimization techniques are difficult and often take too long to perform to be useful (if at all). For example, known multi-objective optimization tools operate based on data collected by monitoring (e.g., inductively) multiple pieces of equipment or units to identify an optimal operating point and determine a trajectory that moves the current operating point to the optimal operating point. However, each cycle of data collection and calculation based thereon can be very time consuming, such that by the time a prescriptive action is identified, the process has moved too far in its operation, and as a result, the identified prescriptive action may no longer be optimal or may even be ineffective, counterproductive, and / or dangerous.Furthermore, when a user attempts to reduce or limit the size and scope of a calculation (and thus the time required for the calculation) by limiting the amount of variables input to a multi-objective optimization tool, the user is making human judgments about which variables to select as inputs, which are not only limited in scope but may also be imprecise, thus resulting in erroneous or inaccurate results.
[0080] Furthermore, known data monitoring and analysis tools often fail to provide the identity and value of critical quality variables on demand (e.g., due to limitations in available measurement techniques) and fail to provide timely and relevant results. For example, currently used techniques for predictive analysis of process control systems include either offline (e.g., laboratory) or online (e.g., analyzer) techniques, both of which have their respective drawbacks. Offline determination of critical quality variables is undesirable because significant delays incurred by laboratory testing would make any output suboptimal or even invalid for the current process conditions (e.g., the measured signal cannot be used as a feedback signal). The use of online analyzers to determine critical quality variables is also undesirable because known online analyzers are problematic, expensive, and require frequent and costly maintenance. Such limitations can have serious impacts on product quality, waste generation, and operational safety.
[0081] Furthermore, in large-scale monitoring situations, traditional centralized performance monitoring schemes have serious limitations. A suitable performance monitoring system should have fault-tolerant capability, operational reliability, and economy, all of which are compromised when a centralized performance monitoring scheme is applied to a large-scale monitoring situation. Specifically, the centralized monitor monitors the failures of all units of the process simultaneously. Since the centralized monitor uses all measurement variables in its calculations, and the entire monitoring system may stop functioning if one variable is unavailable or one communication channel is interrupted, once a failure is found in one unit, the centralized monitor is limited in its ability to detect further failures from other units occurring during the same period. In addition, the real-time capability of the centralized monitor is limited by the lowest sampling rate of the variables, which reduces the efficiency of the monitoring system. Furthermore, different variables in a plant have very different scales of dynamics (even within the same unit), and a single monitoring scheme is usually not applied to all variables of the entire process or unit, and is suboptimal, especially in situations where the variables affect each other, e.g., across interacting process units. Still further, when there is geographic distribution within a process control system (e.g., long distances between various process units, such as an oil pipeline), each unit is typically equipped with separate performance monitoring equipment, thereby creating problems with local (but not global) performance monitoring, as well as transmission delays, data loss, and battery limitations.
[0082] Unlike the rudimentary, univariate, and / or centralized predictive monitoring and analysis techniques currently in use, and unlike the inductive nature of descriptive and prescriptive analysis, the novel distributed performance monitoring and analysis systems, methods, apparatus, components, and techniques for industrial control systems and plants described herein enable users to monitor what is currently happening within a process control system or plant at any point in time, and to predict in real time what is likely to happen next or later based on the current data. The novel techniques disclosed herein enable users to answer questions such as "What's happening now?", "What's going to happen next?", "What will happen if this trend continues?", etc., with little or no user or human preconceptions about the characteristics of the process data.
[0083] The novel techniques for distributed performance monitoring and analysis for industrial control systems described herein generally include a platform (e.g., the system architecture 100 shown in FIG. 2A) and applications that operate on or in conjunction with the platform. The platform supports, for example, evaluation, monitoring, and data mining of process control systems or plants (e.g., process control system 5) utilizing a data-driven methodology that is augmented with equipment and process knowledge before, during, and after the process control system or plant operates to control one or more processes. In some implementations, the platform may support multiple control systems or plants.
[0084] Performance monitoring / analysis applications that rely on or operate in conjunction with this platform may include, for example, inferred measurements, equipment monitoring, fault detection, process prediction, causality, other monitoring applications, and / or other analytical applications. Techniques that may be leveraged by these applications include data mining, optimization, predictive modeling, machine learning, simulation, distributed state estimation, etc. Thus, the monitoring / analysis applications may be used to monitor, predict, and diagnose performance degradation and failures of any number of any parts of the process control system 5, including in areas such as instrumentation, equipment, controls, user interactions, and processes.
[0085] Thus, the distributed industrial performance monitoring and analysis techniques described herein may include inference mechanisms that provide continuous online evaluation of key process variables from readily available process measurements. To maintain the data model over time, the system may further support the ability to monitor, adjust, and enhance the data model. Methods that may be used include, in the simplest case, detuning the model (e.g., increasing the normal operating range to prediction ±3s). More complex examples include model switching and model adaptation.
[0086] Indeed, as part of a research and prototype testing program, the inventors have used the techniques described herein to establish a prototype industrial process performance data monitoring and data analysis framework to address the problems of soft sensor development in the presence of non-linearities, non-Gaussian distributions, data sample irregularities, process constraints, and / or other factors. In these prototypes and studies, data generated by several soft sensors was monitored and analyzed for specialty chemical, batch, and hydrocarbon processes, and the resulting knowledge was utilized to improve the processes gained. Significant economic and environmental benefits were reported by our industrial partners. Examples of our research and prototypes are described in later sections.
[0087] Returning now to FIG. 2A, the present distributed industrial performance monitoring and analysis system, or DAS 100, provides the tools, configurations, and interfaces required to support localized performance monitoring while simultaneously supporting large scale data mining and data analysis for a process plant environment, such as the process plant 5 of FIG. 1. For example, the system 100 may include a user interface application (e.g., Data Analytics Studio) for configuring and developing data analysis models, a run-time engine for executing the models (which may operate in whole or in part based on real-time data generated by the process control system), and the same or another user interface application (e.g., Run-time Dashboard) for displaying the analysis results. The system 100 may operate on or support multiple types of data sources, such as real-time values (e.g., real-time continuous values) as previously described, external data such as event collection, batch data collection, operator round data, LIMS data, supply chain data, and / or weather data, and any other type of data associated with a process control system, including both structured and unstructured data. The system 100 may provide a set of "outside the box" standard analyses, such as descriptive statistics, histogram plots, correlation plots, etc. Additionally, the system 100 may provide a structured environment for a user to create desired analyses and view both the source data and the n-th order data generated by applying multiple different data analyses to identify potential relationships within various data sets of a process control system and / or predict product capabilities, quality, and other characteristics. In general, the system 100 may provide knowledge discovery about a process control system, as well as actionable knowledge (e.g., to improve or optimize the performance of the process control system, to correct and / or predict failures, to improve reliability, to improve safety, to improve economics, etc.), which may be represented as a data model.
[0088] As shown in FIG. 2A, the system 100 can be highly distributed, for example, including a large number of distributed data engines 102x. The network 112 of embedded data engines 102x can interconnect a large number (e.g., hundreds, thousands, or millions) of sensors and sources of information of the process control system. As previously described, the data engines 102x are clustered near, at, or within the devices and nodes of the process control system (e.g., manufacturing equipment, process control devices, communication nodes, material handling systems, laboratory systems, plant users, and the process itself). Thus, the embedded nature of the distributed industrial performance monitoring and analysis system 100 is tightly coupled to the physical process control plant. However, the embedding and integration of the data engines 102x into the fabric of the manufacturing of the process control system devices and nodes can make the data engines 102x nearly invisible to end users. Typically, the data engine 102x is small, wirelessly connected to the network 112, has limited bandwidth, and operates under physical constraints such as limited energy and the need for sufficient heat dissipation because the data engine 102x may be embedded within a process control device, such as a temperature sensor or other type of sensor.
[0089] As previously described, the distributed data engines 102x interconnect with other data engines 102x over the network 112 using streaming and / or queuing protocols. Each distributed data engine 102x may support one or more data monitoring and / or data analysis applications. Large numbers of connected clusters of applications may require the use of statistically accurate (rather than deterministic) algorithms for resource accounting, fault detection and correction, system management, etc., with each cluster providing targeted functionality for localized needs.
[0090] Thus, the distributed industrial performance monitoring and analysis system 100 may improve the safety, efficiency, and productivity of a process control plant. For example, the system 100 may precisely control process parameters, thus reducing the overall cost of process manufacturing. Additionally, integration of the system 100 into a process control environment 5 may result in better product quality and less waste due to precise process control and real-time quality assurance; more flexible, rapidly configured production lines as a result of programmable subsystems; system health monitoring leading to more effective, preventative, and lower cost maintenance; a safer work environment due to better monitoring and control; and better part assembly techniques, such as through the use of smart RFID tags, to name just a few of the myriad benefits.
[0091] The distributed industrial performance monitoring and analysis system 100 may also improve human-machine interaction between users and the process control system 5 to the point of creating a real-time human-plus-machine control loop within the process plant 5. For example, the improved human-machine interaction may increase quality and productivity by ensuring the absence of operator / maintenance / reliability errors, as well as by reducing accidents. Additionally, availability, reliability, and continuous quality of service of the process control plant 5 may be achieved through advanced control, redundancy, intelligent alarms, self-diagnosis, and repair by the system 100.
[0092] Exemplary Industrial Performance Data Monitoring / Data Analysis Engine Turning now to the distributed, industrial performance distributed data monitoring and / or analytics engine 102x, generally, the distributed data engine 102x may be a node of the data analytics communication network 112 that collects, observes, retrieves, receives, processes, stores, caches, and / or analyzes all or most of the process control related data (e.g., big data) generated or otherwise observed by one or more data sources, such as by the device or component in which the data engine 102x is embedded, or by the component(s) to which the data engine 102x is coupled or connected. In some circumstances, the distributed engine 102x may generate additional data (e.g., results of the analyses it performs) and / or transmit or forward selected data to other nodes of the data analytics network 112. As used interchangeably herein, the terms “process control big data,” “process big data,” and “big data” generally refer to all (or substantially all) data generated, received, and / or observed by devices and / or components (e.g., both process control devices / components and analytical devices / components) contained within and associated with a process control system or plant (e.g., process control system or plant 5), and in particular, all (or substantially all) data generated, received, and / or observed while the process control system or plant is running to control one or more processes in real time. In one embodiment, all data (including all process data and all analytical data) generated by, created by, received at, or otherwise observed by all devices contained within and associated with the process plant 5 is collected and stored as big data in the data analytics communication network 112. In process plant and process control environments, the collection and analysis of this big data is important to improve safety, reliability, and economics, since time spans and the presence or absence of certain data points can be critical.For example, if a particular data value is not delivered to a receiving component of a process plant within a particular time interval, the process may become uncontrollable, which may lead to fire, explosion, loss of equipment, and / or loss of life. Furthermore, multiple and / or complex time-based relationships between different components, entities, and / or processes operating within the process plant and / or external to the process plant may affect operational efficiency, product quality, and / or plant safety.
[0093] The process control big data generated, collected, observed, retrieved, received, stored, cached, processed, analyzed, and / or forwarded by the distributed data engine 102x may include data directly utilized in or generated from controlling a process within the plant 5, and may include, for example, first-order real-time and configuration data generated or used by process control devices, such as controllers, input / output (I / O) devices, and field devices. Additionally or alternatively, the data engine 102x may generate, collect, observe, process, analyze, store, receive, retrieve, cache, and / or forward such first-order process control data, as well as other data within the process plant 5, such as data related to network control of the data analytics communication network 112 and / or other communication networks within the plant 5, data indicative of bandwidth, network access attempts, diagnostic data, and / or the like. Additionally, some of the data engines 102x may generate, collect, observe, store, cache, retrieve, receive, and / or forward data indicative of results, learnings, and / or information learned therein by processing and / or analyzing the process control big data collected by the process control data analytics communication network 112. Typically, such analysis results, learnings, and / or learned information are generated from analyses performed by one or more data engines 102x.
[0094] Accordingly, the distributed data engines (e.g., DDEs 102x) are referred to interchangeably herein as “big data appliances,” “big data appliance nodes,” or “appliance nodes.” In most cases, the distributed data engines of the big data appliance nodes 102x include multi-core hardware (e.g., multi-core processors) for sending and receiving big data in real time (e.g., via streaming) and, in some embodiments, for caching and / or storing the real-time big data for later streaming or other delivery over the process control data analytics communication network 112. Accordingly, the distributed data engines 102x also include memory (e.g., high density memory) for caching and / or storing the big data. Examples of real-time data that may be sent, received, streamed, cached, collected, stored, received, retrieved, cached, and / or otherwise observed by the data engines 102x may include process control data, such as measurement data, configuration data, batch data, event data, and / or continuous data. For example, real-time data corresponding to configurations, batch recipes, set points, outputs, rates, control actions, diagnostics, alarms, events, and / or changes thereto may be collected. Other examples of real-time data may include process models, statistics, status data, network and plant management data, and analytical results. Descriptions of various types of exemplary big data appliances and their components that may be utilized with any or all of the techniques described herein may be found in the aforementioned U.S. patent applications 13 / 784,041, 14 / 174,413, and 14 / 212,493, although it will be understood that any or all of the techniques described herein may be utilized with other suitable big data appliances.
[0095] Typically, the distributed data engine 102x generally operates on big data generated or provided by one or more data sources within the process control plant or system 5 and / or otherwise associated with the real-time operation of the process control plant or system 5. For example, the DDE 102x may collect and timestamp data received at and / or generated by the device in which it is embedded or data received at and / or generated at its corresponding data source(s). The collected data may be stored (at least temporarily) in a local memory of the data engine 102x. In some circumstances, at least some of the data may be transported or streamed to one or more other data engines 102x using a specialized history object communication protocol such as that described in the aforementioned U.S. application Ser. No. 14 / 506,863, entitled "STREAMING DATA FOR ANALYTICS IN PROCESS CONTROL SYSTEMS," or another suitable communication protocol or messaging system such as Kafka.
[0096] In some embodiments, one or more data engines 102x support large-scale data mining and data analysis based on multi-dimensional data, including real-time continuous values, event collections, batch data collections, operator round data, and / or other data. A distributed data engine 102x may be configured to perform one or more data analyses based on its locally collected data and / or data collected by other DDEs 102x. For example, a DDE 102x may include various tools that operate on structured data (e.g., time series and tabular data stored in memory, relational databases, and / or non-relational databases, or streamed) as well as unstructured data (e.g., pdf). Additionally, a DDE 102x may support any one or more desired target environments and execute respective target code therein (e.g., Java, C#, R scripts, Python scripts, Matlab scripts, Statgraphics, etc.). The DDE 102x may perform learning algorithms (e.g., partial least squares regression, principal component analysis, etc.), classification techniques (e.g., random forests, pattern recognition, etc.), and / or other data analysis to generate results and / or useful information, such as predicting product capabilities, quality, and / or other desired characteristics. Results of the local analysis may be stored in the local memory of the data engine 102x and may itself be processed as additional big data. Additionally, some data engines 102x may include interfaces for configuring and developing models, run-time engines for executing the models, and dashboards for displaying results in a user interface. For example, the distributed data engine 102x may be configured with run-time analytics in a manner such as that discussed in the aforementioned U.S. Application Serial No. 62 / 060,408, entitled "DATA PIPELINE FOR PROCESS CONTROL SYSTEM ANALYTICS," and / or as discussed in later sections of this disclosure.The displayed results may include standardized descriptive statistics, histograms, correlation plots, and / or other data representations that allow for the identification of potential relationships within various data sets.
[0097] In some cases, the distributed data engine 102x is embedded within, manufactured within, directly coupled to, or otherwise co-resident with a host data source (e.g., data engines 102a, 102b, and 102c shown in FIG. 2A). In some cases, the distributed data engine 102x may be an autonomous big data node of the process control data analytics communication network 112 (e.g., data engines 102d and 102e shown in FIG. 2A). That is, in these cases, the data engine 102x is not embedded within or co-resident with the data source of the process control system or plant 5, but may otherwise observe data generated by one or more data sources (e.g., data engine 102c, etc., when the distributed data engine is coupled with a conventional process control communication link). Whether embedded or autonomous, the data engine 102x analyzes big data locally generated and / or provided by one or more data sources to discover or learn knowledge. This learned knowledge may be stored in the data engine 102x, acted upon locally by the data engine 102x, and / or provided or transmitted as big data to other data engines 102x, such as receiving big data nodes. In addition, the distributed data engine 102x may provide portions of its known or stored big data to other data engines 102x and / or other nodes of the analytic network 112 (e.g., local or remote user interface nodes).
[0098] 3 includes a simplified block diagram of an example distributed industrial process performance data monitoring and / or data analysis engine 150, an instance of which may be included in the process control data analysis communication network 112 of FIG. 2A (e.g., distributed data engine 102x). With reference to FIG. 3, the example distributed data engine 150 includes a big data storage area 155 for caching, storing, and / or historizing big data, one or more big data appliance receivers 160, and one or more big data appliance request servicers 165. Each of the big data appliance receivers 160 is configured to receive and / or observe data from one or more data sources 168. In one embodiment, the big data appliance receivers 160 receive and / or observe data traveling through a conventional process control communication network via a network interface to the conventional process control communication network, such as the data highway 10, a Fieldbus network, a WirelessHART network, or the like. Additionally or alternatively, big data appliance receiver 160 may receive data via a local interface from its corresponding data source(s) 168, such as a process control device or other type of device in which DDE 150 is embedded, manufactured therein, or to which DDE 150 is locally, directly, and / or otherwise closely coupled. Still additionally or alternatively, big data appliance receiver 160 may receive big data packets, for example, via data analysis network interface 175. The received big data packets may have been streamed from another DDE 150 and / or generated by a big data source with which data engine 150 resides.Regardless of the source(s) 168 of the received / observed data, the big data appliance receiver 160 processes the received / observed data packets and / or messages to retrieve the substantial data and timestamps carried therein, and stores the substantial data and timestamps in the big data storage area 155 of the data engine 150, e.g., as time series data, and optionally as metadata. As used herein, the term "metadata" generally refers to data about the data, such as statistical information about the data, categorical information about the data, summary information, descriptive information, definitions, etc. The big data storage area 155 may comprise multiple local and / or remote physical data drives or storage entities, such as Redundant Array of Independent Disks (RAID) storage, solid-state storage, cloud storage, high-density data storage, and / or any other suitable data storage technology suitable for databank or datacenter storage, having the appearance of a single or centralized logical data storage area or entity to other nodes, and configured to locally store and / or historize the big data.
[0099] Each of the big data appliance request servicers 165 is configured to access the time series data and / or metadata stored in the big data appliance storage area 155, for example, per request of a requesting entity or an application, such as a local or remote data analysis application, a user interface application, or another application. For example, the big data appliance request servicer 165 may expose selected data stored in the big data appliance storage area 155 to subscribers of the selected data at a given time interval. In another example, the big data appliance request servicer 165 may retrieve data stored in the local big data appliance storage area 155 per request of a remotely executing data analysis application. Additional examples of accessing data stored in the DDE 150 are discussed in a later section. Such data may be stored in a variety of data formats, including relational or non-relational databases, or other data structures. In some embodiments, a standardized query format may be used to access data in any of these data sources.
[0100] In some embodiments, the distributed data engine 150 includes one or more big data analyzers 170 for performing respective data analysis and / or learning on at least a portion of the big data stored in the memory 155. The execution of the local analysis and / or learning may be performed in response to a command or instruction generated by a user or another node. Additionally or alternatively, the execution of the local analysis and / or learning may be performed in an automatic and / or autonomous manner without the use of any input from a user or another node to initiate and / or perform the learning analysis. For example, the data analysis and / or learning may be performed in a manner such as that discussed above, such as that discussed in the aforementioned U.S. Application No. 62 / 060,408, entitled "DATA PIPELINE FOR PROCESS CONTROL SYSTEM ANALYTICS," or in any other suitable manner. In an embodiment, the big data analyzers 170 individually or collectively perform large-scale data analysis (e.g., data mining, data discovery, etc.) on the stored data to discover, detect, or learn new information or knowledge. Data mining generally involves the process of examining large amounts of data to extract new or previously unknown interesting data or patterns, such as unusual records or groups of data records. The big data analyzer 170 may also perform large-scale data analytics (e.g., machine learning analysis, data modeling, pattern recognition, predictive analytics, correlation analytics, etc.) on the stored data to predict, calculate, or identify potential relationships or inferences within the stored data.
[0101] In some embodiments, multiple big data analyzers 170 (and / or multiple instances of at least one big data analyzer 170) may operate in parallel and / or cooperatively to analyze data stored in the big data storage area 155 of the distributed data engine 150 and / or to analyze data stored in one or more other big data storage areas of other distributed data engines 102x. Furthermore, multiple big data analyzers 170 may share, exchange, or transfer calculated parameters and model information between each other as a type of cooperative data analysis and learning. Multiple big data analyzers 170 may co-exist on the same big data node or may reside on different big data nodes. An example of collaborative data analysis that may be utilized with any or all of the techniques described herein is found in the aforementioned U.S. Application No. 62 / 060,408, entitled "DATA PIPELINE FOR PROCESS CONTROL SYSTEM ANALYTICS," although any suitable collaborative data analysis technique(s) may be utilized with any or all aspects of the present disclosure. Results of the analysis performed by the big data analyzer 170 may be stored in the big data appliance storage area 155 and / or returned to a requesting entity or application.
[0102] In some embodiments, at least a portion of the big data receiver 160, the big data appliance request servicer 165, and / or the big data analyzer 170 are included or implemented in one or more integrated circuits, semiconductors, chips, or other suitable hardware. For example, the big data analyzer 170 performing the spectrum analysis may be implemented by an integrated circuit chip included in a big data node, such as that described in the aforementioned U.S. Application No. 14 / 507,252, entitled "AUTOMATIC SIGNAL PROCESSING-BASED LEARNING IN A PROCESS PLANT." In some embodiments, at least a portion of the big data receiver 160, the big data appliance request servicer 165, and / or the big data analyzer 170 include computer-executable instructions stored in memory and executable by processes operating in the distributed data engine 150. For example, at least a portion of the big data appliance receiver 160, the big data appliance request servicer 165, and / or the big data appliance analyzer 170 may include respective computer-executable instructions stored in one or more non-transitory, tangible memory or data storage devices and executable by one or more processors to perform one or more of the respective big data functions.
[0103] In some embodiments, at least some of the big data analyzers 170 are not included in the distributed data engine 150, but instead are co-located with and communicatively connected to the distributed data engine 150 in the same host data source device or component. For example, the data engine 150, including the storage area 155, the receiver 160, and the servicer 165, may be implemented by a first set of computer executable instructions, and the big data analyzer 170 may be implemented by a semiconductor chip or a second set of computer executable instructions, which may or may not be stored in the same non-transitory, tangible memory or data storage device as the first set of computer executable instructions. In some embodiments, the big data analyzer 170 is not included in the data engine 150, is not co-located with the data engine 150 in the same host data source device or component, but is still communicatively connected to the data engine 150. For example, the big data analyzer 170 may be located in another node of the data analysis network 112, not the DDE 150, such as a user interface node or an analysis server.
[0104] 3 further includes one or more network interfaces 175 configured to enable data engine 150 to transmit and receive payload big data through data analytics network 112, as well as to communicate (e.g., signaling and other types of communication) with other data engines and nodes of data analytics network 112. For example, data engine 150 may use network interface 175 to subscribe to a type of data published by another node, and the type of data generated by the publishing node and the type of data to which data engine 150 subscribes may be received via network interface 175.
[0105] As previously discussed, various types of real-time data may be generated, collected, observed, retrieved, received, stored, cached, processed, analyzed, and / or streamed by the distributed data engines 102x, such as process-related data, plant-related data, and other types of data. Examples of process-related data include continuous, batch, measurement, and event data that is generated while a process is being controlled in the process plant 5 (and in some cases indicative of the effects of the real-time execution of a process). Additionally, process-related data may include process definitions, sequence data or setup data, such as configuration data and / or batch recipe data, data corresponding to configurations, process diagnostics runs and results, and the like.
[0106] Plant-related data, such as data related to the process plant 5 but not generated by applications that directly configure, control, or diagnose processes of the process plant 5, may be generated, collected, observed, retrieved, received, stored, cached, processed, analyzed, and / or streamed as big data by the distributed data engine 102x. Examples of plant-related data include vibration data, steam trap data, data indicative of values of parameters corresponding to plant safety (e.g., corrosion data, gas detection data, etc.), data indicative of events corresponding to plant safety, data corresponding to machinery health, data corresponding to assets of the plant such as plant equipment and / or devices, data corresponding to configurations, performance and results of equipment, machinery, and / or device diagnostics, and data useful for diagnostics and prognosis.
[0107] Additionally, other types of data, including data highway traffic data and network management data associated with the process control big data network backbone as well as various communication networks of the process plant 5, user related data such as user traffic, login attempts, queries, and instructions, textual data (e.g., logs, operating procedures, manuals, etc.), spatial data (e.g., location data), and multimedia data (e.g., closed circuit TV, video clips, etc.), may be generated, collected, observed, retrieved, received, stored, cached, processed, analyzed, and / or streamed as big data by the data engine 102x.
[0108] In some embodiments, dynamic measurement and control data may be automatically generated, collected, observed, retrieved, received, stored, cached, processed, analyzed, and / or streamed as big data by the distributed data engine 102x. Examples of dynamic measurement and control data include data identifying changes in process operation, data identifying changes in operational parameters such as set points, records of process and hardware alarms, events such as downloads or communication failures. In addition, static data such as controller configurations, batch recipes, alarms, and events may be automatically collected by default when changes are detected or when a controller or other entity is first added to the data analytics communication network 112.
[0109] Also, in some scenarios, at least some static metadata describing or identifying dynamic control and measurement data is captured in the distributed data engine 102x when a change in the metadata is detected. For example, when a change is made in the controller configuration that affects a module's or unit's measurement and control data and must be transmitted by the controller, an associated metadata update is automatically captured by the data engine 102x. Additionally or alternatively, parameters, survey data, and / or other types of monitoring data associated with special modules used to buffer data from external systems or sources (e.g., weather forecasts, public events, corporate decisions, etc.) may be automatically captured by the data engine 102x.
[0110] In some circumstances, additional parameters created by the end user are automatically populated into the distributed data engine 102x. For example, the end user may create special operations on the module or add parameters to the unit to be collected, or the end user may want to collect standard controller diagnostic parameters that are not communicated by default. Parameters that the end user optionally configures may be communicated in the same manner as the default parameters.
[0111] User interface applications for industrial performance monitoring / analysis As previously mentioned, the data analysis system, or DAS 100, may include one or more user interface applications through which data-related human-machine interactions occur. Exemplary instances of these user applications are depicted in FIG. 2A by references 120a-120d. This section of the disclosure and FIGS. 4A-4Q describe in more detail an industrial performance monitoring / analysis user interface application. The user interface application may be provided by or operate in conjunction with, for example, the process plant or system 5 of FIG. 1, the industrial performance monitoring / analysis system 100 of FIG. 2A, and / or the monitoring and analysis engine 150 of FIG. 3. However, the industrial performance monitoring / analysis user interface application described herein may be provided by or operate in conjunction with other industrial performance monitoring and analysis systems for process control systems. However, for ease of discussion, the industrial performance monitoring / analysis user interface application is discussed below with simultaneous reference to FIGS. 1, 2, and 3. Additionally, for ease of reading, the Industrial Performance Monitoring / Analytics User Interface Application is referred to herein using capital letters to distinguish it from general purpose and / or other user interface applications, and is also referred to herein interchangeably as the "Data Analytics User Application," the "Data Analytics User Interface Application," the "Data Analytics Application," the "DDE User Interface Application," or the "User Interface Application."
[0112] The DDE User Interface Application provides an interface for a user to interact with the Distributed Industrial Process Performance Monitoring and Analysis System, or DAS 100, to define structure, query data, and build and evaluate a draft data model. Once the draft data model is complete, the DDE User Interface Application enables the download of the data model to a runtime engine and the deployment of the data model to run with the online process control system. The deployed data model (also called the running or online data module) can be accessed and monitored via the runtime dashboard of the DDE User Interface Application. The DDE User Interface Application can also generate alarms and notifications corresponding to the running data model.
[0113] Specifically, the DDE User Interface Application allows a user to create, view, and modify data models, each of which defines one or more data analyses (e.g., descriptive, predictive, and / or prescriptive analyses) to be performed or implemented on an input data set. Data models are drafted or created in an offline mode (e.g., while the data model is disconnected from the live data sources of an online or running process control system), in which mode the data models are referred to herein as "offline data modules." Generally, offline data modules are defined by offline data diagrams that a user creates through the DDE User Interface Application by selecting a set of "blocks" or "data blocks" and interconnecting those blocks on the diagram in a desired manner with a set of "wires." Each data block includes inputs, through which data is received into the block. Each data block also represents or defines a particular function, action, algorithm, and / or operation that is performed by each data block based on its input data, thereby generating output data that can be provided to other blocks through one or more outputs. Each data block can be evaluated separately to compile and execute an offline diagram representation of the block and its interconnecting wires into executable code, and the results of each data block's execution are presented in the offline data diagram. As discussed in a later section, the compilation of data blocks into code, and its subsequent execution, can be performed in a distributed manner across different target environments and locations.
[0114] Similarly, an offline data diagram can be evaluated as a whole, which involves compiling the data blocks and wires and executing the compiled code to transport input and output data across the wires and perform the functions, actions, algorithms, and / or operations defined by the particular configuration of the blocks and wires of the offline data diagram. Also, as with individual data blocks, the compilation of an offline data diagram and the execution of the compiled offline data diagram can be performed in a distributed manner across different target environments and locations.
[0115] Additionally, the DDE User Interface Application allows a user to convert an offline data module into an "online data module" such that the online data module of the data model binds to live data sources of an online process control system or otherwise receives live (e.g., streaming) data being generated thereby, performs one or more data analyses defined therein on the live data, and provides output to a user interface, a historian, or other application. For example, the output data generated by the data model may include descriptive, predictive, and / or prescriptive information or data corresponding to the process plant and / or the processes being controlled therein.
[0116] Specifically, a user can convert an online data diagram for a particular data model into an online data diagram for that particular data model. Like the offline data diagram, the online data diagram includes a set of data blocks interconnected by a set of wires, and the functions, actions, algorithms, and / or operations defined by the online data diagram correspond to those of the offline data diagram, since the offline data diagram and the online data diagram generally correspond to the same data model. However, at least some of the blocks and interconnections differ between the offline data diagram and the online data diagram, primarily (but not necessarily only) to accommodate the connection of the online data module to an online process plant.
[0117] Also like the offline data diagrams, the online data diagrams can be compiled as a whole into executable code that corresponds to the online data modules of the data model. Compilation of a particular block of the online data diagram results in the definition of the particular block's bindings with respective data sources and data consumers in the online process plant. Deployment of the online data modules instantiates these bindings and causes the run or execution of the executable, thereby integrating the online data modules with the online process plant such that the online data modules execute in conjunction with the operation of the online process plant. The compilation of the online data diagrams and the resulting binding and execution of the online data modules can be performed in a distributed manner across different target environments and locations.
[0118] In a particularly useful embodiment, the online data module of the data model receives and operates, at least in part, on continuous real-time data generated by devices or components of the process plant as a result of ongoing control of an online process running in the plant. For example, the online data module operates on continuous real-time time series data generated by the online process plant and / or a process control system included in the plant while the process plant and the process control system operate to control the process. The data model operates continuously on the continuous real-time data stream (e.g., by performing its one or more data analysis functions and other functions, if any, defined by the data model) and generates a continuous real-time stream of result or output data that may be displayed in a user interface (e.g., as a rolling line graph or other depiction) to continuously reflect the current real-time value of an output of the data model. In an example, the data output generated by the data model and displayed in the user interface includes at least one predicted value and its variation over time. In general, however, the data model can operate on a large amount of data generated by various data sources within the process control plant or environment 5 for purposes of fault detection, prediction, and provisioning for the process control plant or environment 5.
[0119] In one embodiment, the DDE User Interface Application is web-based and accessed through a web browser so that different instances of the Application can be used on different platforms (e.g., Apple Macintosh, Linux, Windows, etc.) and by different users on different computing devices, sometimes simultaneously. However, the DDE User Interface Application is not limited to a web-based implementation and may utilize any other suitable implementation that is platform independent and can be scaled to multiple users and / or instances simultaneously.
[0120] Additionally, although the DDE User Interface Application is described herein as being applied to a single process control plant or environment 5 with multiple instances of the DDE User Interface Application running simultaneously, this configuration is illustrative only and is not intended to be limiting. For example, in some configurations, the DDE User Interface Application may be applied to multiple process control plants or environments operating independently at different locations and with different processes. For example, a single DDE User Interface Application provided by a server or bank of computers may be utilized at multiple refineries of an oil company such that some instances of the DDE User Interface Application run at Refinery A and some instances run at Refinery B.
[0121] In any event, as previously discussed, the DDE User Interface Application abstracts functions, actions, algorithms, and / or operations that may be performed by the data blocks on respective input data as blocks or data blocks. Examples of blocks or data blocks are designated by their respective functions, e.g., load, clean, manipulate, analyze, visualize, etc. Each data block may load or acquire respective input data and perform one or more of its respective functions, actions, algorithms, and / or operations on the acquired input data to generate one or more respective results or respective output data. Multiple data blocks may be interconnected as desired (e.g., serial, parallel, many-to-one, one-to-many, etc.) to form an offline data diagram that represents or defines a draft data model or offline data module that may be executed or evaluated by applying or operating on the offline data module (or a portion thereof) to one or more sets of data sets or offline data sources. For example, during execution or evaluation of an offline data module, the offline data diagram is compiled into executable code, the identified data set(s) are acquired and loaded into or for use by the offline module, and the interconnected blocks of the compiled offline module are executed to perform their respective operations on their respective inputs and provide their respective results at their respective outputs, resulting in one or more analytical outputs or results produced by the overall offline data module that corresponds to the data model being developed or created. In an embodiment, rather than loading data sets from files into the draft data model during offline evaluation, input data may be received from a streaming offline data source, such as a test tool, environment, or plant.Additionally, as described in more detail below, an offline data module or a draft data model may be evaluated incrementally while it is being developed. In the DDE User Interface Application, the platform or infrastructure for evaluating offline data blocks and offline data modules is Data Analytics Services, which is described in a later section.
[0122] After the offline data module (or a portion thereof) has been evaluated, the user may review and scrutinize the results of the evaluation, and the draft model (or a portion thereof) may be modified as appropriate and re-evaluated until satisfactory results are obtained. The user may complete the draft data model / offline data module, convert it into an online data module, and execute or deploy the online data module to operate based on real-time, online, or streamed live data being generated due to real-time operation of the process control environment or plant 5. For example, the running or deployed online data module or data model may operate continuously based on real-time data being continuously generated due to online operation of the process plant, and the online data module or model may itself continuously generate real-time output data or results of its execution, which may be displayed and continuously updated in the user interface. The online execution or operation of the deployed online data module and the corresponding results may be monitored in the Dashboard of the DDE User Interface Application, which is also described in more detail in a later section.
[0123] As previously discussed, within the DDE User Interface Application, data blocks, data modules (whether online or offline), and portions thereof, may be visually and / or graphically represented to a user as diagrams or data diagrams on a workspace or canvas provided by the DDE User Interface Application. Generally, each data diagram includes a set of data blocks (e.g., which may be represented as two-dimensional shapes) interconnected by a set of wires (e.g., which may be represented as lines). The DDE User Interface Application typically includes two modes of operation (although in some embodiments, more or fewer modes may be included), both of which utilize data diagrams to represent data modules and the data blocks contained in the data modules.
[0124] One of the modes of operation is referred to herein interchangeably as "Data Analytics Studio," "Data Studio," or "Studio." Typically, Data Studio is utilized by a user to design and develop a data analysis model. In addition, Data Studio allows a user to convert offline modules into online modules and to deploy completed offline modules as corresponding online data modules. Data Studio provides a work area or drawing canvas on which a user can develop a data model by creating and connecting blocks into a data diagram, which is a visual graphical representation of a data model or a portion thereof. While a data model is being developed within Data Studio, the data model may be referred to as a draft data model or offline data module and may be considered a draft or prototype. An offline data module diagram may include a greater number of data blocks and / or connections than the resulting online data module, because some of the blocks and connections included in the offline module may be used to analyze and view data in different parts of the module, for example, to analyze and verify whether a particular part of the data model is evaluating as desired and / or providing sufficiently useful and / or predictive data. In general, an offline diagram of a data model is a representation of a workflow by which (1) a raw data set can be explored and cleaned, and (2) constructed, refined, and evaluated for desired analytical operations such as classification, regression, clustering, dimensionality reduction, etc. Data modules that are offline may be evaluated incrementally or continuously while they are being developed. The results of the evaluation process of the offline data modules or data models are communicated to the user via Data Studio.
[0125] In some cases, the execution or evaluation of an offline data module may take a long period of time to complete. In these circumstances, the status and progress of the evaluation process of the offline data module may be communicated to the user through another mode of operation of the DDE User Interface Application, which is interchangeably referred to herein as the "Data Analytics Dashboard," "Analytics Dashboard," or simply "Dashboard." The Dashboard is typically utilized by the user to view and / or manage modules that are (i) offline data modules (e.g., draft data models) being evaluated, and / or (ii) online data modules (e.g., completed data models that have been deployed as data modules). The Dashboard also represents the draft data models being evaluated and the deployed online data modules with respective diagrams or visual graphical representations. The deployed data modules are referred to as being "online" because the deployed modules are executing based on real-time data that is being generated due to the online or run-time operation of the process control system or plant 5. Generally, an online diagram of a data module is a representation of a workflow that is bound to one or more data sources (e.g., streaming data sources) within a process control system or plant 5 to create real-time descriptions, predictions, and / or prescriptions, and / or adjust data models continuously during or at run-time. Data modules that are deployed or online may run continuously until they are explicitly terminated from the Dashboard.
[0126] A. Data Module Diagram An exemplary diagram of a data module (whether offline or online) generally includes multiple data blocks and wires that interconnect the various blocks together to form one or more data flow pipelines. As previously mentioned, a data block is generally an abstraction of a function or operation that a user wants to apply to a data set. For example, one particular block may load a data set from a data store or a file on disk, another particular block may remove all missing values in a data set (e.g., values that have no measurements at times corresponding to times when another parameter / variable has a measurement), and yet another particular data block may perform a random forest analysis. Typically, different data blocks correspond to different functions or operations that may be performed on a data set, and thus, the various data blocks may each have a corresponding type or name, such as "Load", "Query", "Fill", "Columns", "PCA (Principal Component Analysis)", "PLS (Partial Least Squares)", "Explore", "Write", etc.
[0127] Each block may have zero or more respective properties. A block's set of properties (which may be an empty set for some blocks) corresponds to each of its block types, such that all instances of the same block type have the same set of properties. For some blocks, default values for the properties may be provided by the DDE User Interface Application, and for some blocks, the user may enter and / or modify one or more of the property values. A data block definition defines each property and any default property values (as well as other information for some blocks) for a data block type. The data block definitions are stored in a data block definition library provided by the DDE User Interface Application. Generally, the data block definition library is available to all open instances of the DDE User Interface Application, so that multiple data analysis users or engineers can simultaneously develop and / or explore data using the resources provided by the library.
[0128] Each block has zero, one, or more input connectors that specify the data (if any) that flows into the block from one or more other blocks or data sources. In addition, each block has zero, one, or more output connectors that specify the data (if any) that flows out of the block (and potentially into one or more receiving blocks via their respective input connectors). The interconnections between the inputs and outputs of various blocks are represented in the data module diagram as wires. Any kind of data can flow or be transported through any wire, from the value of a simple counting device to data frames each containing millions of values for the target code.
[0129] Additionally, each block has a state. For example, when a block is first created, it is in a "configuration" or "configuring" or "not configured" state. After a block is configured, it moves to a "configured" state. While an offline block is being evaluated, it is in an "evaluation" state. After an offline block is evaluated, it moves to either an evaluation "success" state or an evaluation "failure" state. When an online block is configured or bound to a data source and / or data consumer, its state is "configuring" or "binding". After an online block is deployed to a process control system and begins running based on live data, its state is "deployed" or "running". Of course, other states are also possible. Typically, each block includes a visual indicator that indicates its current state. Additionally, each data module as a whole may have an indicator that indicates its current state.
[0130] An example data diagram 200 illustrating various possible data block characteristics and interconnections is shown in Figure 4A. This example data diagram 200 includes a LoadData block 202a connected to a FillNaN block 202b via a wire 205. The representation of the LoadData block 202a includes an indicator 208a of its current block state, an indicator 210a of its block type or name, an indicator 212a of the result of the evaluation of the block, and an output connector 215a, via which at least a portion of the data generated as a result of the evaluation of the LoadData block is delivered over the wire 205 to a recipient (in this scenario, the FillNaN block 202b).
[0131] FillNaN block 202b includes an input connector 218b that receives data flowing from LoadData block 202a over wire 205. Like LoadData block 202a, FillNaN block 202b includes an indicator 208b of its current block state, an indicator 210b of its block type or name, an indicator 212b of the result of its evaluation, and an output connector 215b through which at least a portion of the data generated as a result of the FillNaN block's evaluation is delivered over wire 220 to a recipient or consumer (not shown).
[0132] 4A, LoadData block 202a does not have an input connector because LoadData block 202a does not receive data output from any other data block of data diagram 200. Instead, LoadData block 202a may be configured to load or acquire one or more input data sets from one or more data sources. These data sources may include offline data sources such as data files, data sources (e.g., the Seeq system), relational databases, or non-relational databases, and / or the data sources may include online or streaming data sources such as data streams generated by distributed data engine 202x.
[0133] B. Data Analytics Studio As previously mentioned, one of the modes of operation of the DDE User Interface Application is the Data Analytics Studio. The Data Analytics Studio can be utilized by a user to design, develop, view, and explore data models. Figure 4B depicts an exemplary user interface presented by the Data Analytics Studio 240, which includes a navigation bar 242 and a workspace or drawing canvas 245. The navigation bar 242 provides controls and indicators through which a user can manage offline and online data modules. This is because the user may be able to perform actions such as, for example, creating a new offline data module, identifying an offline or online data module that is currently open and shown on the canvas 245, easily viewing the status (e.g., offline or online) of a data module that is currently open and shown on the canvas 245, saving / storing an offline data module that is currently open and shown on the canvas 245, converting an offline module to an online data module, switching between viewing an offline data diagram and an online data diagram of a data module, evaluating an offline data module, expanding an online data module, browsing to other data modules, and other such module management functions. Accordingly, the Data Analytics Studio 240 includes a number of user controls and indicators 248a-248n thereon, including, but not limited to: · A module navigation control 248a that allows the user to search and browse other data modules; · the identifier 248b of the data module currently open on the canvas 245; · one or more indicators 248c, 248d that indicate whether the view of the data module currently open on the canvas 245 is an offline view or an online view; one or more controls 248e, 248f that allow a user to switch between online and offline views of the data modules currently open on the canvas 245; · user controls 248g that allow the user to view and / or define properties of the data module currently open on the canvas 245; A user control 248h that allows the user to save currently open data modules; A user control 248i that allows the user to evaluate at least a portion of the currently open data module. User control 248j, which allows the user to expand currently open data modules an indicator 248k showing the status of the operation of the currently open module; and / or · One or more other user controls and / or indicators (not shown), etc.
[0134] 4B also illustrates user control 248m, through which a user can view, select, and / or add block definitions to a data block definition library (not shown in FIG. 4B). In the implementation shown in FIG. 4B, library user control 248m is shown located on canvas 245, although in other embodiments, control 248m can be located on navigation bar 242 or anywhere desired.
[0135] Indeed, the number, type, location / positioning, form factor, arrangement, etc. of user controls and indicators shown in the exemplary Data Analytics Studio 240 is merely one of many possible embodiments. A greater or lesser number and / or type of user controls and / or indicators may be included. Different locations / positioning of such user controls and / or indicators, as well as different form factors, arrangements, etc. may be utilized. In some embodiments, the navigation bar 242 may be omitted and another mechanism may be provided for the user to access the controls (e.g., a pop-up window, a drop-down menu, etc.).
[0136] 1. Data Analytics Studio - Offline Data Module In Data Analytics Studio 240, drawing canvas or workspace 245 is an area in which offline data modules can be developed, defined, and evaluated. For example, in drawing canvas or workspace 245, a user can access (e.g., via user control 248m) the block definition library of the DDE User Interface Application to select various data block definitions stored therein and interconnect (e.g., wire) the selected block definitions to form a data diagram of the data model. In addition, in drawing canvas or workspace 245, a user can edit properties of specific data block instances; evaluate portions of a draft data model, including viewing the progress and results of the evaluation; and / or perform other actions related to the offline data modules.
[0137] As discussed above, each data block that may be utilized in a data diagram is based on a block definition for the data block's type. That is, a particular instance of a block of a given type has a set of properties that conform to the block definition for that given type, but the particular instance may differ from other instances of the same given type of block, for example, in a manner similar to an object class and an instance of an object class. As also discussed above, block definitions are stored in a block definition library, which is accessed (e.g., shown or hidden) via user controls 248m that may be placed on the canvas 245.
[0138] An illustration of example relationships 250 between a data block definition library, data block definitions, data modules, data blocks, data block instances, and wires is shown in Figure 4C. As shown in Figure 4C, block definitions are made available through a block definition library 252 provided by the DDE User Interface Application. In some embodiments, different users and / or groups of users may be given different access rights (e.g., read-only, read-write, etc.) to particular block definitions and / or other data analysis library resources (and / or portions thereof).
[0139] The block definitions 255 stored in the library 252 may be utilized to create instances 258 of the blocks 255 for use within the data module 260. One or more properties 262 of the block definitions 255 may be specifically defined for the block instances 258. The block instances 258 may be configured or designed to include one or more input connectors 265 through which data to the block instances 258 is received, and the block instances 258 may be configured or designed to include one or more output connectors 270 through which output data (e.g., data resulting from an evaluation of the block instance 258 acting on input data received through the input connectors 265) is provided, for example, to another block instance 258 (for writing or storage), a user interface, etc. Each input connector 265 of the block instance 258 may receive data through one or more wires 272 of the data module 260, and each output connector 270 of the block instance 258 may provide data through one or more wires 272 of the data module 260. Each wire 272 of a data module 260 provides an interconnection between a particular output connector 270 of a particular block instance 258 and a particular input connector 265 of another particular block instance 258, thereby enabling the transfer of data between the two data block instances.
[0140] In one embodiment, block definitions are organized in library 252 by categories of functionality or action. The categories may contain subcategories, which may contain sub-subcategories, and so on. In an illustrative but non-limiting example, block definition library 252 includes at least five categories of block definitions: Data Sources, Filters, Transformers, Visualizations, and Data Consumers.
[0141] Block definitions in the Data Sources category typically define various actions related to data sources that provide input data on which the data module operates. For example, block definitions in the DataSources category may include "CreateDataSet" to generate an input dataset, "LoadDataSet" to load or acquire an existing dataset from an offline or online data source, "LoadDB" to load or acquire data from a database (such as a process control database or an analytical database), "SaveDataSet" to histogram an input dataset for longer-term data storage (e.g., for testing an input dataset after its creation), etc. Furthermore, some of the Data Sources categories may include one or more subcategories. For example, the CreateDataSet and LoadDataSet categories may each include respective subcategories for the particular dataset format and / or environment in which the dataset was created, e.g., CSV (comma separated values), Raspberry Pi, Seeq, etc. In general, offline Data Sources blocks are configured to acquire or access static data sources, such as data files, process control databases, analytical databases, etc. On the other hand, Online Data Sources blocks are typically configured with a binding definition that associates a particular instance of the Online Data Source block with one or more online data sources in the process plant. Compilation of the configured Online Data Source instantiates this binding such that the Online Data Source block receives streaming data generated by the one or more online data sources to which it is bound.
[0142] The Data Source category may have block definitions, such as "QueryDataSource" or "Query," that relate to searching or obtaining selected data from one or more data sources. The Query block may operate based on offline and / or online data sources. In general, the Query block definition allows a data module to query, obtain, or request the identity of a particular type of data (e.g., as indicated by a column, tag, or other suitable identifier) and / or to query, obtain, or request only data generated during a particular time interval (which may be multiple discrete time intervals). Still further, the Query block may query any type of data, regardless of the format and / or environment in which the data is captured or stored. Further details of the Query block are provided in later sections of this application.
[0143] Block definitions within the Filters category typically define various filtering techniques that can be performed on a data set. For example, block definitions in the Filters category may include "Clip", "HighPass", "LowPass", "SGF (e.g., for Savitzky-Golay filtering)", "Exponential", "Averaging", "Wavelet", etc.
[0144] Block definitions included in the "Transformers" category of the data block definition library 252 typically define various techniques for manipulating, analyzing, and / or otherwise transforming the contents of a data set or a filtered data set. For example, the Transformers category may include data block definitions in subcategories corresponding to cleaning of an input data set, such as "FillNaN" (e.g., filling entries in the data set that are not numbers), "RmvOutlier" (e.g., removing outlier data), "CorrectBad" (e.g., correcting bad data detected in the input data set), "ExcludeBad" (e.g., excluding bad data detected), etc. Additionally, the Transformers category may include data block definitions in subcategories corresponding to manipulation of the contents of an input data set, such as "Scale", "Shift", "Split", "Merge", "CenterNormal", "DownSample", "TimeOffset", "Columns", etc. Furthermore, in some embodiments, the Transformers category may include block definitions in subcategories corresponding to alignment of data in an input data set, such as "TimeDelay", "LagCorrect", etc.
[0145] The Transformers category may include data block definitions of subcategories corresponding to analyzing input data sets to gain knowledge and learn about their contents, such as "Sensitivity," "Clusters," "Random Forest," "CBP (e.g., Conditional Bayesian Probability Analysis)," "KMeans," "FourierTransform," "FastFourierTransform," "PLS," "PCA," etc. Some subcategories of the Transformers category may include one or more sub-subcategories. For example, the "PCA" subcategory of the Transformers category may include data block definitions of sub-subcategories corresponding to various principal component analysis techniques, such as "PCA_NIPALS" (PCA and nonlinear iterative partial least squares), "PCA_SVD" (PCA and singular value decomposition), "PCA_Test," etc.
[0146] A block definition in the Visualizations category typically defines various techniques for presenting the output generated by a data module. For example, the Visualizations category may include subcategories corresponding to graphical and / or other visual representations, such as "LineGraph", "Chart", "BarGraph", "ScatterChart", "Histogram", "DataGrid", "DataCloud", "Animation", etc. The Visualizations category may include subcategories corresponding to preparing output data for a particular graphical representation, such as "RoundSigFig".
[0147] The Data Consumers category block definitions typically define actions for various consumers or recipients of output data generated by the data modules. For example, the Data Consumers category may include a subcategory "Write" that causes the output data to be written or saved to a file, database, or other static storage. This "Write" subcategory may then have respective subcategories corresponding to various types of locations, databases, database formats, file formats, etc., that indicate where and how the output data is written or saved. The Data Consumers category may include a subcategory "Publish" that causes the output data to be streamed (e.g., over the analytical data network 112) or otherwise published or delivered to subscribers or recipients of the data (e.g., the distributed data engine 102x, an online data module, an application running by the process control system, a user interface, etc.). In some embodiments, to convert an offline Publish block into its online version, the Publish data block is configured and bound to a live data consumer (e.g., an online data module, a running application, a process control device, element, or component, etc., that has a subscription to the output of the data model). In one embodiment, the Data Consumers category may include a subcategory, "Convert2Control," that converts the output data into a signal in a format understood by a conventional process control communication network and delivers the signal via the conventional process control communication network to a process control entity, element, device, or component to effect or cause a change in the process plant 5.The subcategory "Convert2Control" may include sub-subcategories that correspond to, for example, various conventional process protocol formats (e.g., HART, PROFIBUS, WirelessHART, etc.) and / or various targets within the process plant 5 that are potential recipients of the change signals (e.g., control loop inputs, control loop configurations, message priorities, parameter values, etc.). For example, the Convert2Control block may be configured to bind to a particular process control entity, element, device, or component within the process plant 5 that receives the output of the Convert2Control block and modifies its operation accordingly.
[0148] The data block definition library 252 may contain other data block definitions therein, each of which may or may not belong to a category. For example, the "Explore" block allows the user to explore the output data generated by these other data blocks in an offline mode. For example, the Explore data block may accept multiple different data wires at its input connectors and generate a visual representation that includes both sets of input data in a comparative manner, for example by creating a histogram that aligns two input data sets over time and displays information from each respective data set next to information from the other data set by overlaying one line graph on top of another. The Explore block allows the user to manipulate the visualization of its output, for example by increasing / decreasing the scale of the x-axis and / or y-axis, arranging and / or filtering the statistical data displayed in the chart. Note that the Explore block may not have an online counterpart, since its function is primarily to allow the user to explore and understand the output data generated by the draft data model.
[0149] When a user develops a new data model, the user can invoke (e.g., by toggling via user control 248m) the data block definition library 252. The user can add a desired data block to the canvas 245 by dragging and dropping the desired data block definition from the library 252 to the desired location on the canvas 245 (thereby adding the data block to the data module under development depicted on the canvas 245). (Of course, dragging and dropping is only one way of indicating the selection, positioning, and incorporation of a particular data block into a data module, and many other suitable ways of doing so are possible.) After the drag-and-drop operation, the selected block definition is associated with the draft data module, and a respective instance of that data block for the draft data model is created and named. In the exemplary scenario illustrated in FIG. 4D, a draft Module A1 is in the middle of the development process, and its corresponding draft offline data diagram is shown on the Data Studio canvas 245. As indicated by indicator 248c, Module A1 has an "offline" status. The user has already added blocks A1-B1, A1-B2, and A1-B3 to draft Module A1 and connected them with wires A1-W1 and A1-W2. The user has invoked library 252 via control 248m, selected block B4 from the library, and dragged and dropped block B4 onto canvas 245 (as shown by the dashed line), and is in the process of naming an instance of block B4 "A1-B4". After naming the instance of block B4, the user may interconnect A1-B4 with one or more other data blocks of draft Module A1 with wires. For example, the user may hover the cursor over an input connector of A1-B4 and click to create a new wire connection to the selected input connector.The user may then click on a desired output connector of another block instance on the canvas 245 to create a new wire interconnecting the selected input connector to the desired output connector, thereby interconnecting the two block instances. In another example, a user may hover a cursor over an output connector of another block instance and click to create a new wire connection to the selected output connector, and click on a desired input connector of A1-B4 to create the interconnecting wire. Of course, any suitable user control mechanism may be utilized to create wire interconnections between block instances.
[0150] In the Data Studio canvas 245, a user can modify the value of a given property of a block for a particular block instance. For illustrative purposes, FIG. 4E depicts a portion of the Data Studio canvas 245, in which a data module B1 is being developed. Two block instances contained in the draft Module B1, namely B1-FillNaN and B1-PCA, are positioned and interconnected on the canvas 245. B1-FillNaN receives its input data set from a data source not shown in FIG. 4E, and B1-PCA provides two outputs, “Model” 280a and “Scores” 280b, to respective consumer or receiving blocks (also not shown). The user indicates that he or she wishes to modify the value of a block definition property corresponding to the B1-PCA block instance (e.g., by hovering over the B1-PCA block instance, by double-clicking on the B1-PCA block, or by using any other suitable user control mechanism). In response to activation of the user control, a window 282 appears (e.g., as a floating dialog box, a pop-up window, or some other suitable representation) containing a list of defined properties corresponding to the PCA block definition. Via window 282, the user can then modify values of various block properties of the B1-PCA as desired.
[0151] As previously discussed, the properties of each data block, if any, are defined by its respective block definition, which is stored in block definition library 252. Illustrative (but non-limiting) examples of block definitions and their respective properties are shown in Figures 4F-4H. It is understood that block definition library 252 may include one or more of the exemplary block definitions shown in Figures 4F-4H, may include none of these exemplary block definitions, and / or may include other block definitions. Additionally, the number, types, and default values of the properties of each exemplary block definition shown in Figures 4F-4H may also differ from the examples described herein.
[0152] 4F, a data block definition template for a "LoadDB" data block 285a is presented by the DDE User Interface Application, for example, as a result of a user dragging a LoadDB block definition from library 252 onto canvas 245 and subsequently indicating that he or she wishes to view and / or modify block property values of the LoadDB data block 285a to create a particular instance of the block 285a. Actions or functions that the LoadDB block 285a performs within the offline diagram of the data model include loading a particular data set (or otherwise obtaining the contents of that data set) on which the operation of the data model is based. For example, a particular input data set may be loaded or obtained from a database or file. A user may indicate a particular input data set to be loaded into the data model by entering a desired name, indicator, or value into DatabaseName property field 285b and DataSet property field 285c, for example, via drop-down menus, search and selection (e.g., of a process control database or other database associated with a process control system), free-form text entry, etc. For example, a user can select a desired DatabaseName 285b from a drop-down menu, which selection of the desired database 285b leads to the provision of a corresponding drop-down menu in the DataSet field 285c that includes only the datasets 285c of the selected / identified database 285b. The LoadDB block 285a also includes a Plot property field 285d, which in this implementation is a Boolean flag whose value indicates whether or not a plot of the dataset 285c from the database 285b is generated / presented when the LoadDB block instance is evaluated.If Plot 285d is set to "Yes", after block evaluation, a plot of the loaded data set 285c is displayed in the graphical representation of the LoadDB block instance shown in the canvas 245, for example, in the View Block Results area 212 of the LoadDB block instance. For the LoadDB block 285a, the Plot property 285d is optional and its value defaults to "None" (e.g., no plot of the loaded input data set is generated / presented when the block is evaluated). After the user has entered all desired values into the property fields 285b, 285c, and 285d of the LoadDB data block 285a, the user can save the modified property values, thereby configuring the LoadDB data block template 285a to create a specific instance of the LoadDB data block 285a to be used in the data model the user is creating / developing. The user can name the specific instance, for example, by entering a desired name (e.g., "LoadDB-1") into the block name field 210 of the block instance shown in the canvas 245.
[0153] FIG. 4G illustrates a data block definition template for a “Columns” data block 286a, as presented by the DDE User Interface Application. A particular instance of the Columns data block 286a extracts or acquires a selected group of data (referred to herein as the “columns” or “tags” of the data) from a loaded / acquired dataset, as specified by its property values in the SelectedColumns property field 286b. For example, the Columns data block 286a receives a dataset (or some indication thereof, such as a pointer, indicator, or other reference to the dataset) via its input connector, for example, from an instance of the LoadDB data block 285a. The SelectedColumns property 286b of the Columns data block 286a allows the user to select one or more columns, tags, or other portions of the input dataset upon which the user wants other blocks of the data model to act. For example, as shown in FIG. 4G, the user is in the process of scrolling through a list of tags for DatasetA and highlighting the desired tag. Typically (but not necessarily), the selected columns or tags are a subset of all columns or tags contained in the input data set. A user can save the column or tag selections 286b (and other block properties, if present) to thereby configure the Columns data block 286a to create a specific instance, e.g., for use in a data model that the user is creating / developing. A user can name a specific instance of Columns 286a, e.g., by entering a desired name in its block name field 210.
[0154] FIG. 4H illustrates a data block definition template for the “PCA_NIPALS” data block 287a presented by the DDE User Interface Application. The PCA_NIPALS data block 287a performs Principal Component Analysis (PCA) and nonlinear iterative partial least squares on a set of data. For example, the PCA_NIPALS data block 287a may receive via its input connector columns or tags of data (or indicators or references thereto) determined by an instance of the Columns data block 286a. In another example, the PCA_NIPALS data block 287a may receive via its input connector an entire data set (or indicators or references thereto) loaded for use by the data model by the LoadDB 285a data block. The template for the PCA_NIPALS block 287a allows the user to select the number of components 287b and the confidence level 287c of the PCA, if desired. Both property fields 287b, 287c are optional for the PCA_NIPALS block 287a and may be set to default values (e.g., defined in the block definition of PCA_NIPALS) or zero. In the example scenario shown in FIG. 4H, the user indicates that the current instance of PCA_NIPALS is configured to generate two components 287b and a confidence level 287c of at least 95%. The PCA_NIPALS data block 287a template can be configured (with or without modifying the property values) to create a specific instance to be used in the data model that the user is creating / developing, and the user can name the specific instance, for example, by entering a desired name in its block name field 210.
[0155] Some types of data blocks are consumer or recipient data blocks that operate on output data generated by previous blocks. These types of consumer data blocks may require previous blocks to be evaluated in order to compose them. For example, an instance of a LoadDB block 485a may be wired to provide data to an instance of a Columns block 486a, and evaluation of the LoadDB block instance 485a provides a data set from which a user may select specific columns or tags to compose the Columns block instance 486a.
[0156] Turning now to the evaluation of offline data blocks and data modules, an offline data module can be evaluated repeatedly as it is being developed and need not be completely completed in order to be evaluated. Thus, evaluation of an offline data module can be performed asynchronously, allowing a user to evaluate portions of a draft data module, modify the draft data module based on the evaluation, re-evaluate, re-modify, re-evaluate, etc. For example, a user may create a starting data block for a data module, evaluate that single data block, then connect a second data block to the first data block and evaluate only the second data block (or evaluate both the first and second data blocks as a whole), add four more data blocks, and evaluate only the newly added data blocks (or evaluate all six data blocks as a whole), etc. That is, when a desired number of data block instances and / or associated wires have been added to the working data diagram of the offline or draft data module, the module (or portions thereof) represented in the canvas 245 can be evaluated, for example, by activating the evaluation user control 248i of the navigation bar 242. For example, if a user desires to evaluate the entirety of the blocks and wires presented on the canvas 245, the user may simply evaluate user controls 248i. On the other hand, if a user desires to evaluate only a subset of the blocks and wires presented on the canvas 245, the user may select the desired blocks and / or wires (e.g., with a click, a lasso tool, or other suitable mechanism) and then activate controls 248i to cause the selected set of blocks and wires to be evaluated.
[0157] 4I illustrates an example of how an offline data diagram 288 may be evaluated. While the offline data diagram 288 is being created or developed, a representation of its blocks and interconnections shown on the Data Studio canvas 245 is stored in a transmission file or document 290 (also referred to herein as a "configuration file"), which may be in a lightweight data exchange format, such as JSON (Java Script Object Notation) or any other desired format. Thus, the graphical offline data diagram 288 is bound to the transmission storage file or document 290. When a user indicates that he or she wants the offline data diagram 288 or a portion thereof to be evaluated (e.g., by activation of a user control 248i), the transmission file or document 290 is compiled into the language of the target execution environment, thereby generating executable code 292 for the data diagram 288. In some embodiments, the transmission file or document 290 may be split into multiple portions, each of which is compiled into a different target language that is executable in a different target environment (e.g., multiple chunks or segments of executable code 292 in different target languages may be generated from the transmission storage file or document 290). After the executable code 292 of the offline data diagram 288 is generated, a process is created to manage and coordinate the execution of the code 292, which may or may not span different target environments and / or may or may not be performed by different processors.
[0158] While various blocks of the offline data diagram 285 are being executed or evaluated, the process may send feedback to the Data Studio. For example, based on feedback from the process, the Data Studio may update the respective status indicators 208 of each data block of the offline diagram 285 to indicate whether the block is being compiled, evaluated, successfully evaluated, or unsuccessfully (e.g., failed). Indeed, generally throughout the compilation and execution process illustrated in FIG. 4I, feedback may be returned to the Data Studio and displayed in the user interface. For example, based on feedback from the process, the Data Studio may update the module status indicators 248k and / or the offline status indicators 248c to indicate whether the module as a whole is being compiled, evaluated, successfully evaluated, or unsuccessfully evaluated.
[0159] In the DDE User Interface Application, the infrastructure and actions used to evaluate offline data blocks, diagrams, and modules are provided by Data Analytics Services. For example, activation of the evaluation user control 248i invokes Data Analytics Services to perform an evaluation of the offline data block, diagram, or module (or a portion thereof) currently being developed on the canvas 245, which may utilize, for example, multiple different back-end platforms (e.g., multiple different target languages, compilers, processors, and / or target environments). Thus, the DDE User Interface Application shields the user from the need to interact with (or have knowledge of) the back-end platform utilized to implement the data block, diagram, or module. That is, the user can utilize the features of Data Studio and Dashboard (e.g., data block definition library 252, canvas 245, and associated user controls) not only to design or manipulate data modules using data diagrams, but also to deploy those designs in real time and independent of the back-end platform, which is managed "behind the scenes" by Data Analytics Services. The DDE User Interface Application architecture also advantageously allows additional back-end platforms and / or components to be added or removed without affecting the user-facing data module design, evaluation, testing, and deployment functionality.
[0160] A more detailed description of the Data Analytics Services and its support for evaluation is provided in later sections.
[0161] Referring to FIG. 4A, as previously discussed, evaluation of a data module in offline mode may be an iterative process. As a user adds and configures blocks for a draft data module, the user may evaluate the added blocks, with the status of each block reflected by its respective status icon (e.g., indicator 208 shown in FIG. 4A). In the situation where the evaluation of a block is unsuccessful or failed, the user may obtain details regarding the failure (e.g., by selecting or clicking on the “Failed” status indicator 208) so that the user may address any issues that led to the failure. In the situation where the evaluation of a block is successful, the user may view the results of the block evaluation, for example, by selecting or clicking on the view block results icon 212 of each of the blocks. In an embodiment, when the user selects “View Block Results” 212, a modal or visualization dialog may appear (e.g., as a pop-up window, floating dialog box, or other suitable format) to allow the user to view and explore various visualizations to view the data block results.
[0162] Indeed, when a data block is executed or evaluated, it may store any kind of result(s) that may be useful to assist a user in determining the effect(s) of the data block acting on the data transported to it (e.g., via wires and input connectors). The type of result(s) stored is typically specific to the block (and in some cases specific to a particular instance of the block) and may be defined or determined by the block developer. These results may be shown to the user via modal or visualization dialog windows.
[0163] In addition to block and / or block instance specific results, the DDE User Interface Application may provide standard visualizations that may be applicable to more than one (and in some cases most or all) of the data blocks. For example, when a block is executed, a standard set of various statistics about the state of the data may be collected at the end of the block's execution such that the average, standard deviation, and other such statistics may be calculated for each column, tag, or portion of the data set and stored with the resulting data set. When the visualization dialog for a particular block instance is presented (e.g., via activation of the respective user control 212), the calculated set of standard statistics for each column, tag, or portion is retrieved from the data store and presented to the user. The user may then select the columns / tags / portions of interest and request Data Studio to generate respective charts or other visual formats (e.g., line plots, scatter plots, histograms, data grids, data summary grids, calculated statistics and histograms showing the distribution of the data, etc.) that represent the statistics for that column / tag / portion. In one embodiment, the statistics and the datasets are stored independently, because storing the statistics independently from the resulting dataset advantageously allows the DDE User Interface Application to load only the amount of data into the browser that is needed.
[0164] An exemplary architecture 300 for presenting standard and custom visualizations is shown in FIG. 4J. In the exemplary architecture 300, the data block code for “Block1” 302 is executed, and the resulting data set 305, the calculated standard statistics / other visualizations 308, and the Block1-specific results 310 are generated and stored in a local or remote storage area 312 managed by the DDE User Interface Application. In a Data Studio instance 315 (e.g., a browser window), when a user selects the “View Block Results” user control 212 displayed in the Block1 graphic, the calculated statistics 308 (e.g., the standard set and / or any custom visualizations) for Block1 are loaded 318 into the Data Studio instance 315, and the user can select the desired columns, tags, or portions of interest. Once the user selects the desired columns / tags / portions of Block1, the corresponding data is loaded 320 into the Data Studio instance 315 for viewing and exploration by the user.
[0165] Over time, as multiple data modules are configured, common patterns of block configuration and usage may arise, for example, within the same process control system 5 and / or across an enterprise with multiple process control systems. When such commonality is identified, it may be desirable to group a set of individual data blocks to form a new block, e.g., a composite block, that encapsulates their common behavior. In some scenarios, it may be desirable to define a custom unified data block, for example, when a particular set of property values is found to be repeated over time or when a user desires to define a custom data operation or function. Custom and / or composite data blocks may be created and stored in the library 252 such that they are available for use in other data modules. An example scenario 330 illustrating the creation of a composite data block is shown in FIG. 4K. In a data diagram 332, a user selects two unified data blocks with a particular relationship (e.g., “Fill NaN” and “Scale”) 335 to form a new composite block. Using a modal dialog box, pop-up window, or other suitable interface provided by Data Studio, the user configures or defines a new composite block with the desired name "Fill & Scale" and saves (reference 338) this new "Fill & Scale" composite block in the data block definition library 252. Sometime after "Fill & Scale" has been defined and saved, this new composite block can be incorporated into another data diagram 339 in place of the separate "Fill NaN" and "Scale" data blocks.
[0166] FIG. 4L depicts an example offline data diagram 340 illustrating some of the above features and principles, which will be described herein with concurrent reference to FIGS. 4A, 4B, and 4F-4H. In FIG. 4L, the example offline data diagram 340 was created by a user in a user canvas 245 of Data Studio. Specifically, the user invoked the block definition library 252, e.g., by activating control 248m of the canvas 245, and dragged and dropped a LoadDB block template 285a onto the canvas 245. Further, the user named this particular instance of the LoadDB block 285a "LoadDB4M" (reference 342a) and configured the LoadDB4M block instance 342a to load Dataset4 from Database M, e.g., by setting property values in fields 285c and 285b of the LoadDB4M block 342a. Additionally, although not explicitly depicted in FIG. 4L, the user set the Plot property value 285d of LoadDB4M342a to “True” when evaluating block LoadDB4M342a so that a plot of the loaded Dataset4 was generated and presented in the View Block Results field 212a of LoadDB4M block 342a.
[0167] After the user configured the LoadDB4M block instance 342a, the user connected two receiving Columns block instances 342b, 342c to the output of the LoadDB4M block instance 342a. For example, the user dragged and dropped two different instances of the Columns data block template 286a onto the canvas 245 and named these instances "Columns X" (reference 342b) and "Columns Y" (reference 342c), respectively. In addition, the user connected each of the respective inputs of the Columns X block 342b and the Columns Y block 342c to the output of the LoadDB4M block 342a using interconnect wires.
[0168] The user also configured Columns X block 342b and Columns Y block 342c to be based on the evaluation of LoadDB4M block 342a. Specifically, the user first evaluated LoadDB4M block 342a (e.g., by selecting an image of block 342a on canvas 245 and activating the "Evaluate" user control 248i), thereby causing LoadDB4M block 342a to be compiled and executed to load or acquire Dataset4 from Database M. Because the Plot property of LoadDB4M block 342a is set to "True," this evaluation of LoadDB4M block 342a also causes a Plot of the loaded Dataset4 to be displayed, for example, in the View Block Results field 202a of LoadDB4M block 342a (not shown in FIG. 4L). Using this plot, a user may view and explore various columns, tags, or subgroupings of data in Dataset4, and then configure Columns X block 342b to receive subgroups or columns of data labeled or tagged as "X" in Dataset4, and Columns Y block 342c to receive subgroups or columns of data labeled or tagged as "Y" in Dataset4 (e.g., by selecting the appropriate subgroup, column, or tag indicator in properties field 286b of Columns block template 286a for each of Columns blocks 342b, 342c, respectively). Thus, evaluation of Columns X block 342b results in only data from Dataset4 that is characterized, labeled, or tagged as "X" being loaded or accessed in block 342b, and evaluation of Columns Y block 342c results in only data from Dataset4 that is characterized, labeled, or tagged as "Y" being loaded or accessed in block 342c.
[0169] The user also dragged, dropped, and configured a Partial Least Squares (PLS) block in the offline data diagram 340. Specifically, the user named a PLS block instance 342d "PLS4M_X_Y" and configured the PLS4M_X_Y block 342d to receive the output of the Columns X block 342b and the output of the Columns Y block 342c at its respective inputs. The PLS4M_X_Y block 342c runs or performs a partial least squares function, action, algorithm, or operation on the data provided by the Columns X block 342b and the Columns Y block 342c, and provides the results (e.g., respective PLS models generated based on the relationships between the Columns X and Columns Y data) to an Explore4M_X_Y block 342e via an output of the PLS4M_X_Y block 342d. Like the other blocks 342a-342d, the Explore4M_X_Y block 342e is an instance of a respective Explore block definition that the user drags and drops onto the canvas 245, names, and configures.
[0170] In the offline diagram 340, the Explore4M_X_Y block 342e is configured to receive the output generated by the PLS4M_X_Y block 342d, but in addition to 342d, the user has also configured the Explore4M_X_Y block 342e to receive as an input the direct output of the Columns Y block 342c, e.g., via wire 342f. This configuration allows the user to explore the relationship between the output of the PLS4M_X_Y block 342c and the output of the Columns Y block 342c through the Explore4M_X_Y block 342e, e.g., by presenting one or more visualizations and / or statistics. For example, the output of the PLS4M_X_Y block 342c typically includes one or more predicted values. The Explore4M_X_Y block 342e allows a user to compare one or more predicted values included in the output of the PLS4M_X_Y block 342c with the actual values of the Columns Y block 342c to determine, for example, whether the use of the Columns X data 342b in a PLS4M_X_Y model 342d adequately predicts the Columns Y data 342c.
[0171] It is noted that in this offline data diagram, neither the PLS4M_X_Y block 342d nor the Explore4M_X_Y block 342e requires that its immediately preceding block(s) be evaluated before it can complete its own configuration. That is, the configuration of each of the PLS4M_X_Y block 342d and the Explore4M_X_Y block 342e can be performed independently of the evaluation of the other block and at any time. However, because the offline data diagram 340 represents one or more data pipelines or data flows, the evaluation of each downstream data block typically requires that its upstream data block(s) be evaluated before the downstream data block can be evaluated (unless, of course, the receiving or downstream data block merely receives a test or dummy input data set for the individual block evaluation process). In fact, in some scenarios, the user can configure the entire offline data diagram 340 in its entirety and / or evaluate the entire offline data diagram 340 in its entirety, rather than evaluating it block by block or portion by portion.
[0172] 2. Data Analytics Studio - Online Data Module Returning now to FIG. 4B, after the offline data diagram of the data model is completed and evaluated to the user's satisfaction in Data Studio, the offline data diagram can be translated or converted to its corresponding online form. To convert the offline data diagram to its online form, the user selects or activates the online toggle or user control 248f of the navigation bar 242, thereby causing the DDE User Interface Application to convert the offline data diagram to its online equivalent data diagram and display the online data diagram of the data model on the canvas 245. Certain offline data blocks may have online equivalent definitions (e.g., offline and online versions of the "Load" data block), other offline data blocks may not require different online equivalents but are still included in the online data module (e.g., the "FillNaN" block or the "PCA_NIPALS" block), while still other offline data blocks are omitted in the online data module (e.g., the "Explore" block). The infrastructure and actions performed during the conversion of the offline diagram to its online equivalent are provided by Data Analytics Services. For example, activation of user control 248f invokes Data Analytics Services to perform a transformation of the offline data diagram into its corresponding online data diagram. A more detailed description of how Data Analytics Services performs this transformation is provided below in the description of Data Analytics Services.
[0173] When the online data diagram of a data module is presented on the canvas 245 of the Data Studio, a user can configure the online data module. Configuring an online data module typically involves indicating live process control data related to the control of a process that is acquired as input data for the online data module, for example, by defining bindings that associate the online data module with data sources of corresponding input data. In addition, configuring an online data module may include indicating (e.g., by defining bindings) the location(s) and / or consumer (e.g., one or more consumer DDEs and / or applications, data stores, files, historians, process control devices, routines, elements, components, etc.) to which output data generated by the online data module is provided. Configuring and / or modifying the data blocks of an online data module, their respective properties, and interconnections is, in some embodiments, performed in a manner similar to that discussed above with respect to offline data modules.
[0174] If the user identifies a problem or issue with the online data module or otherwise desires to modify the online data module, the user can flip or switch the online data module to its offline representation, for example, by utilizing the offline switch or user controls 248d, and the user can further modify and evaluate the offline data diagram of the data model as described above. Later, when the user flips or switches the offline data diagram to its online representation, the modified offline data diagram is transformed into the online data diagram of the corresponding data model.
[0175] FIG 4M illustrates an online data diagram 345 that corresponds to the example offline data diagram 340 of FIG 4L, which is discussed below with concurrent reference to FIG 4A, 4B, 4F-4H, and FIG 4L. In the example scenario depicted in FIG 4M, a user has determined that the offline diagram 340 of FIG 4L defines a data model as intended or desired, and that the data model is ready for deployment to an online process control system. Thus, while the Studio is viewing the offline data diagram 340 (e.g., as shown in FIG 4L), the user activates the online toggle 248f of the Data Studio, thereby converting the offline data diagram 340 into a corresponding online data diagram 345, which is presented on the Data Studio's canvas 245, as shown in FIG 4M. This transformation is performed by the Data Analytics Services of the DDE User Interface Application, and the specific actions, mechanisms, and architecture utilized by the Data Analytics Services to perform this and other transformations are described in more detail in later sections.
[0176] It should be noted that the online data diagram 345 and the offline data diagram 340 represent the same data model, but the sets of blocks and wires in the two data diagrams 345, 340 are different. For example, the data pipeline of the offline data diagram 340, which starts at the output of the LoadDB4M block 342a, traverses the Columns Y block 342e, and terminates at the input of the Explore4M_X_Y block 342e, is omitted from the online data diagram 345. This is because this data pipeline was utilized in the offline data diagram 340 to test and verify the offline PLS4M_X_Y block 342d, and is not necessary in the online environment, since the validity of the PLS4M_X_Y block 342d has now been proven to the user's satisfaction. However, in some embodiments, the user may choose to include this verification data pipeline in the online data diagram 345, for example, if the user desires to perform continuous testing and verification of the online data model in the online environment.
[0177] Another difference between the offline data diagram 340 and the online data diagram 345 is the LoadDB4M block. In the offline data diagram 340, the LoadDB4M block 342a is configured to load data from an offline data source Dataset4 in Database M. However, in the online data diagram 345, the LoadDB4M block 347a has been transformed into a block that can connect to an online data source, such as an online streaming data source in the process plant 5. A user can configure the LoadDB4M block 347a to bind to a desired online data source, and compilation of the configured LoadDB4M block 347a instantiates the binding.
[0178] In the online data diagram 345, the Columns X block 347b is generally similar or equivalent to its offline form 342b. However, as discussed above, the online form of the PLS4M_X_Y block 347c receives only the inputs necessary for the PLS4M_X_Y block 347c to operate in an online environment, i.e., the outputs of the Columns X block 347b.
[0179] In addition, the online data diagram 345 has no equivalent to the offline Explore4M_X_Y block 342e, because the purpose of the Explore4M_X_Y block 342e in the offline environment was to provide the user with an insight into how well the draft data diagram 340 achieved the user's goals. In the online data diagram 345, the output of the PLS4M_X_Y block 347c is provided to a "Write" data block 347d, which is a type of Data Consumers data block. The Write data block 347d causes the real-time output of the PLS4M_X_Y block 347c in the online environment to be written to a file or database, as specified in the configuration of the Write block 347d. Of course, if the user so desires, the output of the PLS4M_X_Y block 347c can additionally or alternatively be provided to one or more other data consumers of the data model by interconnecting the output of the PLS4M_X_Y block 347c with the input of another Data Consumer block. For example, the PLS4M_X_Y block 347c can be connected to a Publish block such that the output of the PLS4M_X_Y block 347c is published to the data analysis network 112 and available for use by other data analysis applications. In another example, the PLS4M_X_Y block 347c can be connected to a Convert2Control block such that the output of the PLS4M_X_Y block 347c causes a change in an online process control system. For example, the Convert2Control block can be configured to convert the output of the PLS4M_X_Y block 347c into an input signal for a process control function, loop, or application within the process plant 5 and deliver the input signal to a corresponding process control industry, element, device, or component.
[0180] 3. Expanding the Data Module Typically, online data modules are not evaluated asynchronously, as was possible with offline data modules. Rather, online data modules are first configured (e.g., bound to live data sources and / or one or more data consumers / receivers) and then deployed as a whole to run continuously and interact with the online process control system. A user deploys a data module to the online process control system, for example, by clicking or activating the "Deploy" user control 248j of the navigation bar 242, thereby notifying Data Analytics Services to handle the deployment of the online data module. The infrastructure and actions used to deploy a data module are described in more detail in the description of Data Analytics Services. In general, however, when an online data module is deployed, it follows a compilation and execution process similar to that of an offline data module being evaluated, as illustrated, for example, in FIG. 4I. However, the target environment(s) of an online data module may be different from the target environment(s) of its corresponding offline data module, and the online data module is bound to other sources live within the process control system or plant.
[0181] In one embodiment, the DDE User Interface Application supports "one-click" deployment. That is, when an offline data module is configured the way the user wants it, the user does not need to convert this data module to its online representation and configure bindings for the data blocks of the online representation responsible for reading and writing data from live data sources. Instead, during "one-click" deployment, when the user initiates, any bindings required for the subject data module are automatically determined and configured by the DDE User Interface Application. In an exemplary scenario, the user may assign data modules to be executed for a specific DCS controller, for example, by using a dialog box or window provided by Data Studio that retrieves information about the hierarchy of the DCS system. The user may browse the hierarchy and assign data modules accordingly. The DDE User Interface Application (e.g., Data Studio and / or Data Analytics Services) then leverages the assigned process control system element (in this scenario, the specific DCS controller) to automatically determine the required bindings. An exemplary infrastructure and actions used to implement one-click deployment are described in more detail in the description of Data Analytics Services.
[0182] After an online data analytics module has been successfully deployed, any resulting values (e.g., descriptive, predictive, and / or prescriptive) generated by its execution may be presented to a user, for example, via the Data Dashboard of the DDE User Interface Application. In one embodiment, the resulting values include at least one predicted value, and corresponding real-time live data value(s) generated by the process control system 5 for the tag(s) or process control element to which the predicted value applies may also be presented in conjunction with the predicted value.
[0183] C. Data Analytics Dashboard As previously discussed, the DDE User Interface Application includes a second mode of operation, the Data Analytics Dashboard. The Dashboard is typically utilized by a user to view and / or manage modules that are (i) offline data modules (e.g., draft data models) being evaluated and / or (ii) online data modules being deployed to an online process control system or plant. Using visual and other representations, the Dashboard provides the user with insight into status and other information corresponding to the evaluation of the offline data models, as well as insight into the deployed online data modules and real-time or live information being generated by the online data modules. Generally, the Data Analytics Dashboard mode provides the user with an interface through which the user can monitor and manage the online and offline data modules. The user can also terminate the evaluation of any offline data modules and the execution of any online data modules from the Dashboard. Generally, but not necessarily, at least a portion of the information displayed on the Data Analytics Dashboard is provided to the Dashboard 350 by the Data Analytics Services of the DDE User Interface Application.
[0184] FIG. 4N-1 depicts an exemplary user interface 350 presented by the Data Analytics Dashboard of the DDE User Interface Application. A first portion 352 of the exemplary Dashboard user interface 350 provides current data analysis summary information, such as an indication of the number of online data modules 355 currently being monitored by the DDE User Interface Application and an indication of the number of live data streams 358 on which the online data modules 355 are acting. As previously discussed, the live data streams 358 are received from one or more data sources that continuously generate real-time data resulting from an online process control plant or environment 5 that controls one or more industrial processes, and the running online data modules 355 are configured to receive the live data streams 358. The data analysis summary information also includes an indication of the number of offline data modules 360 whose evaluations are currently being monitored by the DDE User Interface Application. In some embodiments, the Dashboard user interface 350 includes one or more other notifications or other information 362 related to the data analysis modules being monitored, whether online or offline.
[0185] When the user clicks or otherwise activates one of the summary controls 355, 358, 360, 362, additional summary information corresponding to that selection is presented in a second portion 365 of the Dashboard 350. In FIG. 4N-1, the user has selected to view summary information for the currently running online data modules 355, of which there are currently two: Diagram 2, indicated by reference 368, and Diagram 3, indicated by reference 370. For each running online data module 360, 370, the second portion 365 of the Dashboard 350 shows its respective summary information, indicating the name 372 of the module, the start time 375 when the module was deployed, a trend indicator 378 of the module's output over the most recent time interval (which may be graphical, as shown in FIG. 4N-1), the most recent forecast or forecast value(s) 380, and / or other information (not shown). Of particular note, in the Dashboard 350, the trend indicators 378 of each online data module 368, 370 are continuously updated to reflect the continuously generated output of the respective data module 368, 370, thereby allowing a user to monitor in real time the execution of the online data modules and their continuously generated results.
[0186] In addition, the Data Analytics Dashboard 350 allows a user to click on any summary information associated with any data module 360, 378 to view further details, such as in a pop-up window, dialog box, or other suitable display mechanism (not shown). For example, if a user clicks on the Name of Diagram2 368, the Dashboard 250 may present an online data module diagram for Diagram2 368 and an indication of one or more particular data streams 358 to which Diagram2 368 is bound. If a user clicks on the Start information for Diagram2 368, an indication of the creator of Diagram2 368, the user who deployed Diagram2 368, and / or the owner of Diagram2 368 may be presented. Clicking on the Trend 378 information of Diagram2 368 allows a user to manipulate and explore the output data trends of Diagram2 368, for example, by extending or shortening the time interval viewed, converting the trend information into a different type of visualization (e.g., bar chart, pie chart, scatter plot, etc.), applying and / or obtaining statistics about the trend data over a given interval (e.g., average, rolling average, maximum, minimum, etc.) etc. Similarly, clicking on the Last Prediction 380 information of Diagram2 368 allows a user to manipulate and explore the latest forecast value(s), for example, by viewing the time of the latest forecast and how often the forecast is made, comparing the latest forecast to current live data values, etc.
[0187] When a user selects user control 360 to view a currently executing offline data module (which is not present in the example scenario of FIG. 4N-1), additional summary information corresponding to the offline data module is presented in a second portion 365 of Dashboard 350. Generally, the summary information for an offline data module is similar to that of an online data module, but instead of showing an associated live data stream, the summary information for an offline data module may show the test data file(s) or data stream generated by the offline data source(s) (e.g., test tool, device, and / or environment) on which the offline data is being executed. In addition, the summary information for an offline data module may show the current status, state, and / or progress of its execution.
[0188] In some scenarios, a user may configure and / or deploy an offline data module from the Dashboard (rather than from Data Studio). For example, a user may be monitoring the evaluation of an offline data module from the Dashboard, and the offline data module successfully completes its evaluation. The user may activate a user control (not shown) in the Dashboard. Through this user control, the user may configure the data module to reference live data source(s) and the data generated by the live data source(s) on which the online data module runs. This configuration of binding the online data module to the data source(s) is similar to the configuration described above, except that it is initiated from the Dashboard, not from Data Studio. Alternatively, the user may leverage one-click deployment for offline data modules from the Dashboard.
[0189] When a user selects user control 358 to view information associated with the online data streams currently bound to the running online data module (of which there are three in the example scenario of FIG. 4N-1 ), additional summary information corresponding to the online data streams is presented (not shown) in a second portion 365 of the Dashboard 350. The summary information for each live data stream may include an identifier for the data stream, an indication of the data source from which the data stream is received, a corresponding process control system tag or other conventional process control system identifier for the live data source, information about the subscription(s) and / or publication of the data stream, an indication of one or more online data modules that are currently running based on the live data stream, a continuously updated visualization of the live data stream (e.g., a line graph, a bar chart, a scatter plot, etc., and / or basic statistics thereof), and / or other information.
[0190] Of particular note in the example scenario depicted in FIG. 4N-1 is that while the data stream overview 358 indicates that there are currently three live data streams on which the online data modules are operating, the online data module overview 355 indicates that there are only two online modules running. Thus, one of the two running online modules 368, 370 is operating on two of the live data streams. A user may discover this relationship by navigating to view the details of each online data module 368, 370, which provides an indication of the data stream to which the respective module 368, 370 is bound, or by navigating to view the details of each data stream 358, which provides an indication of the running online data modules operating on each data stream 358.
[0191] FIGURE 4N-2 depicts an exemplary user interface 382 that may be presented by the Data Analytics Dashboard of the DDE User Interface Application. In one embodiment, the user interface 382 is included in the second portion 365 of the user interface 350 shown in FIGURE 4N-1. In one embodiment, the user interface 382 is a full-screen view.
[0192] The user interface 382 includes one or more tiles or cards 385a-385j, each of which corresponds to a respective running online data module, which may collectively be referred to as a palette or deck of cards 385x. Each of the cards 385x in the palette may include information similar to that displayed for the running online data modules 360, 370 of FIG. 4N-1, such as the name of the module, the start time the module is deployed, a trend indicator of the module's output over the most recent time interval, the most recent latest forecast or forecast value(s), and / or other information. Also similar to the display for the running online data modules 360, 370, the trend indicators of each of the cards 385x are continuously updated to reflect the continuously generated output of its respective online data module, thereby allowing a user to monitor its execution and continuously generated results in real time.
[0193] Each of the cards 385x is resizable and movable as desired by the user. In one embodiment, the size of a particular card 385x increases when that particular card is focused. A card 385x may be manually focused when a user clicks on that particular card 385x, hovers over that particular card 385x, etc. Additionally or alternatively, a card 385x may be automatically focused when a particular data module requires urgent attention (e.g., when a predictive value exceeds a threshold, when the data module itself requires user input or intervention, importance ranking of states within the card 385x, etc.). Other automatically generated indicators of needing attention may be indicated in the user interface 382 by, for example, highlighting or providing some other action to a particular card 385x, resizing the set of cards 385x according to their respective urgency, moving a particular card 385x to the foreground or front of the palette, arranging the cards 385x in order of priority of attention. In one embodiment, a user may define certain actions that are automatically applied to card 385x in certain situations.
[0194] Returning now to the data block definitions 255 stored in the data block definition library 252 of the DDE User Interface Application (e.g., as shown in FIG. 4C), the data block definitions stored in the library 252 may be dynamically discovered by the DDE User Interface Application during its startup or initialization. In one embodiment, the data block definitions are defined using a lightweight data exchange format, such as a JSON file or document, or other suitable format. A particular data block definition file or document includes the name of the block definition and details the block properties and connectors that define that particular data block. In some cases, a particular block definition may provide a definition for an offline representation and a definition for an online representation.
[0195] Because the DDE User Interface Application may continually and dynamically discover block definitions, additional block definitions (e.g., for custom data blocks, composite data blocks, and / or other data blocks) may be added to the library 252 at any time while the DDE User Interface Application is running. In one embodiment, the additional block definitions are generated by a utility application referred to herein as a “data block definition wrapper.” For example, the data block definition wrapper may be invoked when a user saves a custom or composite data block, as described above with respect to FIG. 4K. When the block definition wrapper executes, it creates an instance of the additional block definition and creates and stores a corresponding JSON document or the like that defines the additional block definition. For example, the created instance of the additional block definition generates a JSON document and stores it in the library 252. Referring to FIG. 4K as an example scenario, when a user saves a composite block definition 338, the block definition wrapper executes and generates and stores a JSON document or the like for the composite block definition 338.
[0196] During the configuration of a data block (whether offline or online), the DDE User Interface Application may need to implement some functionality (e.g., business logic) to achieve the necessary configuration experience to assist the user in successfully configuring and using the data block. This functionality is not embedded in the DDE User Interface Application itself, since block definitions are dynamically discovered by the DDE User Interface Application. Thus, in one embodiment, any associated functionality that is specific to a particular data block may also be dynamically loaded when the DDE User Interface Application is initialized. A reference to the dynamically loaded functionality that corresponds to a particular data block is then maintained in the block definition of the particular data block and is used by the DDE User Interface Application when the block definition of that particular block is configured. Additional details regarding block definitions and associated functionality are provided in later sections of this application.
[0197] Industrial process monitoring and analysis systems integrated with process control systems 1-3 and 4A-4N-2, the distributed industrial process performance monitoring and / or analysis system, or DAS 100, provides a platform that supports data analysis configuration, data modeling, data model execution, data visualization, and streaming services for an industrial process plant. As previously discussed, although various nodes of the monitoring and analysis system 100 are embedded within a process control system or plant 5, typically the data communications network 112 of the analysis platform 100 exists outside of (and independent of) the existing DCS, PLS, sanitary monitoring, and other systems of the process plant 5. In one exemplary configuration, the data analysis network 112 is overlaid on top of the process plant 5, thereby isolating the network 112 from most or all of the conventional process control communication networks 10, 70, etc. of the process plant 5. The traditional process control communication network continues to transmit process control data to control, manage, and / or supervise the processes and operations of the plant 5, while the data analytics network 112 transmits analytical data (which may include copies of the data transmitted over the traditional process control communication network) to discover knowledge, such as descriptive, predictive, and / or prescriptive knowledge, about the operation of the process plant 5. The architecture of the data analytics system 100 allows the data analytics system 100 to be easily added to or integrated into an existing legacy process plant 5.
[0198] The knowledge discovered by the data analysis system 100 about the process plant 5 may be utilized to modify parameters, equipment, operations, and other parts of the process plant 5 to increase performance of the plant 5 and to reduce the occurrence of failures, damages, and other undesirable conditions. Advantageously, the data analysis system 100 discovers knowledge about the process plant 5 in real-time corresponding to the current on-line operation of the process plant 5 such that the discovered knowledge describes, predicts, and / or prescribes the current operation of the process plant 5. Thus, the data analysis system 100 and the process plant 5 form a control loop to control and optimize the performance of the process plant 5.
[0199] An exemplary high-level block diagram 400 of a control loop for controlling and optimizing the performance of a process plant 5 is illustrated in FIG. 4O. As shown in FIG. 4O, the online process plant 5 generates and acts upon various types of control data 402 and communicates the control data over a conventional process control communication network (e.g., networks 10, 70, etc.) to control one or more industrial processes and generate a process plant output 405. The distributed industrial process performance monitoring and analysis system 100 is connected to and integrated with the process plant 5 via an embedded distributed data engine 102x that ingests analytical data 408 generated as a result of the process plant 5 controlling one or more processes to generate the output 405. As previously discussed, the ingested analytical data 408 may include primary and higher order process control data 402, as well as results / outputs of analytical functions performed locally by the DDE 102x and / or results / outputs of analytical functions performed by offline and online data analysis modules developed via Data Studio of the data analysis system 100. In some cases, the captured analytical data 408 includes new analytical functions generated via Data Studio and / or new analytical functions generated autonomously by the DDE 102x.
[0200] The data analytics system or platform 100 receives, generates, communicates, and acts upon the analytical data 408 to generate analytical output 410. The analytical output 410 may include discovered knowledge about the process plant 5, such as knowledge describing the current operation of the process plant 5, knowledge predicting the occurrence of a failure, damage, time interval, performance, event, etc. given the current operation of the process plant 5, and / or knowledge prescribing one or more prescriptive actions that may be taken to mitigate undesirable characteristics of the current plant operation and / or to mitigate the likelihood of the occurrence of an undesirable predicted failure, damage, time interval, performance, event, etc. given the current operation of the process plant 5. In some embodiments, the discovered knowledge 410 includes knowledge about the analytical data 408 state of affairs. For example, the discovered analytical knowledge 410 may include an optimal offline data set that may be utilized to evaluate different offline data modules, a sequence of steps that have been used repeatedly by data engineers and defined as a new data analysis user procedure, a new configuration of data blocks defined as a new data analysis technique, etc. Indeed, during testing of a prototype data analysis system 100 integrated into a refinery process plant, new data analysis techniques for industrial process plants were discovered by the control loop 400, as will be described in a later section below.
[0201] At least a portion of the discovered knowledge included in the analysis output 410 may be provided to a Human-Machine Interface (HMI) 412, such as a Data Analytics User Interface Application. Through the HMI 412, a user may explore the discovered knowledge 410 generated by the data analytics system 100 about the process plant 5. In some cases, the exploration of the discovered knowledge 410 includes the user utilizing Data Studio to create and execute additional data analysis modules to generate additional discovered knowledge 410 for the additional exploration. At some point, based on the subject of the discovered knowledge 410, the user may make one or more changes 418 to one or more values, parameters, equipment, components, control loops, and / or other current operations of the online process plant 5, thereby optimizing the performance and output 405 of the process plant 5 and / or preventing or arresting the occurrence of failures, damage, and other undesirable conditions.
[0202] In some circumstances, at least a portion of the discovered knowledge included in the analytical output 410 is provided directly to the process plant 5 to effect or make one or more prescriptive changes, as represented by arrow 420 in FIG. 4O. For example, the discovered knowledge 410 may include prescriptive actions including changes to set points, changes to controller configurations, changes to process control message priorities, or changes to some other value, parameter, configuration, etc. The data analysis system 100 may automatically and directly download or otherwise make the changes at the process plant 5 without requiring any user intervention 418, thereby automatically optimizing the performance and output 405 of the process plant 5 and / or preventing or arresting the occurrence of failures, damage, and other undesirable conditions based on the discovered knowledge 410. It is noted that as the analysis system 100 processes the current analytical data 408 and generates the discovered knowledge 410 based on the current operation of the process plant 5, this leg of the control loop 400 automatically updates the online process plant 5 to improve its current operation in real time. Thus, in contrast to existing analytical techniques that require hours or even days to calculate, determine, and implement prescriptive actions, the prescriptive actions generated by analysis system 100 are optimized for the current operating conditions of plant 5 and are applied to process plant 5 immediately, in some cases before any user is aware of an impending, undesirable, or desired condition.
[0203] Of course, for optimal overall implementation of prescriptive actions within the process plant 5, the control loop 400 requires both the autonomous leg 420 and the HMI control leg 418. Some prescriptive actions require human intervention, such as the installation of a displacement valve, sensor, or other component.
[0204] As previously discussed, the data analytics platform 100 allows analytical data to be streamed between multiple embedded distributed data engines (DDEs) 102x. Any type of primary data generated by the process plant 5 as a result of controlling a process may be streamed. For example, process control data contained in signals generated by process control devices (e.g., controllers, I / O cards, field devices, etc.) that are typically transmitted over a conventional process control communication network for purposes of controlling a process may also be streamed on the data analytics network 112 for purposes of data analysis. Thus, content or data contained in process control signals, sensor signals, etc. may be copied and / or replicated and streamed through the data analytics network 112. Additionally, secondary (or higher order) process control data (e.g., data histogrammed in a process control database or historian, process control configurations, process control user interface commands, process control network management signals, and any other signals that are traditionally transmitted and received over a conventional process control communication network as a result of controlling a process) generated and transmitted over a conventional process control communication network may be streamed on the data analytics network 112 for purposes of data analysis. Additionally, the data analytics network 112 may stream calculated data or the results of analytical functions or techniques performed on traditional process control data and / or calculated analytical data.
[0205] As a result, the data analytics platform 100 partially integrates with the process plant 5 by binding locally to the data sources of the process plant 5 and / or by providing data analytics services or functionality near the data sources within the process plant 5, while simultaneously providing larger scale prediction and optimization. Only data required to support outer loop prediction and optimization needs to be communicated to the higher / more capable analytics servers and cloud platforms of the analytics system 100.
[0206] As discussed above, some of the DDEs 102x of the data analysis system 100 are embedded in physical devices within the process plant 5. For example, some of the DDEs 102x are each integral with a respective process control device (e.g., controller 11, I / O cards 26, 28, field devices 15-16, 18-21, 42A, 42B, 44, etc.) and / or a respective network routing and management device (e.g., gateways 35, 75, 78, adapter 52a, router 58, access points 55a, 72, etc.). In one embodiment, rather than being integrated into a centralized device or component of the process plant 5, the DDE may be a standalone device that is connected as a scope, monitor, or voyeur to a conventional process communication link or network (e.g., networks 10, 70, PLS networks, health and safety monitoring systems, etc.) and may copy / replicate selected process control data being transmitted over the conventional process communication link or network for streaming over the data analysis network 112 for data analysis purposes.
[0207] In some scenarios, two or more DDEs may form a local data analysis cluster to which data sources register and connect, and through which analytical data generated at the registered data sources may be received as analytical data to the data analysis network 112. In one example, a set of DDEs forms a local cluster and announces its existence. The local cluster appears as a centralized node or single DDE instance 150 of the data analysis network 112, even if the local cluster includes multiple DDEs interconnected through the data analysis network 112. When a new data source is activated or started on the premises of the process plant 5, the data source scans or looks for the announcement of the local cluster. The data source may detect the announcement of the local cluster and register with the local cluster, thereby connecting to the data analysis network 112. The registered data sources may then request bandwidth from the analysis system 100 (e.g., through their local cluster) and publish data to their local cluster, to another node of the data analysis network 112, or directly to the analysis system 100. Since the local clusters appear as instances of distributed data engine 150, the local clusters receive locally generated analytical data (e.g., analytical data from registered sources and / or other sources) via their respective big data receivers 160 and store the locally generated analytical data in their respective local persistent storage 155. Additionally, the local clusters may provide at least a portion of the stored analytical data to a requesting application (e.g., another data analysis application, a data module, a user interface, Data Studio, another application, etc.), e.g., via their respective big data request servicers 165.In some cases, the local clusters may perform their own local data analysis functions on stored data received from registered data sources, e.g., via their own big data request analyzers 170, and / or other data streamed within the data analysis network 112. Results or output of the local data analysis functions may be stored locally in their own big data storages 155 and / or streamed, e.g., via their own one or more data analysis network interfaces 175, to one or more other DDEs outside the local cluster, e.g., another local DDE or local cluster, a centralized data cluster, or a subscribing application.
[0208] In some embodiments, local clusters register themselves with more centralized clusters that receive and store higher level analytical data and perform the respective higher level data analysis functions. For example, a particular centralized cluster (e.g., a regional cluster) may receive streamed data from all local clusters in a particular region of the plant 5 and perform data analysis thereon. In another example, a particular centralized cluster may receive streamed data from all control loops of a particular type of configuration in the plant 5 and perform data analysis thereon. Like local clusters, the centralized cluster has the appearance of a single node or instance of DDE 150 in the data analysis network 112.
[0209] Consequently, the ability of distributed industrial process performance monitoring and analysis system 100 to provide DDEs and / or clusters of DDEs at various layers or dimensions of localization allows for fault detection and prediction to be performed near the data sources of the process plant 5, thereby providing real-time fault detection and prediction responsive to real-time data generated by the online data sources. Such a multi-tier or clustered architecture also allows for storage of analytical data throughout the system 100, and indeed, since analysis system 100 includes portions embedded within the process plant 5, it allows for storage of analytical data throughout the process plant 5. Additionally, data analysis system 100 provides the ability to access data stored at any DDE, providing a centralized system for analysis configuration, diagnostics, and monitoring of performance, faults, and damage.
[0210] In some embodiments, one or more centralized clusters provide a centralized location for a user or system administrator to establish rules for backing up or historizing analytical data from multiple DDEs 102x. In one example, one or more centralized clusters are located on the premises of the process plant 5 and handle the process plant 5 as a whole. In another example, one or more centralized clusters are located or hosted in the cloud and handle the process plant 5 as a whole. In some configurations, the centralized cluster(s) providing backup or historization of the process plant 5 also service other process plants. Generally, as discussed above, analytical data is persistently stored in each DDE or cluster in its respective big data storage area 155. In some cases, some analytical data received or generated by a DDE or cluster may be cached in that DDE or cluster for quicker access (e.g., based on one or more criteria such as number of subscribers, frequency of publication or transmission, etc.), but generally all local analytical data is moved to persistent storage 155 in the DDE or cluster. Periodically, or at predefined times, the analytical data persistently stored in each DDE may be backed up, archived, or historized for long-term data analysis storage, for example, in a centralized analytical data historian that is accessible via the data analysis network 112. For example, the data analysis historian may be a plant-wide data analysis historian and / or may be cloud-hosted. Typically, however, the data analysis historian is independent and separate from any process control data historians. Through a user interface that accesses one or more centralized clusters, a user or system administrator can define a set of rules that indicate how often each particular DDE storage area 155 is backed up, when the backup occurs, where the analytical data is historized, etc.
[0211] In an embodiment, one or more centralized clusters provide a centralized location for a user or system administrator to establish rules regarding replication of analytical data within clusters, nodes, and / or DDEs 102x of data analysis system 100. For example, a set of replication rules can define which particular analytical data is replicated within which particular nodes of data analysis network 112, as well as how frequently the particular analytical data is updated within the particular nodes. For example, a set of replication rules can define how frequently to replicate (e.g., by streaming) results of analytical function A performed by node A at nodes B-D, such that the replicated results are available to nodes B-D as they perform their respective data analysis functions. Similar to the histogramming and backup rules, a set of replication rules can be defined by a user or system administrator via a user interface that accesses one or more centralized clusters. For example, a system administrator can utilize the user interface to manage the set of replication rules, and the set of replication rules can be stored in one or more centralized clusters. The one or more centralized clusters that provide management of the replication of the analytical data may be the same as the set of clusters that provide management of the backup / historying of the analytical data, or may be a different set of clusters.
[0212] In one embodiment, one or more centralized clusters provide location services, streaming services (e.g., streaming service 115 of FIG. 1), data dictionaries, and / or other functionality that can be utilized by local clusters, other centralized clusters, and / or individual DDEs 102x to establish the exchange of analytical data therebetween. The one or more centralized clusters providing location services, streaming services, data dictionaries, and / or other functionality may be the same as or a different set of clusters that provide management of analytical data replication and / or management of analytical data backup / historying. A system administrator or user may utilize a user interface to access one or more centralized clusters to manage the services, dictionaries, and other functionality used to establish and provide the exchange of analytical data between clusters and between nodes of the data analysis network 112.
[0213] FIG. 4P depicts an example method 450 of providing localized data analysis services. In an embodiment, a distributed data engine 102x or cluster of DDEs performs at least a portion of the method 450. In general, at least a portion of the method 450 may be performed by any portion of a distributed industrial performance monitoring and / or analysis system, such as system 100. Indeed, the method 450 may be performed using any portion of any of the systems, apparatus, devices, and / or techniques described herein. However, for ease of discussion, the method 450 is described below with respect to a cluster of one or more DDEs 102x of the analysis system 100 appearing as a centralized DDE instance 150. However, this is merely one of many embodiments and is not intended to be limiting.
[0214] The example method 450 includes announcing by the cluster the presence of the cluster (block 452). The cluster is included in the data analytics network 112 of the process control plant 5 that is online and operating to control a process, and the cluster's announcement may be transmitted through the data analytics network 112, through one or more other networks, via a short-range wireless protocol such as Bluetooth, NFC, or any other suitable announcement means.
[0215] The method 450 further includes receiving, at the cluster, a response from the data source to the cluster's announcement. For example, the response from the data source may be a request from the data source to register with the cluster, and the method 450 may include registering the data source with the cluster and / or the data analytics network 112 (block 455), thereby connecting the data source with the data analytics network 112. The data source may be a device or component included in the process plant 5 and that generates data as a result of process control by the online process plant 5. In one example, the data source generates continuous time series data resulting from the process being controlled.
[0216] Additionally, the method 450 includes receiving by the cluster the data generated by the data source (block 458). For example, the data source may stream its generated data to the cluster via the data analytics network 112. Additionally or alternatively, the cluster may subscribe to particular data generated and published by the data source. In some embodiments, the cluster may query the data source for particular data, for example, by using a query mechanism described in a later section of this application. If the data source is a device or component that typically communicates process control data over one or more conventional process control communication networks (e.g., networks 10, 70), the data source may continue to communicate process control data normally over the one or more conventional process control communication networks while also streaming a copy or replica of the content of the communicated process control data over the data analytics network 112.
[0217] Upon receiving data generated by a data source, the cluster may cache at least a portion of the received data, for example if the received data satisfies one or more caching conditions, but regardless of whether any of the received data is cached, the entirety of the received data is stored locally in the cluster's persistent storage 155.
[0218] The method 450 includes streaming at least a portion of the data generated by the data source by the cluster over the data analysis network 112 to a data consumer (block 460). The data consumer may be, for example, another analysis node or cluster, a data analysis application, a user interface and / or a user interface application, an online data analysis module, another application, and / or a database or a data historian. The data consumer may be bound to a data source and / or a particular data stream that includes at least a portion of the data generated by the data source. The particular data desired to be received by the data consumer is typically time series data and may be continuous data.
[0219] The data consumer may have queried the cluster for specific data generated by the data source, for example by leveraging the query mechanism described in a later section of this application, and the streaming (block 460) may be a response to this query generated by the data consumer. In an embodiment, the data consumer may subscribe to specific data generated by the data source and published by the data source or the cluster. In any case, the cluster receives the desired data generated by the data source from its cache or its local persistent data storage 155 and streams the data to the data consumer over the data analysis network 112 (block 460).
[0220] In some embodiments, the method 450 includes performing, by the cluster, one or more data analysis functions or techniques on at least a portion of the data generated by the data sources (not shown in FIG. 4P). The one or more analysis functions or techniques may include descriptive analysis, predictive analysis, and / or prescriptive analysis. The one or more analysis functions or techniques may be performed by the cluster, for example, per request of an online data analysis module, another data analysis application, or a user. In another example, the one or more analysis functions or techniques may be automatically initiated and performed by the cluster. Results of the execution of the one or more analysis functions or techniques may be returned to a requesting party and / or stored locally at the cluster in persistent data storage 155. In some embodiments, the one or more analysis functions or techniques are performed on data generated by multiple data sources registered with the cluster and stored (and optionally cached) in the cluster.
[0221] The cluster is referred to herein as a "local" cluster because the cluster receives primary data generated by data sources within the process plant 5 and is located near these data sources within the process plant 5. In some embodiments, the method 450 includes the local cluster detecting announcements generated by a centralized cluster, such as a regional cluster, a wide-area cluster, a plant-wide cluster, etc. The local cluster may register itself with the centralized cluster and may stream at least a portion of the local analytical data stored in its cache and / or its persistent data storage 155 to the centralized cluster. For example, the analytical data streamed to the centralized cluster may include data generated by the data sources and / or results of one or more analytical functions performed by the local cluster. The local cluster may stream data to the centralized cluster per a query initiated by the centralized cluster and / or the local cluster may publish data subscribed to by the centralized cluster.
[0222] In some embodiments, the method 450 includes historizing or backing up the data stored in the cluster's local persistent storage 155 (not shown in FIG. 4P). The data backup may be initiated by the cluster or the data backup may be initiated by the centralized analytic data historian. In some embodiments, the cluster and the centralized analytic data historian may have a publisher / subscriber relationship. The timing and / or amount of data to be backed up from the cluster may be defined by a system administrator of the system 100 in some embodiments. The data to be backed up may be transmitted and / or streamed from the cluster to the analytic data historian for long-term storage and backup.
[0223] FIG. 4Q depicts an example method 470 of providing localized data analysis services. In an embodiment, a distributed data engine 102x or a cluster of DDEs 102x performs at least a portion of the method 470. In general, at least a portion of the method 470 may be performed by any portion of a distributed industrial performance monitoring and / or analysis system, such as the system 100. Indeed, the method 470 may be performed using any portion of any of the systems, apparatus, devices, and / or techniques described herein. However, for ease of discussion, the method 470 is described below with respect to a cluster of one or more DDEs 102x of the system 100 appearing as a centralized DDE instance 150. However, this is merely one of many embodiments and is not intended to be limiting.
[0224] The exemplary method 470 includes announcing the existence of the centralized cluster by the centralized cluster (block 472). The centralized cluster differs from the local clusters of FIG. 4P because data sources typically do not register directly with the centralized cluster. Rather, often local clusters or other types of clusters register with the centralized cluster, and the centralized cluster performs data analysis functions on data it receives from such other clusters. However, like local clusters, the centralized cluster is included in the data analysis network 112 of the process control plant 5 that is online as it operates to control the process, and announcements of the centralized cluster may be transmitted, streamed, and / or broadcast through the data analysis network 112. As used herein, a "centralized" cluster refers to a cluster to which other clusters subscribe. The centralized cluster may handle a control loop (e.g., a "control loop" cluster), an area of a process plant (e.g., a "wide area" cluster), a region of a process plant (e.g., a "regional" cluster), an entire process plant (e.g., a "plant-wide" cluster), multiple process plants (an "enterprise" cluster), and the like. Typically, a centralized cluster includes multiple DDEs interconnected via a data analysis network 112 that appear as a single, centralized DDE instance 150 .
[0225] The method 470 further includes receiving, at the centralized cluster, a response from the other cluster to the centralized cluster's announcement. For example, the response from the other cluster may be a request from the other cluster to register with the centralized cluster, and the method 470 may include registering the other cluster with the centralized cluster (block 475). The registering cluster may be a local cluster, such as the local cluster of FIG. 4P, or the registering cluster may be another centralized cluster.
[0226] In addition, the method 470 includes receiving at the centralized cluster the streamed data from the registered cluster (block 478). For example, the registered cluster may stream a portion of its stored and / or cached data to the centralized cluster via the data analysis network 112. Thus, the streamed data typically includes time series data, which may be, for example, continuous data. Additionally or alternatively, the centralized cluster may subscribe to specific data published by the registered cluster. In some embodiments, the centralized cluster queries the registered cluster for specific data, for example, by using a query mechanism described in a later section of this application. The streamed data may include data generated by the registered cluster and / or data streamed to the registered cluster from a data source and / or other clusters.
[0227] In some embodiments, the centralized cluster caches at least a portion of the streamed data it receives, for example, if the received data satisfies one or more caching conditions. Regardless of whether any of the data received at the centralized cluster is cached, the entirety of the received data is stored locally in persistent storage 155 of the centralized cluster.
[0228] In block 480, the method 470 includes performing one or more data analysis functions or techniques on at least a portion of the received and streamed data (e.g., data stored in the cache and / or in the persistent storage 155). The one or more analysis functions or techniques may include descriptive analysis, predictive analysis, and / or prescriptive analysis. For example, the one or more analysis functions or techniques may be performed by the centralized cluster per an online data analysis module, another data analysis application, or a user request. In another example, the one or more analysis functions or techniques may be performed automatically and / or periodically by the centralized cluster. Results or output of the execution of the one or more analysis functions or techniques may be returned to the requesting party and / or may be stored locally at the centralized cluster in persistent data storage 155. In some embodiments, the one or more analysis functions or techniques are performed on data generated by multiple registered clusters and stored (and optionally cached) in the centralized cluster.
[0229] The method 470 includes streaming at least a portion of the results or output of the one or more analytical functions or techniques by the centralized cluster over the data analytics network 112 to one or more data consumers (block 482). The one or more data consumers may include, for example, another analytics node or cluster, a data analytics application, a user interface and / or a user interface application, an online data analytics module, another application, and / or a database or data historian. The one or more data consumers may be bound to the centralized cluster, a particular analytics result / output, and / or a particular data stream that includes the particular analytics result / output.
[0230] One or more data consumers may have queried the centralized cluster for a particular analytical result / output, for example by utilizing a query mechanism described in a later section of this application, and the streaming (block 482) may be a response to this query generated by one or more data consumers. Additionally or alternatively, the data consumers may subscribe to a particular analytical result / output published by the centralized cluster. In any case, the centralized cluster receives the desired data from its cache or its local persistent data storage 155 and streams the desired data to one or more data consumers via the data analysis network 112. In some cases, the desired analytical result / output data is streamed as it is generated by one or more data analysis functions or techniques.
[0231] In some embodiments, method 470 includes registering one or more additional local clusters with the centralized cluster and receiving respective analytical data from the one or more additional local clusters (not shown in FIG. 4Q). In such embodiments, performing one or more data analysis functions or techniques (block 480) may include performing the data analysis functions or techniques on the analytical data received from the multiple local clusters at the centralized cluster.
[0232] In some embodiments, the method 470 includes histizing or backing up data stored in persistent storage local to the centralized cluster (e.g., data stored in big data storage 155) (not shown in FIG. 4Q). The backup of data may be initiated by the centralized cluster, or the backup of data may be initiated by the centralized analytic data historian. In an example, the centralized cluster in the centralized analytic data historian may have a publisher / subscriber relationship. The timing and / or amount of data to be backed up from the centralized cluster may be defined by a system administrator of the system 100 at the centralized cluster or at another centralized cluster. For example, the system administrator may utilize a user interface to manage a set of rules regarding backups in the system 100, which may be stored in the centralized cluster. The backed up data may be transmitted and / or streamed from the centralized cluster 152 and the analytic data historian for long-term storage and backup.
[0233] Additionally or alternatively, in some embodiments, method 470 includes providing a set of rules for replication of analytical data within clusters, nodes, and / or DDEs 102x of data analysis system 100. For example, the set of replication rules can define which particular analytical data is replicated within which particular nodes of data analysis network 112, as well as how frequently the particular analytical data is updated within the particular nodes. For example, the set of replication rules can define how frequently to replicate (e.g., by streaming) results of analytical function A performed by node A at nodes B-D, such that the replicated results are available to nodes B-D as they perform their respective data analysis functions. Similar to the histogramming and backup rules, the set of replication rules can be defined by managed systems of system 100 at one or more centralized clusters. For example, a system administrator can utilize a user interface to manage the set of replication rules, and the set of replication rules can be stored at the one or more centralized clusters.
[0234] In some embodiments, the method 470 includes the centralized cluster detecting an announcement generated by another centralized cluster. For example, the announcing cluster may be a regional, wide-area, or plant-wide cluster located on the premises of the process plant 5. In some cases, the announcing cluster may be hosted in the cloud and may provide analytical services for a portion of the plant 5, the entire plant 5, or multiple plants. The centralized cluster may register itself with the announcing cluster and stream analytical data stored in its cache and / or its persistent data storage 155 to the announcing cluster. For example, the centralized cluster may stream at least a portion of the results of an analytical function performed by the centralized cluster. The centralized cluster may stream data to the announcing cluster to which it is registered and / or the centralized cluster may publish data subscribed to by the announcing cluster.
[0235] In some embodiments, method 470 includes providing location services, streaming services (e.g., streaming services 115 of FIG. 1), and / or data dictionaries that can be used by other local and centralized clusters, as well as individual DDEs 102x, to establish an exchange of analytical data therebetween (not shown in FIG. 4Q).
[0236] Industrial Performance Monitoring / Analysis Services The functionality of Data Studio's transformation of offline data diagrams into online data diagrams, execution of both offline and online blocks and modules, and analysis represented by the diagrams is enabled by an Analytics Service provided by an industrial performance monitoring and analysis system, such as Data Analytics System (DAS) 100. The Analytics Service is referred to interchangeably herein as the "Service," "Services," or "Analytics Services." Any or all portions of the Analytics Services described herein may operate in conjunction with any or all portions of Figures 1, 2, 3, and / or 4A-4Q, and / or in conjunction with any number of the features and / or techniques described in the sections of this disclosure corresponding to Figures 1, 2, 3, and / or 4A-4Q, respectively.
[0237] Generally, the Analytics Service can compile, execute, and / or transform offline diagrams (e.g., in Data Studio and / or Dashboard) and can compile, execute, and / or create online diagrams (e.g., in Data Studio and / or Dashboard). The Analytics Service facilitates exploration of large sets of data, i.e., Big Data, without necessarily requiring knowledge of the particular type(s) of data and without requiring users of the Analytics Service to perform low-level programming to perform the analysis. An exemplary block diagram architecture of the Analytics Service 500 is shown in FIG. 5A in the context of a portion of the system 100. More specifically, the Analytics Service 500 is one of a number of computer-implemented processes, each of which is associated with various software entities (e.g., computer-executable instructions and data stored on one or more tangible, non-transitory computer media). As will be explained in more detail below, the Analytics Service 500 interacts with the larger system 100 in large part through data generated and / or stored by various entities of the system 100.
[0238] As noted above, the DDE User Interface Application is, in an embodiment, a web-based application. Figure 5A depicts an embodiment of the Analytics Service 500 implemented in such an embodiment, i.e., with a web-based DDE User Interface Application. In its broadest sense, the Analytics Service 500 implemented in this manner includes client-side, server-side, and back-end computer-implemented processes. For example, as depicted in Figure 5A, the Analytics Service 500 includes a web client process 502, a web server process 504, an execution service process 506, and one or more job processes 508. The various processes 502, 504, 506, 508 may be executed on one or more processors, on one or more workstations or servers, and in one or more physical and / or geographic locations. That is, one instance of the web client process 502 may run on a workstation remote from the server on which the web server process 504 runs, while another instance of the web client process 502 may run on the same server, and indeed may run on the same processor, as the server on which the web server process 504 runs. As another example, the execution service process 506 may run on a workstation within the confines of the process control environment, while one or more job processes 508 may run on one or more processors in a distributed process environment (e.g., a server farm) that is located remotely from the process control environment. In short, the Analytics Service 500 is designed to be flexible such that there is no requirement that the various processes 502, 504, 506, 508 do or do not run on the same processor, workstation, bank of processors, one or more virtual machines, and / or the same physical or geographic location.Advantageously, this architecture not only facilitates remote access to the data analysis provided by Analytics Service 500 and the ability to leverage massive processor and computational resources to perform the analysis, but also enables Analytics Service 500 to consume and / or analyze data across multiple process plants, regardless of how different their geographic locations may be.
[0239] The web client process 502 operates according to principles consistent with the above description of the DDE User Interface Application, although not very different from commonly understood principles. For example, the web client process 502 includes various software entities including, for example, a view entity 510, which presents the DDE User Interface Application (e.g., the canvas 245 and user controls 248a-n of the Data Analytics Studio 240, the Data Analytics Dashboard, etc.) to the user, a view model entity 512, which manages the transport and translation of application data, such as block states, into a form that the user interface can utilize, and which provides feedback from and / or generates views that otherwise indicate the operation of the online data modules, an application entity 514, which is a software entity (i.e., a web-based application) that is downloaded to the web client process 502 and resides on the client workstation or device through which the user interacts with the DDE User Interface Application, and a data services entity 516, which passes data to and from the DDE User Interface Application.
[0240] The data services entity 516 receives data returned from various jobs executed, for example, in response to user inputs and requests. As discussed above, and in further detail below, the DDE User Interface Application may request the execution of various analyses based on data from (and, in some cases, data currently being generated by) the process control environment, either in an exploration mode (e.g., in Data Analysis Studio), used to discover relationships between disparate data (or data of known relationships), or in a prediction mode (e.g., in Dashboard), used to perform real-time (or near real-time) continuous analysis to predict at least one value in the process control environment. As used herein, the phrase "real time" or "real-time" means "sufficiently contemporaneous so as to remain useful for adjusting or otherwise affecting the current operation of the process plant." For example, when one or more blocks are placed on the canvas 245 and one or more of the blocks are executed, the results of the execution may be returned via the data services entity 516 to the application entity 514 (e.g., using a Web Sockets protocol connection from the web server process 504) and displayed to the user via the display entity 510.
[0241] At the same time, the data services entity 516 may communicate with the web server process 504 via other protocols (e.g., HTTP) to request and receive various types of information necessary for the operation of the application entity 514. As an example, when the application entity 514 is first executed, it may request and receive the latest block definitions 255 from the block definition library 252 via the data services entity 516 using the HTTP protocol. Alternatively, the application entity 514 may initially receive only the categories and list of available block definitions 255, and upon selection by the user, the application entity 514 may request and receive the particular block definition 255 selected by the user via the data services entity 516 using the HTTP protocol.
[0242] Turning now to the web server process 504, one or more server communication entities 518 communicate with the web client process 502. As noted above, communication between the server communication entity(ies) may implement protocols such as HTTP, HTTPS, and the Web Socket protocol, but the particular protocols described should not be considered limiting, as any other protocol suitable for the present application may be implemented. In addition to communicating with the web client process 502, the server communication entity 518 may receive data from one or more processes that perform instructions (e.g., data analysis, data loading, data filtering, etc.) requested according to one or more blocks (i.e., programming elements of a diagram) placed on the canvas 245. Data may be received from the processes, for example, via a web socket (not shown) of the server communication entity 518, which may also be communicated to the web client process 502 via the Web Socket protocol.
[0243] The data services entity 520 provides data to the web client process 502 other than data received from processes executing instructions associated with various blocks. For example, the data services entity 520 may retrieve block definitions 255 from the block definition library 252 and communicate them to the application entity 514, and / or communicate status information about the execution of blocks from the execution services process 506 to the application entity 514 so that the status can be displayed by the display entity 510.
[0244] 5B, the data services entity 520 is depicted in more detail. Specifically, the data services entity 520 includes copies (or pointers to) the block definitions 255 of the block definition library 252 and a set of data plug-ins 523. Each of the data plug-ins 523 is a set of computer-executable instructions that conform to an interface that may be invoked by the application entity 514 to perform a particular task. Each of the plug-ins 523 is independent of the application entity 514 and is loaded by the application entity 514 when the application entity 514 encounters metadata that identifies the plug-in 523 to be loaded. The plug-ins 523 may include logic that is specific to the application and / or the operating environment in which the Analytics Service 500 is running. That is, the set of plugins 523 for a process control environment that implements Analytics Service 500 may be different from the set of plugins for a financial service that implements Analytics Service 500 (note that Analytics Service 500 facilitates exploration of large sets of data, i.e., Big Data, without necessarily requiring knowledge of a particular type(s) of data, and without requiring users of Analytics Service 500 to do low-level programming to perform the analysis), and indeed may also be different from the set of plugins for a different process control environment that implements Analytics Service 500.
[0245] The separation of block definitions 255 from application entity 514 allows application entity 514 to use and deploy different block definitions based on customer requirements. Because logic specific to an application and / or operating environment is not hard-coded into application entity 514, block definitions can be created, added, modified, and / or removed without affecting the underlying operation of application entity 514. By providing plugins 523 and block definitions 255 separately from application entity 514, application entity 514 can operate with similar functionality regardless of the particular block definitions 255 and plugins 523 required for a particular application.
[0246] 5A, as described above, the application entity 514 operates to facilitate the creation of an offline diagram, such as the offline diagram 340 of FIG. 4L, on the canvas 245. To create an offline diagram, a user selects and places one or more blocks on the canvas 245 (e.g., by dragging and dropping) and "wires" the blocks together so that data is communicated between the blocks. Each of the blocks is an instance of a template block that is stored as one of the block definitions 255 in the block definition library 252. When a user activates the user control 248m, the application entity 514 causes the display entity 510 to display available categories of block definitions 255 and / or available block definitions 255 from which the user can select and place a block on the canvas 245. In one embodiment, the block definition library 252 is stored in a memory device shared by one or both of the execution services process 506 or the web server process 504, and metadata of the block definition library 252 (e.g., name of the block definition, category of the block definition, etc.) is sent to the application entity 514, but the block definition is sent to the application entity 514 only when a block is selected for placement on the canvas 245. Alternatively, the block definition library 252 is sent in its entirety to the application entity 514 when the application entity 514 is instantiated in a web client and remains present in the web client throughout the execution of the web client process 502. A master copy of the block definition library 252 may reside in a database (not shown) within the process control environment, a cloud storage device accessible over a network, a workstation, etc.
[0247] The block definitions 255 may be categorized according to the functionality of each block. Although FIG. 5A depicts block definitions 255 grouped within each of several depicted categories 521, FIG. 5A is not intended to suggest that block definitions 255 categorized in any particular category 521 are necessarily stored together or separately from other block definitions 255. While this may be the case in some embodiments, in other embodiments, the block definitions 255 are not stored in any particular order, but instead may each be tagged with metadata that may indicate the category to which the block definition belongs. The metadata for any given block definition 255 may also indicate, by way of example and not limitation, the number of inputs and outputs, properties required for execution of the block, the UI control type for each property, when (i.e., under what conditions) the control for each property is enabled / disabled, plugin information for the properties, default values for the properties, etc.
[0248] In many, but not all, embodiments, a block includes properties that may or must be specified before the block can be compiled and executed. Because the block definition 255 is not built into the application entity 514, values from which a user may select properties for a particular block cannot be predetermined and / or provided to the application entity 514 when the application entity 514 is instantiated. FIG. 5C is a flow chart depicting a method 551 for presenting a properties dialog for a block placed on the canvas 245. When a block is placed on the canvas 245, the application entity 514 retrieves the corresponding block definition 255 from the data services entity 520 or, in an embodiment, from the database 529 (block 553). The application entity 514 then receives a command to display a properties dialog for the block placed on the canvas 245 (block 555), for example, when the user double-clicks on the block.
[0249] When the application entity 514 receives a command to indicate properties for a block (block 555), the application entity 514 parses the block definition for each property. For each property, the application entity 514 retrieves metadata for that property (block 557) and parses the metadata for the property to look for plug-in information (block 559). If the application entity 514 finds plug-in information for that property (block 561), the application entity 514 discovers and loads the identified plug-in (e.g., from plug-ins 523 of the data services entity 520) (block 563). The application entity 514 invokes the plug-in identified by the metadata for the property to obtain the required property value (block 565). On the other hand, if the application entity 514 does not find plug-in information for the property (block 561), the application entity 514 finds the default value(s) for the property in the metadata for the property (block 567).
[0250] In any case, by calling a plug-in identified by the metadata for the property to get the property value (block 565) or by finding the default value(s) for the property (block 567), the application entity 514 finds the UI control type (text box, drop down selection, radio button, checkbox, etc.) in the metadata for the property (block 569) and adds the value(s) and control to the property dialog (571). If an additional property exists in the block definition (block 573), the application entity 514 retrieves the metadata for this next property (block 557) and the method continues until no additional properties exist (block 573). If no additional properties are found in the block definition, the application entity 514 displays the property dialog for the user to set the property (block 575).
[0251] In some embodiments, and / or for some block definitions 255, one or more first properties of the block may be displayed in an inactive or disabled state until one or more second properties of the block are configured. Upon configuring one or more second properties, the application entity 514 may re-execute one or more steps of the method 551 and / or re-execute one or more of the plugins 523 associated with the first property.
[0252] As an example, assume that a user places a "load" block on the canvas 245. The application entity 514 retrieves the block definition 255. In one embodiment, the block definition 255 for the load block provides the application entity 514 with metadata about the block, specifically indicating that the load block has three properties: the name of the block, a selected database (the name of the database), and a selected dataset (the name of the dataset) that pulls from the selected database. When the property configuration dialog is triggered (e.g., by double-clicking the load block), the application entity 514 must determine what to display. The application entity 514 may determine that no plugin information is present in the metadata for the block's name property, and instead finds a default value, e.g., "load<##>". The application entity 514 may also find that the control type for the block's name, indicated in the metadata for the block's name property, specifies a text box. The application entity interprets the default value (e.g., "load01") and places it in the dialog as a text box.
[0253] The application entity 514 parsing the block definition finds metadata about the database name property. By examining the metadata about the database name property, the application entity 514 finds plugin information about that property and discovers, loads, and invokes the identified plugins as appropriate. The identified plugins are written for a particular application and / or operating environment (e.g., for a particular process control environment) and are programmed to discover a list of database names (and associated locations) from which a data set can be loaded. Upon receiving the list of database names, the application entity 514 parses the metadata about the database name property and determines which should be displayed in a drop-down selection control. The application entity 514 adds a drop-down selection control to the property dialog with the list of database names returned by the plugins.
[0254] The application entity 514 parsing the block definition finds metadata for the dataset name property, which identifies a plug-in and indicates that the dataset name property is a drop-down selection control, but also indicates that this control should be disabled until a database name is selected by the user. If no further properties are found in the block definition for the load block, the application entity 514 displays a dialog. When the user selects one of the database names from the database name drop-down selection control, the application entity 514 calls the plug-in identified in the metadata for the dataset name property (from the data block definition), passing the name of the selected database as an argument to the called plug-in. The plug-in returns the names of the datasets that are available in the selected database name, fills the drop-down selection control for the dataset name property with the names of the available datasets, and displays the dialog again, this time with the control enabled instead of disabled. The user can then select a dataset name to complete the configuration of the data block.
[0255] Of course, once a block is placed on the canvas 245, after it has been configured to specify any required properties, the block may then be executed (i.e., the programming instructions specified in the block definition may be executed) such that any downstream blocks (i.e., any blocks that have inputs "wired" to their outputs) obtain valid inputs from the block and generate valid outputs. For example, with respect to the offline data diagram 340 shown in FIG. 4L, the LoadDB4M block 342a must be evaluated or executed before the blocks Columns X 342b and Columns Y 342c can be configured, because the configuration of the blocks Columns X 342b and Columns Y 342c is based on user selections from the output of the LoadDB4M block 342a. On the other hand, and still referring to FIG. 4L, while the PLS4M_X_Y block 342d can be configured independently of the evaluation of the blocks Columns X 342b and Columns Y 342c, the blocks Columns X 342b and Columns Y 342c must be evaluated before the PLS4M_X_Y block 342d can be evaluated based on the input data set loaded into the offline data diagram 340.
[0256] The execution and evaluation of blocks and / or modules is asynchronous. This allows a user to continue modifying blocks or modules while they are being evaluated. For example, a user may begin execution of one block while continuing to edit and / or configure one or more other blocks. Advantageously, each block, which is separately compilable and executable, can be evaluated and its results explored before selecting and / or configuring and / or executing downstream blocks. As a result, a priori knowledge of the expected output of a particular block is not required, nor is it necessary to know what the next block in the data flow will be before seeing the results of any particular block.
[0257] Any execution of the offline or online diagram involves the functionality of the execution service process 506 and the job process 508. In general, as described above, the job process 508 may execute on one or more processors on which the execution service process 506 and / or the web server process 506 are executing (which may or may not be the same processor(s)), on one or more processors on which the web client process 502 is executing, and / or on one or more separate processors, such as processors in a cloud computing platform, and may execute on one or more virtual machines configured based on one or more processors. Also, each job process 508 may execute in different target environments, for example, by executing each job process 508 on a dedicated virtual machine configured for the target environment. Each of the job processes 508 generally represents a portion of the code to be executed. In some cases, a particular job process 508 executes the target script / code associated with a particular block, while in other cases, instructions associated with a single block are divided into smaller script / code segments for execution in multiple job processes 508.
[0258] Specifically, when instructions associated with a single block are divided into small script / code segments for execution by different job processes, these different job processes may cooperate to achieve some form of parallelism. As used herein, "parallel computing" is used to mean the general practice of dividing a task into smaller units and performing them in parallel, "multithreaded processing" means the ability of a software program to execute multiple threads (if resources are available), and "distributed computing" means the ability to spread processing across multiple physical or virtual machines. In principle, distributed computing can be scaled out without limits. In light of these concepts, it should be understood that executing instructions on a distributed platform is not the same as executing instructions in a distributed mode. In the absence of explicit instructions supporting distributed processing, the instructions will be executed locally.
[0259] The ability to parallelize a task is a property inherent in the definition of the task itself. Some tasks are easy to parallelize because the computations performed by each job process are independent of all other job processes and the desired set of results is a simple combination of the results from each job process. These tasks are called "embarrassingly parallel."
[0260] Some tasks require more effort to parallelize. Specifically, such "linearly parallel" tasks are those where the computations performed by one job process are independent of the computations performed by another job process, but the set of desired results is a linear combination of the results from each job process. For example, a "calculate average" block may be defined by an instruction to calculate the average of a set of values in a distributed database, where a single set of data is stored across multiple physical memory devices. As a more specific example, assume that the calculate average block calculates the average temperature across a set of 300 bioreactors, each of which stores temperature data in the memory of an associated controller. The execution of the calculate average block may be parallelized by assigning the set of temperature values for the 300 bioreactors to each of multiple job processes, and then calculating the "total" average as a weighted average of the averages determined by each of the multiple job processes.
[0261] Tasks where the data must be organized in a meaningful way are more difficult to parallelize. A "data parallel" task is one where the calculations performed by each job process are independent of all other job processes as long as each job process has the "right" chunk of data. This might include, for example, computing an independent temperature average for each of these bioreactors (rather than an average across all 300 of them), assuming there are no cross effects within the same 300 bioreactors as above. This task can be parallelized if each of the job processes has temperature data for a single one of these bioreactors.
[0262] However, for such a task to be data parallel, the data must be organized in chunks that are consistent with the task. This may be true if each of the 300 bioreactors in the above scenario stored its temperature data in a single corresponding database or location. However, if the data for all 300 bioreactors was stored in a single database and not organized in any way within the database, this data would require reorganization before any kind of analysis could occur. In the systems described herein, the reorganization of the data may be handled by other blocks in the diagram (e.g., data filtering blocks, query blocks, etc.) that are constructed to perform the analysis.
[0263] The creation and management of job processes 508, as well as the parallelization and distribution of job processes among various processors, is the responsibility of the execution service process 506. When a module or block is executed, whether it is executed as part of an online or offline diagram, the configuration of the module or block is sent from the web server process 504 to the execution service process 506. In an embodiment, this configuration is sent as a JSON (JavaScript Object Notation) file, but the configuration file may utilize any data format that is language-independent and suitable for asynchronous browser / server communication. The configuration file contains the specific source code of the environment in which the analysis represented by the diagram 602 (or a portion thereof) is executed, as well as the values of environmental properties and variables required for its execution.
[0264] Because a block definition does not require execution of that block in any particular environment, and the target environment is selected during configuration of the block (or the module that contains the block), new target environments can be added to those available in the Analytics Service without having to rewrite the Application, the block definition, or any stored or running blocks and / or modules.
[0265] Similarly, new block definitions 255 can be added to the block definition library 252 at any time without affecting any of the pre-built modules or changing any of the operations of the Analytics Service 500 in general or the application entities 514 in particular. Referring again to FIG. 5B, the creation and addition of new block definitions is accomplished, in an embodiment, by the algorithm definition wrapper 525, in which a user or developer can create a definition by developing an algorithm using a definition generator 527. The definition generator 527 generates a definition 255′ and stores the definition 255′ in the block definition library 252, for example in a database 529. As will become clearer in later sections of this description, each block definition 255 can have a corresponding data plugin 523, which can be stored in a location known to the Analytics Service 500 (e.g., a database 531). The data service entity 520 may retrieve the block definitions 255 and data plugins 523 and provide them to the application entity 514 when the application entity 514 is initialized / instantiated.
[0266] Alternatively, rather than creating a new block definition, in some embodiments, a user-defined block definition may not have an associated algorithm, but instead may include properties into which the user can place their own code. That is, one of the block definitions 255 may allow the user to enter their own algorithm as a property into the block.
[0267] As used herein, the terms "parameter" and "parameters" refer to the property or properties of a block(s) and / or module(s) that are included in a configuration file and passed as parameters to the execution service via the configuration file. Properties passed in a configuration file as parameters may include, by way of example, a file path, a name of a dataset, columns selected, confidence levels and number of components desired in the results of a PCA analysis, and any other information required for the compiler entity 526 to compile executable code and for the job process 508 to execute the compiled instructions. That is, not all properties of a block or module are required for execution. For example, some properties of a block or module may specify or otherwise relate to how the block or module is displayed in Data Analytics Studio, but do not affect how the data is collected, manipulated, or processed / analyzed.
[0268] In some embodiments, the configuration file includes the definitions of blocks and / or modules, and also any properties required to compile and execute the blocks / modules. In an alternative embodiment, the configuration file includes only the identification code of the block and the required configuration parameters, and the block definition is retrieved from memory (e.g., from the block definition library 252). Regardless, the configuration parameters may vary according to the block definition. Some blocks may have no configuration parameters, while other blocks may have one, two, or many configuration parameters. In addition, the configuration parameters may be mandatory or optional. For example, a data load block (a block that loads a set of data) or a query block (a block that searches for specific data within a dataset) may require a data path that specifies where the data is to be loaded or queried. However, a column selection block may have "all columns" as a default selection, and therefore may not require specific subjective configuration of the selection of a subset of columns.
[0269] Other parameters in the configuration file may include environmental parameters, which may include, by way of example and not limitation, an execution mode specifying whether the workflow or a portion thereof is executed offline or online; a target execution environment (e.g., Python, PySpark, Native Spark, etc.); whether the execution is local or distributed; a configuration for the distributed environment; an indication of a streaming data source to which the workflow or a portion of the workflow is bound; an option to create a new job or bind to a persistent job and continue its execution; an option to cache data across persistent jobs; an option to include validation variables in the execution of online diagrams for the purpose of evaluating the accuracy of the model being run; or other environment variables.
[0270] Configuration of blocks, modules, and / or environment parameters can occur in any of a variety of ways. As noted above, for example, many parameters are passed in a configuration file according to properties set in the respective blocks or modules. When building a diagram, it is often (but not always) necessary for a user to configure and run a particular block before downstream blocks can be configured and / or run. This is the case when a user uses a first block to load data and a second downstream block to select columns from the data. The load block must be configured (e.g., with the path to load data, selection of data to load, etc.) before it can be run, and must be run before the columns available in the data are known to the second block so that the user can select columns.
[0271] Alternatively or additionally, one or more parameters may be added to the configuration file when a block or module is requested for execution. This may be true, for example, when the user does not specify one of the properties of the block or module. This may also be true when one or more properties are programmed to be specified only when requested for execution. In an embodiment, for example, Data Analytics Studio allows the user to specify when a block or module is selected for execution, the target environment for execution, and / or the target processor or bank of processors on which the block or module will execute. Furthermore, in some embodiments, one or more parameters in the configuration file may be passed from the Data Analytics Studio environment itself. Parameters such as preferred execution environment, restrictions on the physical location where processing can / must occur (e.g., preventing or requiring cloud execution), and others may be specified from the application, in the application itself, for all blocks / modules executed within the application. These parameters may be passed to the configuration file when any particular block or module is requested for execution.
[0272] In any event, still referring to FIG. 5A, the job listener entity 522 receives an execution request by a configuration file to execute a block(s) or module(s) and creates one or more job manager entities 524 corresponding to the block(s) and / or module(s) requested to be executed. The job manager entity 524 receives the configuration file and transmits the configuration file to one or more of the diagram compiler entities 526 according to the identified target execution environment for compilation into instructions executable by a processor in the identified target environment. The diagram compiler entities 526 may be designed such that each of the diagram compiler entities 526 is operable to compile a configuration file into any of several identified target environments, or each of the diagram compiler entities 526 may be designed such that each of the diagram compiler entities 526 is operable to compile a configuration file that specifies only one specific target environment. In any event, the output of the job compiler entity 526 is computer readable instructions executable by a processor in the identified target environment.
[0273] The job manager entity 524, which sends the configuration file to the diagram compiler entity 526, sends the compiled output from the diagram compiler entity 526 to a job executor entity 528. The job executor entity 528 determines which resource(s) (e.g., processor resources) are available to execute the compiled output according to specified configuration parameters for the job's target environment, etc., whether the job should be distributed, whether the job should be local or remote, and any / other variables including, but not limited to, source(s) of input data and destination(s) of output data, and then creates job processes 508 with the specified resources. Each job process 508 executes the compiled output in a specific target environment to implement a specific target algorithm (i.e., specified by the compiled instructions). In an embodiment, some or all of the job processes 508 may be executed by the big data analyzer 170 embedded in the distributed data engine 150.
[0274] Thus, in this flexible architecture, at least each of the following scenarios are possible: a single block or module is executed as multiple job processes 508 across multiple processors in a distributed fashion, a single block or module is executed as multiple job processes 508 serially on a single processor, a single block or module is executed as a single job process 508 on a single processor, multiple blocks are executed as corresponding multiple job processes 508 across multiple processors in a distributed fashion, etc. Also, while it is generally contemplated that job processes 508 corresponding to a single block or module will run in the same target environment (e.g., Python, PySpark, etc.), there is no requirement that all processes for different blocks within a module or different modules within a project run in a single target environment. In some cases, for example, a particular target environment may be better suited for implementing a target algorithm associated with one block in a module, while other blocks in the module may execute more efficiently in a different target environment, so the blocks may be configured in their respective properties to specify different target environments, with the end result being that job processes 508 associated with different blocks execute in different environments.
[0275] Still further, it is expected that in many instances, blocks associated with a particular module or project will be executed in a job process 508 that is either all distributed or all local. However, in light of the above description, it will be apparent that efficiencies can be gained by executing one or more blocks of a module or project locally while executing other blocks of the module or project in one or more remote processors (e.g., a cloud computing environment). For example, consider a diagram in which a first block performs a query to retrieve identified data from a database (or other data storage) located remotely from the Analytics Service 500, and a second block performs an analysis on the data returned by the query. Rather than performing the query in a processor remote from the database, it may be more efficient to create a job process 508 in a processor that is local to the database (e.g., in an embedded DDE of the database) and perform the query on the data that is local to the embedded DDE. This may be particularly true when the database is in another geography, such as when a user queries data related to a process control environment other than the process control environment in which the user is currently located. The results of the query may then be analyzed according to a second block, either in the same job process (and processor), in a different job process within the same processor, or in a different job process within a different processor (e.g., local to the processor).
[0276] The job executor entity 528 also keeps track of the job processes 508 and keeps track of data dependencies, especially in distributed processing applications. Thus, as each job process 508 completes, output data is returned to the job executor entity 528. The job executor 528 determines whether some or all of the data is passed to another job process 508 and / or returned to the web server process 504 for display in the application entity 514 by the web client process 502. During the execution of a job process 508, the job executor entity 528 may receive status information that may be returned to the web server process 504 for display in the application entity 514. The job process 508 may also return predictive data to the job executor entity 528, especially when the job process 508 is executing an online diagram (or a portion of an online diagram) that runs continuously until it is explicitly stopped. It should be noted that predictive data may be returned to the job runner entity 528 each time it is generated and passed to the web server process 504 for display in the application entity 514, while the predictive data may simultaneously be returned to a location within the process control environment (e.g., a DDE storage location, a controller implementing a control function, etc.) and written as a function of one of the blocks in the online diagram. In an embodiment, status, state, and / or predictive data is passed between the job processes 508 and the job runner entity 528 via a backchannel streaming communication channel established during job creation to enable the job processes 508 to communicate with each other and / or with the job runner entity 528.
[0277] Through the examples below, it will become apparent that the flow of data through the Analytics Service 500 depends in part on at least the blocks and / or modules configured, the properties configured for each of the blocks or modules, and whether the diagram being executed is an offline diagram or an online diagram.
[0278] Example 1 - Creating an offline diagram Figure 5D depicts an example canvas 600 having a constructed offline diagram 602 thereon, including blocks 604a-604g and wires 606a-606h. Referring again to Figure 5A, the canvas 600 is displayed by a web client process 502, and in particular by a display entity 510 in cooperation with an application entity 514. The application entity 514 receives data (including the block definition library 252) via a data services entity 516, which in turn communicates with a web server process 540 via a server communication entity 518.
[0279] Generally, there are two ways to build an offline diagram 602 as depicted in Figure 5D. First, a user can toggle the block definition toggle 248m to open the block definition library 252 (see Figure 4D). From the block definition library 252, a user can select blocks 604a-604g one by one and place the blocks 604a-604g on the canvas 600. Then, a user can place wires 606a-606h to connect various blocks. A wire 606a is arranged between the output 608a of block 604a and the input 610b of block 604b, a wire 606b is arranged between the output 608b of block 604b and the input 610c of block 604c, a wire 606c is arranged between the output 608b of block 604b and the input 610d of block 604d, a wire 606d is arranged between the output 608b of block 604b and the input 610e of block 604e, a wire 606e is arranged between the output 608c of block 604c and the input 610f2 of block 604f, a wire 606f is arranged between the output 608d of block 604d and the input 610g of block 604g, a wire 606g is arranged between the output 608d of block 604d and the input 610f1 of block 604f, and a wire 606h is arranged between the output 608f1 of block 604f and the input 610g of block 604g. After placing the blocks 604a-604g and wires 606a-606h in this manner, the offline diagram 602 remains unconstructed.
[0280] Alternatively, the user can select and place the blocks 604a-604g one at a time, configure properties for each block 604a-604g as it is placed on the canvas 600, and optionally (and in most cases) execute each of the blocks 604a-604g after configuring the properties for the block.
[0281] A user can configure each of the blocks 604a-604g one at a time by clicking on the block and specifying properties associated with the block in a block properties window 612 for the block (whether placing and wiring the blocks 604a-604g before configuring the properties or placing them one at a time and configuring the properties for each before placing the next block). In FIG. 5D, block 604a, a query block, is selected and the block properties window 612 for the query block 604a is displayed. In the example canvas 600 depicted in FIG. 5D, the block properties window 612 for the query block 604a includes a query properties entry area 614 where a user can enter a query. A detailed description of the query language is reserved for discussion in a later section of the specification, but for present purposes it is sufficient to assume that a query entered in the query properties entry area 614 may specify the location of data to be queried upon execution of the query block 604a. Block properties are stored as parameters in a configuration file associated with the block. The configuration file may reside on a web client running a web client process 502 or may be located on a web server running a web server process 504 .
[0282] After configuring the properties of the query block 604a, the user typically executes block 604a before placing the next downstream block and / or before starting to configure the properties of the next downstream block (block 604b in this case). To execute block 604a, the user activates the evaluation user control 248i. By doing so, the configuration file associated with block 604a is sent to the execution server process 506 via the data services entity 520 of the web server process 504. The configuration file is received by the execution server process 506, for example as a JSON file, and a job listener entity 522 creates a job manager entity 524 to handle the execution request. The job manager entity 524 causes an appropriate diagram compiler entity 526 to compile the configuration file into executable instructions (i.e., compiled query code) suitable for the target environment specified by the parameters in the configuration file. The diagram compiler entity 526 returns an output file containing the compiled code and may also return metadata indicating the target environment for which the compiled code is suitable. (Alternatively, the job manager entity 524 may maintain knowledge of the target environment during the compilation process.) The job manager entity 524 passes the output file to a job executor entity 528, which determines, according to parameters in a configuration file for the target environment, whether the code should be executed locally or remotely, whether the code should be executed on a distributed system, etc., and selects and reserves processor and memory resources to execute the instructions contained in the output file. The job executor entity 528 then creates job process(es) 508 to execute the output file.
[0283] When the execution of the output file is completed (in the case of an offline block or module) or the results are available (in the case of an online module), these results are returned to the job executor entity 528. In this case, since there was no further execution pending (because the diagram is an offline diagram and the block that just executed, i.e., query block 604a, is the only block configured), the results are returned to the web server process 504 via the server communication entity 508 and ultimately to the application entity 514 in the web client process 502. The output data may include all of the data returned by the query, but may also include various statistical information (metadata) about the query data, such as (but not limited to) the mean, standard deviation, and median of each column of the data returned by the query. In an embodiment, the metadata and the result data are stored independently of each other. This advantageously allows a user to review information about the result data without necessarily loading all of the result data, which may be time and / or resource, i.e., computer memory, intensive. A user can view the returned data and / or metadata about the returned data by clicking on the block view results control 212a (see FIG. 4A) on the block. The default view may include metadata about the results for each of the variables included in the results, allowing the user to select one or more selected portions of the resulting data to load and, if desired, view (e.g., in the form of a graph, chart, table, etc.) without having to load all of the data. In addition, the return of the results to the application entity 514 allows configuration of the properties of the next downstream block (in this case, block 604b) to which the data and / or metadata are made available over wire 606a.
[0284] It should be noted that execution of a block (e.g., block 604a) may not be required in all cases in order to configure the next downstream block (e.g., block 604b). Whether a block must be configured and / or executed before a downstream block can be configured and / or executed will depend on data dependencies, as understood in the context of this disclosure as a whole.
[0285] It should also be noted that during execution, the job process 508 may communicate with various distributed data engines 150 to receive or access data stored in the big data storage 155. In cases where the job process 508 is executing in an embedded big data analyzer 170, the big data analyzer 170 may be communicatively coupled to the big data storage 155, either directly or via one or more big data request servicers 165, or in cases where the job process 508 is executing in a processor that is not part of the embedded big data analyzer 170, the job process 508 may be communicatively coupled to the DDE via a network and may request data via the big data request servicer 165.
[0286] The configuration and implementation of each of the properties of blocks 604b-604g of offline diagram 602 continues in the same manner and need not be described in great detail.
[0287] A. Using Offline Diagrams for Exploration and Modeling Users of a DDE User Interface Application working with Offline diagrams typically expect to do one or both of two things: (1) explore various sets of data to explore and discover relationships between various data sets and / or events, and (2) create models of those relationships with the goal of implementing real-time continuous predictive capabilities. Achieving the latter requires some measure of time spent working on the former. That is, in many (but not all) cases, the user explores data sets to find relationships between the data using various analytical tools (principal component analysis, Fourier analysis, regression analysis, etc.), and when relationships are found that appear to have predictive value, the user implements that analysis as a model and employs it in real-time continuous analysis of processes.
[0288] In an embodiment, the Analytics Service 500 may include tools that automatically perform analysis of data, whether real-time data or historized data, or both, to find anomalies, abnormal conditions, relationships between data, and / or features of a particular data set in a process environment. In one embodiment, the block definition library 252 includes a block 255 that looks at data and finds anomalies in the context of the data set being reviewed, such as irregular spikes or dips in the data. Such anomaly finding blocks in an offline diagram may receive historized data as input and further use some of the techniques described above, including, for example, PLS, PCA, and other types of analysis, to look for features in the historized data that may be interesting to explore. Alternatively or additionally, anomaly finding blocks in an online diagram may receive both historized data and real-time data and compare the historized data to the real-time data to look for anomalies in the real-time data relative to the historized data. In either case, the output of the anomaly discovery block may include one or more of the time the anomalous event occurred, the source(s) of the anomalous data (e.g., which measurement and / or device is associated with the anomaly), etc.
[0289] In one embodiment, the block definition library 252 includes a block 255 that autonomously discovers relationships between various data. The relationship discovery block can select random or quasi-random sets of data (aligned in time) and run several different analyses on these sets of data to look for relationships that m...
Claims
1. a platform including a set of user controls and a canvas on which a user can graphically create an offline data diagram representing an offline data analysis model, the offline data analysis model configured to process an offline time-series input data set configured to generate first output data, the offline data diagram including a plurality of interconnected data blocks representing respective data operations; a diagram transformer configured to transform the offline data diagram into an online data diagram of an online data analysis model for an online process plant, the online data analysis model being communicatively coupled to the online process plant in real time, and the diagram transformer configured to process real time time series data originating from the online process plant to generate second output data; a diagram compiler configured to compile the online data diagram to generate an online data analysis module, the online data analysis module configured to be executed by two or more of a plurality of distributed data engines (DDEs) of a data analysis network, the online data analysis module being in an online process plant along a process control network and separate from the process control network of the online process plant used to control a process; each of the offline data diagram and the online data diagram includes a set of data blocks interconnected by a set of wires, data being transferred between the data blocks via the set of wires, each of the data blocks being asynchronously and separately compilable by the diagram compiler and executable by the plurality of DDEs; the diagram transformer is configured to transform the offline data diagram into the online data diagram by (i) removing offline data loading blocks of the offline data diagram that are bound to offline data sources that provide the offline time-series input data set, (ii) adding online data loading blocks to the offline data diagram from which the offline data loading blocks have been removed, and (iii) removing exploration blocks used by a user to construct the offline data diagram.
2. The system of claim 1 , wherein the time series data comprises a continuous data stream that is received continuously.
3. 3. The system of claim 2, wherein the online data analysis module is configured to continuously perform one or more analytical functions in real time on the continuously received data stream and generate continuous output in real time.
4. 4. The system of claim 3, wherein the platform is configured to provide an indication of accuracy of the online data analytics module in relation to a continuous output, and the accuracy of the online data analytics model is based on a comparison of the continuous output to one or more actual values produced by the online process plant.
5. 4. The system of claim 3, wherein the online data analysis module is configured to continuously perform the one or more analytical functions in real time on the continuously received data stream and another data stream generated by at least one other data source as a result of the online process plant controlling the process.
6. The system of claim 5 , wherein the online data analysis module time aligns the continuously received data streams with the other data streams.
7. The system of claim 1 , wherein the time series data is received from a first DDE of the plurality of DDEs or from the online process plant.
8. 8. The system of claim 1, wherein the second output data includes at least one predicted value, the at least one predicted value being indicative of a predicted failure or breakdown of at least a portion of the online process plant, and the online data analysis module is configured to generate a prescribed action based at least in part on the second output data.
9. The system of claim 8 , wherein the at least one forecast value is further indicative of a forecast level of performance of at least a portion of the online process plant or indicative of a forecasted time interval.
10. 8. The system of claim 1, wherein the second output data generated by the online data analysis module is prescriptive and includes at least one value corresponding to a change to the online process plant, the change to the online process plant including a change to at least one of a set point, a value, a control loop, a configuration, a process model, a connection, a component, or an equipment.
11. 8. The system of claim 1, wherein the set of user controls includes a first user control for accessing a data block definition library storing definitions of a plurality of data blocks corresponding to a plurality of data operations, each of the plurality of data blocks being a particular instance of a particular data block definition stored in the data block definition library.
12. 12. The system of claim 11, wherein at least some of the data block definitions stored in the data block definition library include one or more respective characteristics, and one or more of the one or more respective characteristics are optional characteristics.
13. The system of any one of claims 1 to 7, wherein the set of user controls includes a first user control that, when activated, causes the diagram transformer to transform the offline data diagram into the online data diagram.
14. 14. The system of claim 13, wherein the set of user controls includes a second user control that, when activated, causes the diagram compiler to compile the online data diagram to generate the online data analysis module.
15. The plurality of data blocks include one or more of a data source data block, a filter data block corresponding to a filtering data operation, a transformer data block, a visualization data block, or a data consumer data block; and each data operation of the data source data block corresponds to acquiring an input data set; the data operations for each of the filter data blocks include filtering input data for each of the filter data blocks; the data operations of each of the transformer data blocks include at least one of cleaning the input data of each of the transformer data blocks, manipulating the content of the input data of each of the transformer data blocks, aligning the content of the input data of each of the transformer data blocks, or performing one or more analysis techniques on the input data of each of the transformer data blocks; the data operations for each of the visualization data blocks include presenting a particular visual representation of the input data for each of the visualization data blocks on a user interface of the platform; or 8. The system of claim 1, wherein the respective data operations of the data consumer data blocks include performing an action on the first output data of the offline data analysis model, the action corresponding to at least one of a consumer of the first output data of the offline data analysis model.
16. The system of claim 15, wherein the exploration block is configured to receive a predicted value from a first data block of the plurality of data blocks and to receive an actual value from a second data block of the plurality of data blocks, and the operations performed by the exploration block include comparing the predicted value with the actual value.
17. The system of any one of claims 1 to 7, wherein a consumer of the second output data includes at least one of an analytical application, another application, a DDE, a data historian, a file, a database, a user interface of a platform, or another user interface.
18. The system of any one of claims 1 to 7, wherein the diagram compiler is further configured to compile the offline data diagram to generate an offline data module configured to obtain an offline time series input data set from at least one of a file, a process control database, and an analytical database, or another database.
19. 8. The system of claim 1, wherein one or more of the plurality of data blocks comprises an indication of a respective block state of the respective data block, an indication of the identity of the respective data block, and an indication of a result of the evaluation of the respective data block.
Citation Information
Patent Citations
Abnormality diagnostic unit for rotary equipment
JP1993060596A
Error correction method for sequence program
JP1994051973A
Device and method for managing graphic information
JP1994103039A
Programmable controller and control program development supporting device
JP2002099312A
Method and system for monitoring and controlling manufacturing systems
JP2002526852A
