The present invention relates generally to manufacturing management systems and, more particularly, to quality review management systems that enable advanced quality review procedures with respect to operations of plants, processes, batches, and other activities implemented in manufacturing plants.
Manufacturing plants, such as process plants, typically produce one or more products from a set of raw or pre-processed materials. In many cases, the produced product must be of a certain quality or must be manufactured according to one of various different quality standards to meet customer requirements, industry standards, the Food and Drug Administration (FDA) requirements, safety requirements, labeling requirements, etc. In many cases, separate quality review personnel are tasked with implementing various activities associated with assuring that the produced product meets a set of pre-established standards or requirements or was manufactured to a particular standard. Such activities may include reviewing the states or the values of various parameters of the manufacturing equipment, materials, or processes used to make the product to assure appropriate manufacturing steps were implemented, that the product was made under various desirable conditions, such as within certain temperature ranges, PH ranges, pressure ranges, etc. Of course, these quality review tasks are dependent on the type of product being made, the manufacturing process or equipment used to make the product, the quality standards that are being met, etc. As such, quality review is a highly specialized activity in many manufacturing environments, requiring intimate knowledge of the product, the manufacturing process, and the quality standards.
As an example, batch processes are typically used to make various types of food or drug products that are highly regulated by various food and drug industries or organizations, such as the FDA. The specific process steps and conditions under which these products are made are typically set or regulated in some manner to assure the safety of the produced product or to assure that the product meets certain labeling criteria (e.g., that the product is gluten free, Kosher, etc.) As an example, the process steps used to make a product may require or mandate that certain process steps be implemented on the raw or intermediate materials during the manufacturing process, that certain cleaning procedures be implemented on the process equipment within or between manufacturing steps of the manufacturing process, that various parameters, such as temperatures, pressures, PH balances, etc., be maintained within certain ranges or above or below certain thresholds throughout the process or during critical times of the process, etc. As a result, in many cases, the product manufacturer needs to collect and store data regarding the actual operation of the manufacturing equipment during the manufacturing process to be able to prove to a regulating authority or customer that the produced product meets the appropriate quality standards, for example, that the product was produced according to or under pre-established procedures or conditions.
Process plants that are used to make various types of products, such as food, petroleum, drug, etc. products are generally complex and highly automated. In particular, industrial process plants, such as those used in chemical, petroleum refining, food manufacturing, drug manufacturing, or other processes, generally include one or more process control networks having centralized or distributed process controllers communicatively coupled to one or more field devices which may be, for example, valve positioners, switches, sensors (such as temperature, pressure and flow rate sensors), tanks, mixers, heaters, etc. These field devices or field equipment may perform physical control functions within the process plant (such as opening or closing a valve, stirring or mixing materials within a tank, heating a container, etc.), may take measurements within the process plant for use in controlling the operation of the process plant, or may perform any other desired function within the process plant. Process controllers have historically been connected to field devices via one or more analog signal lines or buses which may carry, for example, 4-20 mA (milliamp) signals to and from the field devices. In the past couple of decades or so, however, the process control industry has developed a number of standard, open, digital or combined digital and analog communication protocols such as the Foundation™ FIELDBUS (hereinafter “Fieldbus”), HART®, PROFIBUS®, WORLDHP®, Device-Net® and CAN protocols which can be used to implement communications between process controllers and field devices. Generally speaking, a process controller receives signals indicative of measurements made by one or more field devices and/or other information pertaining to the field devices, uses this information to implement a typically complex control routine, and generates control signals which are sent via the signal lines or buses to the field devices to thereby control the operation of the process plant.
Certain types of process control networks, such as those used in batch processes, typically include multiple sets of replicated equipment, with each set of equipment being designed to have the same or similar hardware that performs essentially the same basic function within the process plant. Thus, for example, a cookie manufacturing plant may have multiple sets of mixing equipment, multiple sets of baking equipment, and multiple sets of packaging equipment, with some or all of the individual mixing equipment being capable of operating in parallel and of being connected to operate in series with some or all of the baking equipment and the packaging equipment. In such a system, it is typical to use the same general control algorithm or routine to control the operation of any particular set of replicated equipment to make the same product (as defined by a specific batch recipe). Thus, any particular batch run, which is defined by an order, that specifies or identifies a particular amount of a particular type of product being manufactured, may be implemented on any combination of various different sets of equipment in the plant. Typically, each such batch run or order includes a specific control procedure that performs a number of different steps or stages in sequence to implement a recipe, finishing the first stage before beginning the second stage and so on. Thus, in the cookie manufacturing plant described above, a batch run or order may implement a batch control procedure to control the mixing equipment, may then implement a procedure to run the baking equipment on the product made by the mixing equipment and may then execute a third procedure that controls the packaging equipment to package the product produced by the baking equipment, each step of which takes a finite amount of time. In many cases, a batch run also implements procedures to clean, empty, fill, etc. tanks or other containers or equipment in the plant as part of each order. Of course, each order may have a different set of specifications, which may require a different set of raw materials, a different recipe, different flow or batch procedures to be implemented on the raw materials, and even different quality standards.
One batch control standard that has been promulgated by the International Society for Measurement and Control, an international organization concerned with issues of process control, is entitled Batch Control Part 1: Models and Terminology, and is often referred to as the ISA S88.01-1995 standard, or one of its updates (referred to herein as the “S88 standard”). The S88 standard defines models of equipments and procedures for use in automated batch processes, and defines certain terminology for use in referring to those models and their elements. For example, the S88 standard defines a “batch process” as a process that leads to the production of finite quantities of material by subjecting quantities of input materials to an ordered set of processing activities over a finite period of time using one or more pieces of equipment. As another example, a “batch” is defined by the S88 standard as the material that is being produced or has been produced by a single execution of a batch process.
As noted above, batch processing equipment (e.g., controllable elements such as valves, heaters, mixers, etc.) is operated during a batch process or a batch run according to pre-defined procedures to make a batch. All such batch processing equipment is referred to synonymously herein as equipment, equipment modules, processing equipment, and/or physical elements. The procedures to operate such physical elements are often referred to by the S88 standard as the “procedural model.” According to the S88 standard, the procedural model is structured as a hierarchical ranking of procedures, with the highest level encompassing each of the lower levels, the next highest level encompassing each of the levels below it, and so on. The levels of the S88 procedural model of particular interest include, in descending order, “procedures,” “unit procedures,” “operations,” and “phases.” The terms “procedural element” or batch sub-procedures are used herein to refer to any embodiment or implementation of any of these levels of the S88 procedural model as well as to any other hierarchical definition of a set of batch procedures.
As indicated above, the highest-level S88 procedural element of interest is referred to as a procedure, which is made up of one or more unit procedures. Each unit procedure is or can be in turn made up of one or more operations, which are each in turn made up of one or more phases. Moreover, the S88 procedural model does not preclude the definition and use of other hierarchical levels in particular applications. Rather, the S88 standard and the procedural elements referred to herein are intended to provide a broad, standardized model for describing the procedures followed in automated batch-process control, and these elements are not limited to the four procedural elements defined by the S88 standard.
The different procedural elements of a batch are generally implemented in practice as computer programs that are executed by and within data-processing devices, including personal computers, workstations, and programmable controllers. Execution of a typical procedural element results in an electrical or optical output from the data-processing device that can be used to control a physical element, typically by connecting an output of the data-processing device to the physical element directly, or indirectly over a local-area or wide-area network. A procedural element performs an assigned or associated task by invoking “basic control” with respect to at least one physical element. This type of control is typically dedicated to establishing and maintaining a specific desired state of the physical element. Basic control would include, for example, starting or maintaining a flow of material in a storage bin element, heating the starting materials in a polyvinyl chloride reactor element, etc. In practice, the lower levels of the procedural model (namely phases) perform the actual communications with the actual physical elements, thereby invoking or performing basic control. The higher levels of the procedural model are essentially abstractions to improve the organization and the structure of the procedural model, as well as the physical model.
Moreover, many batch systems use a batch executive to control the operation of one or more batches in a plant according to the procedural model being used. The batch executive may be or use a state machine model as a logical construct to describe the state of a batch process or activity. The state machine model describes or defines a number of process states, together with actions that cause transitions between those states. A state machine model of a process is said to be in a particular state due to an earlier transition into that state. When a particular event occurs or a particular status is sensed, the state machine model makes a transition to another state corresponding to the particular event or sensed status. State machine models are useful techniques for defining and implementing the operation of procedural elements of a batch process. In particular, a procedural element defined and implemented as a state machine initiates an action, for example, when its associated state machine makes a transition from an old state to a new state.
Of course, the S88 standard permits the definition and implementation of procedural elements in accordance with a standard state machine model. While the S88 standard does not mandate this approach, this approach has been broadly adopted in the process control industry to enable a higher degree of interoperability among the products of various vendors. One present commercial application of the S88 standard having procedural elements defined and implemented according to a state machine model is the DeltaV™ Batch product from Emerson Process Management. In DeltaV™ Batch, a server program or a batch executive program runs on the data processing device that executes the various procedural elements. The server or batch executive program (referred to as a “batch executive”) coordinates execution of procedural elements in accordance with one or more state machine models so that procedures, corresponding unit procedures, corresponding operations, and corresponding phases are sequenced through their respective steps by the server program. In any event, during the implementation of a particular batch run or a particular batch process associated with an order, such as when a phase is initiated by the server program, the phase communicates the initiation request to the phase logic interface within a programmable controller. The programmable controller then executes the actual state logic or control routine for the phase and provides the required process control via communications to the process equipment.
As will be understood from the previous discussion regarding quality review of processes, it is desirable to gather data representative of the operation of a batch process, including historical events that make up the processing of a batch run in order to be able to determine if the batch run for an order operated or executed satisfactorily according to the applicable quality standards. Such historical data may be useful not only for quality review purposes, but for determining trends in quality control or for determining when equipment used in the batch process is in need of service. A number of types of data are potentially useful in reviewing the quality or progress of a batch process. One such source of data is continuous data generated by the various data points in the batch process during the processing of the batch. A data point is a single source of such continuous data that reflects some control value or other status or measurement of the batch process. For example, a particular level of a material flow or a temperature of a material as measured by a sensor might be such data points. A present setting of a control valve, the time at which a sample was taken, etc. may be other data points. Each such data point may have a continuous stream of data values sensed or controlled over time by the batch process application associated therewith. The aggregation of all such continuous data, generated during processing of a batch, is often logged by a batch processing system and stored as part of a batch log file in a batch database. These batch log records usually include a timestamp and a present value along with other identifying information for the data point such as a tag to identify the source of the data.
Another type of data useful in reviewing the quality or progress of a batch process is batch state and event information, which relates to or includes information that describes the batch process in terms of execution of the procedural model (e.g., the state of the batch process, transitions between states of the batch model, etc.). For example, batch events that describe the start and end time of a particular phase or a particular operation, unit procedure or procedure of the procedural model constitute event information. Event information also includes process events, including information generated by the physical elements of the batch process or by an operator. In particular each equipment module, cell, etc. of a process may generate process events that indicate one or more specific activities in the starting, stopping, or running of a particular phase (i.e., performing specific basic control actions). Alarm and event conditions recognized by the process equipment are further examples of process events. Process events may also include information regarding operator changes to the batch process made during operation of the batch process.
Still further, many batch process systems utilize an operator interface program, operated on a dedicated operator interface device, such as a workstation, to enable an operator to view the current state of a batch run, to take manual steps within the batch run, such as setting various parameters manually, selecting process equipment for execution of various batch procedures, operations, phases, etc., making notes regarding unexpected activities or conditions during a batch run or order, etc. One such operator interface program is known as a workflow program (such as the Syncade Workflow program provided by Emerson Automation Solutions) which intercepts or receives various information from the batch executive or process equipment (e.g., process controllers) used to implement a batch run for each order being processed. The workflow programs may subscribe to various types of data from the batch executive or process control system and may present this data to the operator to enable the operator to view the current state of the batch run, to view transitions between states in the batch model, to make changes in the batch run, to manually stop and start various batch procedures, operations, phases, or equipment, and to deal with problems or unexpected events that arise within a batch run. For example, in many cases, unexpected errors or problems may occur within a batch run, such as batch equipment or raw materials being unexpectedly unavailable, process parameters being out of an expected or desired range, etc. In these cases, the workflow program enables the operator to make and implement decisions as to how to proceed, such as skipping a batch step or procedure, specifying other equipment or materials to use, changing process plant variables, setpoints, or parameters to deal with alarms or events in the process, etc. Generally speaking, the workflow program also stores data indicative of operator actions within the batch log file, along with the raw batch data being stored in the batch log file. In many cases, the workflow program also enables the operator to make notes or to store explanations of what was happening in the batch at the time of the action, why the operator took the particular action, etc., and these notes are stored in the batch log file as well.
In any event, in many industries, after a batch run has occurred and a product or order has been completed, a quality engineer or other quality personnel (referred to generally herein as quality engineers) must verify that the product meets the appropriate quality standards. To perform this review, the quality engineer accesses and views the batch log file for the batch run of an order (typically on an order by order basis) to assure that the batch run completed according to or within expected parameters, workflows and ranges. Generally, to perform this review, the quality engineer must scroll through the raw data in the batch data file looking for “exceptions” to the expected operation of the batch run. The term “exception” is generally used herein to indicate a deviation from an expected procedure, process, step, workflow, range, value, etc. within a manufacturing process or plant. Exceptions may be, for example, one or more process variables or parameters being out of an expected or desired range, or above or below expected or desired thresholds, a batch procedure, operation or phase being skipped or performed out an expected sequence, a batch procedure, operation or phase stopping or starting at unexpected times, or taking longer or shorter than an expected operation time, different or unexpected materials being used in a batch procedure, additional steps or actions being implemented by the operator during the batch run, changes to a recipe, notes generated by the operator during a batch run, alarms and events that occurred during a batch run, etc.
In any event, the quality engineer must identify the exceptions based on the raw data stored in the batch log file, must then determine an effect or severity of each such exception, and what if any procedures to take to handle or “close” the exception. For example, in many cases, exceptions may only represent minimal or unimportant deviations in the expected batch run that do not result in any or in any significant quality reduction of the produced product according to the quality standards being implemented. In other cases, exceptions may need to be documented for later review by authorized agencies or by the customer, but may not be severe enough in their effect to result in a significant reduction of the quality of the product. In still other cases, the exception may be significant or important enough that the product needs to be put through one or more additional procedures to assure the desired quality, or to require that one or more tests be performed on the product to assure the quality of the product. In still other cases, the quality engineer may determine that, based on the specifics of the exception, the product needs to be scrapped, or that the product needs to be marketed under a lower quality or labeling standard.
The process of looking through a batch log file for exceptions is highly tedious and fraught with problems. In particular, most of the data within the batch log file is not indicative of an exception, and so the quality engineer spends a significant amount (usually most) of the review time looking at data that is not actually associated with any exception. Still further, the quality engineer must keep in mind all of the conditions that lead to an exception, including for example, desired values or ranges of important process variables, the expected order of batch procedures, the expected stop and start times for various different batch procedures, etc. While the existence of batch process alarms and alerts or notes from the operator that are stored in the batch log file may indicate the existence of an exception, this is not always the case and, of course, not every exception that occurs may be documented with an operator note or may rise to a level that causes an associated alarm or alert to be generated in the control system. As will be understood, the actual exceptions that are determined are thus dependent on the skill of the particular quality engineer performing the review and the particular quality standards being met.
Still further, when the quality engineer finds an exception (e.g., a process value being out of range, etc.), the engineer must usually determine the context of the batch at the time of the exception in order to determine the severity of the exception, and how to best respond to or handle the exception. This process may involve obtaining additional data about the state of the batch run or batch procedure at the time of the exception, values of other process variables at the time of the exception, determining if alarms or events were generated in the same or other process equipment at the time of the exception, etc. This process then generally requires the quality engineer to use other available data access systems to determine the additional process state information at the time of the exception. This data acquisition activity can be time consuming and requires additional know-how on the part of the batch quality engineer.
For example, to view the operation of a batch from a batch log file, it is not a simple task to obtain a snapshot of the batch process at a particular time and display that data to a quality engineer, as the batch process has various different procedural elements, which may be run on different equipment within the plant at different times, using different setpoints, settings, etc. Instead, to view a batch run, the quality engineer may need to review and analyze data from the batch at various times related to the procedural events of the batch (i.e., the sub-procedures and sub-processes associated with the batch) to thereby be able to understand the operation of the batch run at the time of the exception. While various batch data is typically automatically collected and stored during operating of the batch run, these different types of data are generally collected by different subsystems and, in fact, may be stored in different databases. This fact makes it difficult for the quality engineer to have a comprehensive view of any particular batch process. For example, data such as alarm data and sensor measurement data which is obtained from actual field devices such as sensors, valves, etc. within the batch process are typically stored in a data historian as time-stamped data and are available from the data historian generally based on the time at which the data was collected. However, a different database, such as one associated with a batch executive routine, may store the start and end times of a batch run and the various different sub-procedures or procedural elements within the batch run. This all makes it more difficult for the quality engineer to understand the context of an exception without significant data lookup in various other subsystems of the batch process.
A quality review management system (also referred to as a review by exception (RBE) system) may be used to analyze the operation of one or more manufacturing processes as collected by various other process plant data sources, such as data sources within a process control system, workflow applications, batch process operator applications, batch executive applications, etc. The quality review management system automatically detects exceptions within those processes and stores data pertaining to the detected exceptions in an organized and easily reviewable manner. The quality review management system also enables a quality review manager or engineer to review and handle (resolve) exceptions associated with the process in an easy to use interface.
More particularly, the quality review management system includes a configuration system that enables a user to create and store rules, in a rules database, that may be used to automatically identify one or more exceptions within a process, such as a batch process. The rules may identify a set of conditions that must be met to identify an exception, the severity of the identified exception, information about the exception, processes or procedures used to handle, resolve, or close the exception, process data or other data to be stored as part of an exception record to assist a quality review engineer in understanding and resolving the exception, etc. The quality review management system also includes an exception engine that processes data within a data message, such as a data message provided periodically by a data source, like a plant or process control system, a batch executive, an operator workflow application, etc., using the rules in the rules database to determine if the data within the data message includes an exception, as defined by any of the rules. The exception engine, upon identifying an exception, may then store information about the exception as an exception record, such as a name, a type, a severity of, procedures or steps to take to resolve or handle the exception, and process data pertaining to the operation of the process in which the exception occurred at the time that the exception occurred. The exception engine may store this and/or other data for each identified exception as an exception record in an exception file (e.g., an exception database) for each order. Moreover, the exception engine may operate in real time during operation of the process implementing an order to create an exception file or database for the order and may provide live feedback to a process operator that an exception has occurred or is about to occur.
Thus, in one example, the quality review system provides a configuration environment to enable a user to create configurable exception rules to execute in an exception engine to define or detect exceptions. The configuration environment may store a set of rule templates that may process various types of input data to detect an exception. In the configuration environment, a user may select one of the templates, may define inputs/outputs, and may define a possible expression to be analyzed for a set of data. When the data flows through the engine, it will analyze the data against the configured rules; if any rule's criteria is met, an exception is created. The exception may then be immediately checked. Typical known review by exception products require the exception software provider to hard code the exceptions defined for the system into the product, and thus require a software or system update to create new exceptions. These updates take time for the user to get and install, and do not enable users to customize their own systems.
The quality review management system also includes a review interface that enables a quality review engineer or other personnel to review and deal with exceptions as identified by the exception engine and as stored as exception records in an exception database for an order. In particular, the review interface may access an exception database for a particular order and may present information regarding each identified exception to the quality review engineer in an organized and easy to understand manner. The review interface may provide the quality review engineer with data stored for each exception record, such as a name, a type, and a severity identification for each exception record. The review interface may provide the reviewer with stored information about the exception as identified by the exception record, the type of exception, etc. as well as with data pertaining to various process or batch variables, states, procedures, etc. that existed at the time that the exception occurred. This information will enable the reviewer to easily understand the exception, the context of the process at the time that the exception occurred and the severity of the exception. Still further, the review interface may enable the reviewer to take various actions with respect to each exception. Such actions may include acknowledging the exception, signing off on or closing the exception, annotating the exception with further information such as why the exception can be ignored or signed off, sending the exception record to another person, etc. The review interface may also provide the reviewer with suggested actions, and may in some cases enforce particular actions, to be taken with respect to resolving or closing the exception. Such actions may include, for example, requiring sign-off by a certain number or type of people (e.g., the reviewer alone, the reviewer and a manager, two reviewers, etc.) Other actions may include requiring certain information to be provided from the reviewer, such as annotations, process information, etc. that will be stored with the exception record for later use by the customer, the quality reviewing authorities, etc.
The review interface may store the processed exception records in a database or file and may enable the reviewer to scroll through the exception records in the exception database to determine if and when all of the exception records for an order have been processed or closed, the status of the review (e.g., how many unprocessed exceptions exist in the exception record database), statistical data pertaining to the exception records (e.g., how may exceptions of each type or severity exist in the file, etc.) The review interface may also enable the reviewer to group exception records in various manners, such as by type, severity, processing status (e.g., unreviewed, reviewed but not closed, closed, etc.). Still further, the review interface may enable the reviewer to take one or more actions on an entire group of exception records, such as closing all of the exception records in a group, annotating all of the exception records in a group, etc.
In this manner, the quality review management system may be set up (configured) and executed during the operation of a batch process or other process to automatically identify exceptions, as they occur within a process run, may notify a process operator that an exception has occurred or that an action taken by the process operator will result in an exception, and may store all determined exceptions for a particular process (e.g., a batch process) in an exception record database. The quality review management system also enables a quality review engineer to quickly determine, view and deal with the exceptions within an exception database without needing to review a lot of raw data, as is currently necessary. Likewise, the quality review management system can enforce various rules in the exception handling or resolution process, such as assuring that exceptions of various different types or severities are processed or dealt with in a particular manner, thereby providing consistency in the quality review process.
Still further, the quality review management system may be implemented in a plug-in environment to enable the system to interface with and be used to analyze third party systems or applications for exceptions. In one case, a plug-in may be created or configured to obtain certain data from a third party application or data source and may then pass this data to an exception engine for processing by one or more exception rules. As one example, the quality review management system may be used to interface with event monitoring systems, such as those that use OPC interfaces, to obtain and analyze data from third party process control systems or plants.
In one example, the plug-in modules are created to interface the RBE exception engine with external or third-party systems (e.g., control systems, OPC interfaces, maintenance systems, etc.), thereby enabling exceptions to be generated based wholly or in part based on data from third party or external software systems. Plug-ins may be created to access particular data within or from a third party or external system and to pass this data to the RBE engine to analyze whether an exception should be created or not. The plug-ins may be run in the third-party server, in the RBE server or in another server, and may or may not perform exception detection. Thus, the plug-ins can be simple third-party system data gatherers, or may gather data and additionally perform some exception processing, providing an exception or pre-processed exception data to the RBE engine.
Known review systems are currently unable to interface with or create exceptions based on data provided directly from external software programs, like control systems, safety systems, maintenance systems, etc. Plug-ins make the RBE system much more robust in a complicated process environment having multiple different software systems operating during runtime.
Still further, in one example, an RBE system may include a live view component that collects a set of metadata (which may be predefined when, for example, creating a plugin) when collecting the RBE input data (that is, the process data used to define or generate an exception). The metadata may be any other process or environment data and is collected at the same time as the exception input data. This metadata is stored as a process snapshot associated with the accessed exception data. When the RBE system detects an exception based on the collected exception data, the RBE system also stores the metadata as part of the exception. The RBE system additionally displays some or all of the metadata when reporting the generated exception, thereby providing the user or reviewer with a live view into the process at the time that the exception arose within the process. This system provides the user with a quick view of various process states/values, etc. at the time of the exception, which enables the user the more quickly understand why the exception arose and the severity of the exception, thus enabling the user to more quickly process the exception.
While known process review products provide a list of generated exceptions to the user or reviewer, the reviewer must still analyze each exception to determine whether the exception can be dismissed or must be dealt with in some other manner. However, generally speaking, the reviewer must go back to the process system in which the data that lead to the exception was collected to understand other things about the process at the time of the exception (e.g., was the process on-line or off-line, the state of a batch at the time of the exception, etc.) With the live view feature, the user can be automatically provided with a process snapshot that will generally include the process data most useful to the reviewer in performing exception review, which means that the reviewer does not need to go back into other data collection systems to get the information the user needs to perform exception review. This feature also means that the reviewer does not generally need to be as familiar with the other process systems from which the data is collected as the reviewer will not need to use those systems to access the process data the reviewer needs
In another example, an RBE or quality review system includes an event monitor that may be tied to a third party or external system and that generates and sends messages to the RBE system, which can then use these messages to perform exception processing or exception creation. In one case, the event monitor may be tied to or coupled to an OPC alert and alarm monitoring interface, and may recognize when one or more alerts or alarms are passed to the OPC interface. At this time, the event monitor creates and drops a message to the RBE system with the alert or alarm information and potentially any other desired OPC collected data. The RBE system may then analyze the messages to generate exceptions based on the alarms and alerts. Typical review system do not analyze data from third party systems, and none of them are connected to the OPC alert and alarm interfaces that exist. As such, these systems are not able to generate exceptions based on process alarms and alerts, for example.
Likewise, the quality review management system may use a new paging algorithm when presenting lists of exception records to a reviewer via an electronic display or user interface. This paging algorithm, which operates in a manner that reduces or eliminates the presentation of missing records or duplicate records in the review process, stores one or more anchors to track the actual records in the current display page of records being provided in an interface display. The system then uses the anchors for the page that is currently being displayed to determine the starting position of the next set or records to display as part of the next page, which enables the paging system to operate appropriately even as records are added to or are removed from the list of records to be displayed during the review process.
In one example, the review system implements a new paging algorithm when presenting lists of generated exceptions to a reviewer. Generally, RBE systems create/detect exceptions and store these exceptions as records in a structured database, such as an SQL database. Then, when presenting the list of exceptions to a reviewer on a display screen (and there can be a large number of exceptions or records), the RBE system searches the database for all relevant exception records, downloads pages of links to these records, and then presents records within portions of the retrieved pages in the order downloaded from the database as the user scrolls through the various pages of exception records. However, as the reviewer processes the exceptions and scrolls down the list of exceptions as displayed on the user interface, the records may change in the database, and thus the page data may become out of date. In particular, records may be added or may be deleted from the database. In this case, when the system attempts to present the records on a display screen, various records referred to in the pages may be missing, causing visual data loss or duplication. In some cases, the user may miss a record going from one page to the next due to the deletion of a record on a particular recovered page. In other cases, the system may become confused as to where to start a new display page based on missing records that were in the downloaded pages. The new system operates differently, in that it downloads records presented on a display screen starting from the last record displayed on the screen. That is, instead of presenting a new display page associated with the original pages of recovered records, the system accesses the database for a set of records that currently exist immediately after the last record on the displayed page, thereby assuring that each time a new set of records is displayed on the screen, the first new record displayed is the record immediately following the last record that was being displayed immediately before the time of the scroll.
This display system is more accurate as it assures that records are not displayed out of order or missed in the review process in which the user is scrolling down various pages of records over a long period of time. Moreover, the RBE system is more efficient as it only needs to access the database for the number of new records that will fit on a new display page as the user is scrolling through records, while still assuring that all of the relevant records are accessed as the user performs the scrolling process.
By way of background,
In this prior art system, a workflow application 40 may be stored in an operator interface device (the workstation 26, for example), and the workflow application 40 may be executed by a processor of the workstation 26 to interface with the batch executive 22 as the batch executive 22 is controlling the process control network 20 to implement various orders or batch runs. The workflow application 40, which may be, for example, the Syncade Workflow application sold by Emerson Process Management may operate to obtain and display data from the batch executive 22. This data may include ongoing batch status data, parameter data, measurement data, progress data, batch procedural model state data, etc., as acquired by the batch executive 22. This information or data may include indications of the order being implemented, the materials and processes associated with the order (e.g., the recipe and the batch procedural model to be implemented), alarm and alert data from the batch executive 22 and/or the process control network 20, etc. Any or all of this data may also be stored in a batch log file database 32 as a batch log file 34, as is typical for batch executive routines.
As is generally known, the workflow application 40 may track the operation of the batch executive 22 with respect to each order being implemented by the batch executive 22, and may allow the batch operator to implement various operations or actions within or with respect to the batch executive 22 or the process control network 20. For example, the workflow application 40 may subscribe to certain types of data from the batch executive 22, such as parameter data, batch state data, batch state change data, batch alarms and/or alerts, etc., and may notify the operator of various conditions in the plant 10 based on this data. The workflow application 40 may, for example, notify the operator of the starting and stopping of various different batch procedures or of batch procedural model state changes, may notify the operator of various stoppages or other operational conditions of the batch executive engine 22 (which may be caused by unforeseen problems such as missing equipment, missing raw materials), may notify the operator of time periods being out of place, batch parameters that may be out of range based on what the batch executive 22 is expecting, etc. The workflow application 40, as is known, may allow the operator to take various actions to restart a batch run, to select different equipment for a batch run, to operate on different raw materials, to instruct the batch executive to start up, shut down, or skip procedures, or to execute other procedures in the batch procedural model. As an example, the batch executive 22 may try to go through a cleaning procedure wherein the equipment to be cleaned is off-line and thus unavailable to be cleaned. In this case, the operator may skip the cleaning procedure, which may not be in strict compliance with the quality standards being implemented, but which may be necessary to complete the batch in a timely manner or within an allotted time frame. In any event, the workflow application 40 may enable the operator to annotate various actions taken by the operator. Moreover, the workflow application 40 may store the annotations or notes provided by the operator via the workflow application 40 (e.g., notes or comments provided by the operator to explain what happened and why the operator took certain actions outside of the expected work flow of the batch process), and may store data indicative of various actions taken by the operator via the workflow application 40 in the batch log file database 30 as part of a batch log file 34 for the order being monitored or controlled. Each batch log file 34 typically lists the various data that is obtained from the batch executive 22, along with actions taken by the operator in response to that data, notes put into the log file by the operator, etc. Moreover, during operation of the batch executive 22, the batch executive 22 sends data packets to the workflow application 40 with current data pertaining to a batch run or order. The workflow application 40 may subscribe to various data from the batch executive 22 (or the process control network 20) and may receive this data periodically, when changes in the data occurs, etc. Moreover, each set of data may have a unique packet identifier that identifies various information about the batch run or order associated with the data. In this manner, the workflow application 40 can process the data packets to determine the order and thus the proper operator to whom to provide the data.
As is known, a batch log file or batch report 34 for a batch run is generated during the batch run and, after the batch run or order is complete, the batch log file 34 is complete. At that time, a quality review engineer or other personnel may access the batch log file 34 via some viewing application executed on the computer or workstation 28, for example, to analyze the batch report and to view the data and other information within a batch report on a line-by-line basis. The quality engineer may view this data, as it was stored during the operation of the batch process, in order to determine if any exceptions occurred within the batch run, if these exceptions need to be addressed, and what if any actions need to be taken based on the existence of these exceptions. As noted above, this review tends to take a lot of time, is manually intensive, and requires a lot of knowledge on the part of the quality engineer. Still further, much of the time that the quality engineer spends is simply looking at data or information from the batch report that is not associated with any particular exception or deviation from expected actions within the batch run, and thus this review is time intensive. Still further, as noted above, when a quality engineer identifies an exception based on the data in the batch log file 34, the quality engineer may need to obtain other information about the batch process (e.g., process variable values, batch procedural model states, recipe information, etc.) stored in one of the other databases, such as in a batch historian 30, a process control historian 31, etc. This activity may require the quality engineer to use other data access applications to access that data and thus requires the engineer to have the know-how to access and view that data efficiently and correctly using these other data access applications.
In particular, the plant environment 110 of
Generally speaking, the configuration application 120 may be operated or executed to enable a user, such as a configuration engineer, a quality management engineer, etc., to create and store a set of rules (generally referred to herein as exception rules) which may be used by the exception engine 122 to detect exceptions in the running of a process, such as in a batch run of a batch process associated with a particular order. The configuration application 120 essentially provides a configuration environment that enables a user to create configurable exception rules to execute in the exception engine 122 to define or detect exceptions. The configuration application 120 may store a set of rule templates that may process various types of input data to detect an exception using any desired type of logic or logical expressions, such as Boolean logic. In the configuration environment, a user may select one of the rule templates, may define data inputs/outputs for a rule, and may define a possible expression to be analyzed for a set of data. When the data flows through the exception engine 122, the exception engine analyzes the data against the configured rules to determine if an exception exists. Upon detection of an exception the exception engine 122 then stores an exception record in the database 126.
As an example,
Referring again to
During operation, a user may select a data source 158A from the data source section 158 to specify the data source for which a rule is to be created. The application 120 may access the rules database 124 and find the previously stored rules (if any) for that data source and list these rules in the rule list section 160 in execution order, for example. Next the user may create a new rule for the data source by selecting a template data source icon 156A from the template section 156 and dragging and dropping that template icon 156A onto the rule configuration section 162, which will cause the application 120 to load configuration data for the selected template rule into various portions or fields of the configuration section 162. If desired, the rule configuration section 162 may have the fields thereof blank to enable a user to create a new rule without the use of a template. Still further, the user may select one of the rules in the rules list section 160 to edit a previously created rule. Of course, the application 120 may use other manners of selecting or establishing rules to be created (e.g., using drop down menus, pop-up screens, etc.)
The configuration application 120 then enables a user, such as a configuration engineer, to specify, set up, or create the specifics of the rule by providing or editing various rule configuration information in various fields of the rule configuration section 162. Basically, the application 120 enables the user to specify any rule configuration information needed to process data from the data source for the purpose of detecting and handling an exception within the operation of the process monitored by the data source. Generally, each rule stores logic, such as Boolean logic, to use to analyze the data from the data source to detect an exception, information on how to store an exception record and, if desired, information on how to enable a quality engineer to process or resolve (e.g., close) an exception record created by application of the rule. Such exception rules may include, for example, detecting whether one or more parameters from the data source (e.g., the workflow application 40, the batch executive 22, the process control system 20, etc.) are out of range or are above or below certain pre-established thresholds; whether a note has been entered by an operator (e.g., via the workflow application 40); whether different material is being used in a batch run for an order; whether different equipment is being used for one or more batch procedures of an order; whether the processing times of one or more batch procedures has taken longer or shorter than expected; the skipping or addition of certain steps or procedures within a batch run for an order, such as a cleaning procedure or a rinsing procedure; whether an operator or other user of the process system has taken an unexpected action in the process or has entered a note in the data source application, etc. Of course, the exception rules may specify and desired logic to be applied to particular data from a data source to determine if an exception exists.
Thus, as illustrated in the example screen 150 of
Still further, the configuration engineer may use the configuration application 120 to specify the order or sequence in which each of the rules of a particular set of rules should be applied to any particular set of data from a data source. In particular, the exception engine 122 may apply multiple rules to each set of data from a data source and may be set up to apply each of the multiple rules in a specific or predetermined order so as to detect certain types of exceptions (typically more important or severe exceptions) prior to other types of exceptions (e.g., less severe exceptions). For example, in many instances, the application of different exception rules to a particular set of data from a data source may result in the detection of multiple different exceptions. However, it may be important or desirable to determine only the most significant exception for any particular data set from a data source to prevent the creation of multiple exception records associated with the same event or time in a batch run or order. The order of the rules (i.e., the order in which the exception engine 122 applies the exception rules to a particular set of data) is thus used to specify which exceptions are detected first so that, during operation, the exception engine 122 determines the exceptions based on the various rules by running the rules in a particular order, and then saving or creating an exception record for only the first detected exception. As indicated above, the rules section 160 may store the list of rules for the source in the order that these rules will be executed. Each rule may, as a parameter thereof, store or include a sequence number or order number indicating this execution order. In any event, the user may change the order of the rules for a data source by, for example, rearranging the order of the rules in the list of rules in the section 160. The user may, for example, select a rule in the rule list 160, drag that rule up or down in the list 160 and drop the rule in a new location in the list 160 to change the execution order of the rules. Of course, the application 120 may enable the user to change the order of rules in other manners, such as changing an order field 162E in the screen section 162.
Still further, if desired, the screen section 162 may include a resolution field 162F which may enable the configuration engineer to specify one or possibly more handling or resolution procedures that should or must be applied to close an exception record created by the rule. Generally, each type of exception may support a single resolution procedure. However, in some cases, exceptions may support or include multiple resolution procedures. Such resolution procedures may include signing off on the exception, annotating the exception record with various information, sending the exception record to other personnel to review and/or sign off on, etc. In some cases, each resolution may simply be a definition of a set of signatures needed to close the exception, or the resolution may simply enforce one or more signatures needed to close the exception. In these cases, the resolution may include a description of or a set of instructions that indicate other activities (procedures) to be completed prior to the signature(s), but in these cases, the resolution may not monitor or enforce the other activities. The handling procedures as specified in the rule may be preset or may be set to default settings based on, for example, the severity of the exception as specified in the field 162B.
Still further, the screen section 162 may include an information field 162G that accepts and stores information to be provided to the quality review engineer along with or as part of the exception record created by application of the rule. This information may be general information about this type of exception, normal handling procedures, directions or suggestions as to other actions to take or consider, or any other information that may be useful to the quality review engineer when viewing or handling the exception record created by application of the rule. In many cases, the field 162G may also be used to specify data source metadata to be stored as part of the exception record, as well as the format of displaying this metadata. Generally, when processing an exception record, it is helpful for the quality review engineer to know the context of the process at the time of the exception, and the data source metadata may be provided as information to help the quality review engineer to understand this context. As such, the configuration field 162G may indicate what data source metadata is to be provided to the quality review engineer as part of the exception record.
Of course, the configuration application 120 may store any or all of the rule configuration information as part of the exception rule in the rule database 124 in any desired manner. As will be understood, this configuration information may include the identity of data that is needed from a data source and this data can be used, as will be later described, to obtain the correct data or information from a data source during operation of the data source.
Of course, the configuration application 120 may be used to create any number of exception rules, and the exception rules may be stored in the rules database 124 on a data source by data source manner, so that different rules or sets of rules may be made and stored for different data sources (or for different orders associated with a single data source). In any event, the configuration application 120 may be used to create rules and may do so by enabling a user to create a new rule (e.g., from a template rule), may enable the user to specify a name for the rule or exception to be detected by the rule, logic to be applied to data from a particular data source to be implemented to detect the presence of an exception or a deviation from a norm based on the data, an identification of a type of rule or exception which the rule detects, a set of information to be provided to a reviewer or other user upon the rule detecting an exception (such as an explanation of the exception, data or instructions useful for analyzing or signing off on the exception), an identification of a severity (e.g., importance) of the exception detected by the rule, metadata (e.g., data from the data source) pertaining to the state of the process (e.g., batch run) at the time of the exception that should be stored as part of the exception record, processes or procedures that may be used or must be used to deal with or resolve the exception (e.g., sign-off procedures), and other data or information to be stored as part of an exception record or to be used in processing of an exception record.
Importantly, this configuration system or configuration application 120 provides a significant advantage over known products, which require the exception software provider to hard code the exceptions defined for the system into the product, and thus require a software or system update to create new exceptions. These updates take time for the user to get and install, and do not enable users to customize their own systems.
After a set of exception rules is created for one or more data sources, and these rules are stored in the rules database 124, for example, the quality review management system 112 may thereafter implement the exception engine 122 in real time during operation of a data source to detect exceptions that may occur as a result of the operation of the underlying process being monitored, controlled, or effected by the data source application. When set up to run or execute on data from a particular data source, the exception engine 122 periodically or intermittently receives sets of data (e.g., metadata) from the data source indicating various operational parameters of the process and/or application that monitors or controls the process. For each set of data, the exception engine 122 obtains and applies the logic of the exception rules created for the data source to thereby detect exceptions in the process being implemented, managed, or monitored by the data source. When interfacing with or communicating with the data source, the exception engine 122 may receive sets of data from the data source periodically, when some particular action or actions occur in the process or data source, and/or at other configured times. The exception engine 122 may subscribe to such data based on the data source configuration data within each of the exception rules for the data source, may poll the data source for such data at various times or may implement a combination of these communication techniques. In this manner, as the data source, such as the workflow application 40, operates to receive new data and to interface with an operator (e.g., to assist the operator in analyzing batch data from the batch executive 22 for example), the workflow application 40 also sends data (periodically or otherwise) to the exception engine 122, which then analyzes the data using the exception rules for the workflow data source application 40 to determine if one or more exceptions have occurred in the underlying process.
During this process, the exception engine 122, which is a logic engine, parses the data sent from the data source and applies the logic within the appropriate set of rules, such as the rules 156A in the database 124, to thereby analyze the data according to the rules to detect one or more exceptions. The exception engine 122 may apply the rules to the data one by one in the order specified in the set of rules as stored in the rules database 124, and may detect any exceptions as determined by the rules or may stop processing the data when an exception is detected by any of the rules on a particular set of data. Upon detecting an exception, the exception engine 122 creates an exception record for that set of data and stores the exception record in an exception record file 170 (
As will be understood, the exception engine 122 operates in real time, that is, in an ongoing manner in tandem to the data source, to analyze the data from the data source for exceptions and to store exception records for detected exceptions in an exception database 170. The exception engine 122 may operate to receive new sets of data packets from the data source, such as a workflow engine 40, for any period of time. For example, the exception engine 122 may analyze data from the workflow application 40 as a particular batch process is run and may halt upon completion of the batch process or order. Of course, the exception engine 122 may operate to analyze and detect exceptions for multiple different batch runs simultaneously, for example, from the same data source (e.g., the workflow application 40), and/or may analyze data from different data sources simultaneously. In all of these cases, the exception engine 122 may create and store exception records for each different batch run of a single data source and/or for each different data source simultaneously. Thus, the exception engine 122 may understand that different batch runs are occurring at the same time or that data from different sources are being processed over the same time period, and may track these runs and processes separately to create different exception databases 170 for each batch run, order, and/or data source.
The exception engine 122 receives and processes each of the data packets 188 from different data sources 180, 182, 184, and 186, in turn as these packets are received. For each packet 188, the exception engine 122 may determine the identity of the data source and order (as specified by data within the data packet 188), may obtain the appropriate set of rules from the rules database 124 for that data source, and may apply the obtained rules in a predefined order to the data within the data packet 188 to determine if an exception exists. If the exception engine 122 processes through all of the rules for a data source without detecting an exception, the exception engine 122 then waits for or begins to process the next data packet 188 (from the same or a different data source). If, on the other hand, the exception engine 122 detects an exception based on the application of the rule logic to the data source metadata, the exception engine 122 creates an exception record 180 for the order and stores that exception record in an exception record database 126 as an exception record file or database 170 for an order. That is, all exception records for a particular order may be stored as a set of exception records for that order. In any event, as indicted by the diagram of
One additional benefit of the exception engine 122 is that it operates in real time, i.e., during operation of the underlying process, and so can detect the occurrence of an exception in real time, e.g., as the exception occurs. As a result, one feature of the exception engine 122 is that, upon detecting the occurrence of an exception, the exception engine 122 can immediately or in real time notify the operator or some other personnel at or associated with the data source of the existence of the exception, which may enable the operator or other person to take actions within the process to mitigate or avoid the exception. In some cases, exception rules may be configured to detect the possible occurrence of a future exception based on actions or states of the current process. In this case, the exception engine 122 may detect the possible or likely occurrence of an exception and may notify the operator or other user, in real time, that an exception is likely to occur. This notification provides the operator or other user an ability to reverse some action or change some parameter that is at the root cause of the future exception, before the exception occurs. This live feedback can therefore be used to avoid or immediately mitigate exceptions by enabling the operator or other process monitoring or control personnel to take actions to avoid or reverse the conditions leading to the exception.
While
Generally speaking, the QRM services device 302 may, in response to a configuration application 120, create a particular plug-in for a particular data source or a particular order from a particular data source. Each plug-in 310-316 may include configuration information provided as part of the configuration of the plug-in 310-316 to inform the plug-in 310-316 of the data and data format of information that will be sent to the plug-in 310-316 for evaluation, the location at which to store an exception record file or database for the data source or order, and any other desired configuration data needed for operation of the plug-in 310-316. Moreover, if desired, the configuration data for the plug-in 310-316 may include one more rules to apply or analyze based on received data. Of course, each plug-in 310-316 can be associated with (configured for) the same data source or for different data sources and so the configuration information for each plug-in 310-316 can be similar or vastly different depending on the data source or use of the plug-in 310-316. The configuration information of each plug-in 310-316 may also specify the data to be subscribed to or to be received from the QRM services device 302 or from a third party application or source during operation, and the plug-ins 310-316 may register with the QRM services device 302 or other applications or sources to receive that data. Generally, the plug-ins 310-316 may operate simply to obtain specific data from a data source and so need only to be configured to understand what data is coming from the data source, and the format of that data. The plug-ins 310-316 can then receive and process the data from the data source and put the received data in a format for use by the exception rules as created for the data source. In this manner, the plug-ins 310-316 may operate as data gathering and interpretation applications for any types of data sources, even third party or proprietary data sources.
Moreover, each plug-in 310-316 may include a runtime processing configuration that defines or controls the operation of the plug-in 310-316 during operation. This runtime section may include a logic parser that uses rules or logic within the exception rules for a data source to analyze received data from a data source and to create and store exception records in an exception record database or log 170. In essence, the runtime section of a plug-ins 310-316 implements the exception engine 122 of
As an example, the configuration application 122 of
Moreover, the plug-in modules 310-316 may be created with data acquisition functionality and with runtime exception processing capabilities if so desired. Once created, the plug-ins 310-316 may be stored in and executed in any convenient location or processing device, such as a device close to the data source or data sources. Moreover, the plug-ins 310-316 may register with the data services device 302 (or with any other server or device) to receive data from the appropriate data source, such as one of the data sources 304. The QRM services device 302 may then subscribe to or poll the data sources 304 for the appropriate data, and upon receiving a data packet from a data source, may provide the data and one or more exception rules for the data source to the plug-in module 310-316 to be used to analyze that data. The plug-in 310-316 may then use the rule or rules in the logic engine thereof to analyze the data for exceptions, and upon detecting an exception, may store an exception record in an exception record database 170 for the data source. Thus, as will be understood, the QRM services device 302 acts as a data broker for the plug-ins 310-316, which can operate independently of one another on any desired device using any data or data obtained from different sources.
As will be understood, the quality review management system 128 may implement the use of plug-ins or plug-in modules on a source-by-source basis to execute the functionality of exception engine, as described herein, to enable the quality review management system to be easily configurable for different data sources, for different quality review standards, and/or to be easily run in a distributed environment in which various different parts of the system are executed in different computers spread throughout a plant. In this case, a different plug-in can be created for each various type of data source, and each plug-in can have its own set of rules associated therewith to be used to perform exception detection from a particular data source.
Moreover, the plug-in modules 310-316 may or may not perform exception processing and detection in a batch or order processing environment. In some cases, for example, one or more of the plug-ins 310-316 may be created to perform or enhance process or event monitoring within a plant, or to perform quality review within a plant, such as within a continuous process manufacturing plant. Thus, the plug-ins 310-316 may be simple third-party system data gatherers, or may gather data and additionally perform some exception processing, or may provide an exception or pre-processed exception data to a stand-alone exception engine. The use of plug-ins to implement quality review is advantageous because known quality review products are unable to interface with or create exceptions based on data provided directly from external software programs, like control systems, safety systems, maintenance systems, etc. Moreover, the use of a plug-in module environment makes the quality review management system 112 described herein much more robust in a complicated process environment having multiple different software systems operating during runtime.
In many cases, the plant assets within the plant 400 run proprietary or third party control, monitoring, and asset management systems that collect a great deal of data from the plant during operation. Moreover, the operator monitoring applications and interfaces 406, the batch executive 404 or other control applications may also be priority in nature. It is known in process control technology to use OPC interfaces to obtain data from various third party or proprietary applications. Thus, each of the operator interfaces 406 may include an OPC alarms and events (OPCae) 412 or an OPC data access (OPCda) interface 412, for example, to enable detection and use of alarm and event data (as generated in the plant 400 such as in the process equipment 402) or other process data to be used by external systems. Additionally, in some cases, one or more monitoring applications 414 may be stored in one or more of the plant devices, such as in the application server 411 or a separate event monitor server 416. The event monitoring applications 414 may be known applications used to interface with one more of the batch executives 404 to obtain process event information (but not necessarily via an OPC interface) and/or may be configured to interface with one or more of the OPCae or OPCda interfaces 412 to obtain alarm and event data or other data from the process control network 402. The event monitor applications 414 are traditionally used to obtain process data, such as event and alarm information, from the plant assets and to store that data in a database for later review or use in various systems, such as process control analytic systems, maintenance systems, etc.
However, the exception processing structure described herein may be used to process alarm and event and other information as obtained from the event monitoring applications 414 to determine if certain plant conditions occur within or during operation of the plant equipment 402. Such conditions may include, as examples only, when certain events or alarms reach a critical level, when a certain set or combination of alarms or events occur together, when various process conditions exist, or any other set of conditions that indicate an issue that may need to be noted to a user of some sort, such as a quality review engineer, a safety engineer, etc. To perform this function, an event monitor plug-in 450 of
In any event, the event monitor 450 may be tied to any of one or more third party or external systems and may be used to generate and send messages to a rules engine (not shown) which can then use these messages to perform exception processing or exception creation in the form of monitoring messages, notifications, alarms, etc. In one case, the internal event monitor 450 may be tied to or coupled to an OPCae interface 412, and may recognize when one or more alerts or alarms are passed from the OPCae interface 412. At this time, the event monitor application 414 or OPC interface 412 creates and drops a message to the external event monitoring system 450 with the alert or alarm information and potentially any other desired OPC collected data. The system 450 may then analyze the messages to generate exceptions based on the data in the messages. This operation is advantageous because known quality review systems do not analyze data from third party systems, and are not connected to the OPC alert and alarm interfaces that exist. As such, these systems are not able to generate exceptions based on process alarms and alerts, for example.
Generally speaking, the event monitoring system 450 of
In another case, the event monitoring system 450, based on its configuration, can configure the OPC interfaces 412, for example, to detect certain conditions or combinations of conditions and to then send the event monitoring system 450 a message when these conditions are met. In this case, the event monitoring system 450 essentially programs the OPCae or OPCda interfaces 412 to perform the logic of the rule and to only send messages or data to the event monitoring system 450 when that logic is satisfied. Upon receiving a message from the OPCae interface 412 with a message indicating that a particular set of conditions or logic is met, the event monitoring system 450 can simply create and send a communication to the event monitoring interface 452 and the database 454 to notify a user of the condition and to store an exception record in the database 454. In this case, the logic of the rules for the event monitoring system are executed wholly or partially in the OPC interfaces 412 or external event monitoring applications 414, 416, which may be configured using known techniques to implement this logic and only sending messages when certain conditions exist in the process plant 400.
Thus, in the example system of
Referring back to
Importantly, the displayed information for the exception record may include process or data source metadata 510 as collected from the data source at the time of the creation of the exception. As described above, the quality review management system 112 collects a set of metadata (which may be predefined when, for example, creating a plug-in or a rule or which may be data known to be provided by a particular data source) when collecting the input data from a data source. Generally, the metadata to be collected is defined by a data transform that is configured when creating a rule. The data transform is applied to the metadata from the data source and the plug-in outputs this transformed metadata in, for example, HTML, so that the metadata is viewable in the reviewing application. This data source metadata, which may be any process or environment data, is generally collected at the same time as the exception input data, and is stored as a process snapshot associated with the accessed exception data as part of the exception record created for the exception. As such, when the exception engine 122 detects an exception based on the collected exception data, the exception engine 122 also stores the data source metadata as part of the exception record. The quality review interface application 128 then displays some or all of this metadata in, for example, the field 510 of the screen 500 reporting the generated exception, thereby providing the reviewer with a live view into the process at the time that the exception arose within the process. This feature thus provides the reviewer with a quick view of various process states/values, etc. at the time of the exception, which enables the reviewer to more quickly understand why the exception arose, the context of the exception, etc., thus enabling the reviewer to more quickly process or know how to resolve the exception. This operation makes quality review easier because, while known quality review products generally provide a list of generated exceptions to a reviewer, the reviewer must still analyze each exception to determine whether the exception can be dismissed or must be dealt with in some other manner and, in these known products, the reviewer must typically go back to the process system in which the data that lead to the exception was collected to get process snapshot data at the time of the exception. With the live view feature provided by the metadata field 510 of the screen 500, the reviewer is automatically provided with a process snapshot that will generally include the process data most useful to the reviewer in performing exception review, which means that the reviewer does not need to go back into other data collection systems to get the information the user needs to perform exception review and handling. This feature also means that the reviewer does not generally need to be as familiar with other process data retrieval systems from which the process or data source metadata is usually collected, as the reviewer will not generally need to use those data collection systems to access the process data the reviewer needs to resolve exception records.
Still further, as illustrated in
Likewise, the bottom portion of the screen section 508 depicts the metadata collected for this particular exception. In this case, the metadata reflects what a user was seeing in the workflow application when the exception was created and may be used to assist the reviewer in understanding the context of the process when the exception occurred.
Still further, an example screen 530 of
Likewise, the various screens presented by the quality review interface application 128 may include statistical information about an order or a group of orders. For example, a section 550 of the screen 540 includes an indication 551 of the order being viewed, an indication 552 of the number of exception records associated with the order that are closed, and an indication 553 of the completion status of the order (in this case the order is not yet complete but is still being processed). The section 550 may also provide links 553 for reviewers to sign and verify the order or exception records of the order, etc.
Likewise, a screen 560 of
Still further, the quality review interface application 128 may enable a reviewer to group various ones of the exception records together into a group and take various actions (commenting on, changing parameters of, signing off on, etc.) of the records as a group. As an example, each of the screens 540 and 560 of
Still further, the application 128 may enable a reviewer to take one or more actions to exception records on a group basis, which saves time for the reviewer.
If desired, the quality review interface application 128 may enable a reviewer to take group actions on exception records not actually associated with a group. For example, as illustrated in an example screen display 592 of
The quality review interface application 128 as described herein may use an advantageous paging algorithm or technique to enable a reviewer to scroll through various pages of records, such as exception records as provided in the record lists 506 of
However, when the records in the list or search change, such as when some of the records disappear or fall off of the search because some parameter of the record is changed, or when new records are created in the database, the original list of records found by the search changes, and these changes may occur during the time that the reviewer is reviewing one page of records but before calling the next page of records. In this situation, as the reviewer processes the records and scrolls down the list of records as displayed on the user interface, the records may change in the database, and thus the page data may become out of date. In particular, records may be added or may be deleted from the database (or records may have parameters that change that cause the records to no longer be returned by the search according to the search criteria). As a result, when the display system attempts to present the records on a display screen for subsequent pages, various records referred to in the original search may be missing, causing visual data loss or duplication. In some cases, the user may miss a record going from one page to the next due to the deletion of a record on a particular recovered page. In other cases, the system may become confused as to where to start a new display page based on missing records that were in the original returned list of records. In still another case, the display system may present the same record on multiple pages based on the addition of new records to the database. None of these situations is desirable in a review system in which it is important for the reviewer to view and sign off on each and every record in the list, as is the case with exception records in an exception record log for an order, as presented by the application 128.
However, if a record is removed from the list of relevant records (e.g., one or more records has a parameter thereof changed that keeps the record from being found in the search of records) between the time T1 that the first page 704 is presented and the time T2 that the second page 708 is presented, then the display system may inadvertently skip the display of a record.
This situation is disadvantageous when a reviewer is scrolling through pages of exception records which have parameters that can change or in which new records can be added because it leads to situations in which relevant records are skipped in the display or in which relevant records are duplicated in the different pages of the display.
The quality review application 128 described herein, however, may use a different paging technique to determine which records to present in various different pages of displays, and this new paging technique reduces or eliminates the display of duplicate and/or missing records when going between different pages. In particular, the quality review application 128 does not use fixed or preset locations or record positions in the list of records returned from the database to perform paging, but instead uses a dynamic paging algorithm that marks one or more records, such as a first record or a last record or both a first and a last record in the most recently displayed page, and then uses that marker or anchor to find the set of records to display as part of the next page of the display. In this manner, if any records are added to or are deleted from the relevant list of records after a page is displayed, the set of records displayed in the next page will be the records in the list that are adjacent to one of the last displayed records (e.g., the first or the last record of the previous page) at the time that the new page is loaded.
As an example,
The application 128 can use any marking technique, such as storing an indication of the record(s) that is/are at the top and bottom anchor positions in a separate anchor variable (such as in the browser or browser device) while a particular page is being displayed, actually storing a marker in the database associated with a record that is currently in an anchor position in the currently displayed page of records, storing one or more of the records in the current page as the marker, placing a temporary marker in the database immediately before or after a marked record, etc. Additionally, the marker or anchor can be stored in the application 128, a browser used by the application 128, the database in which the records are stored, etc. Moreover, the application 128 moves or changes the anchor positions or markers as new pages are accessed and displayed. Still further, the application 128 may use any value as the anchor for a record. For example, the application 128 may use a parameter of the record at which the anchor is located as the anchor, such as the time/date stamp of the record, etc. In some cases, the anchor for a record may be based on or indicate a search parameter of the record or some combination of search parameters, or may be some other unique value of the record, such as a record name, identification number, etc. Likewise, in some cases, the record associated with the marker may be a record that drops off the relevant search list. In this case, the application 128, upon not finding the anchor record in the new list (when loading a new page) may change the anchor to the record in the currently displayed page that is adjacent to the now missing anchor record (e.g., the record in the currently displayed page immediately above or preceding the bottom anchor or the record in the currently displayed page immediately below or following the top anchor) and then use the new anchor to determine the set of records in the returned list to present in the new display page.
Thus, the paging algorithm used by the quality review interface application 128 operates better than past paging systems in that this new system downloads and presents records on a new display screen starting from the last record displayed on the previous page or screen, regardless of the positions of the records in the returned list. That is, instead of presenting a new display page associated with the position of records in the original list of recovered records, the system 128 accesses the database for the records that currently exist in the new list immediately after the last record on the currently displayed page (when paging down the list), thereby assuring that each time a new set of records is displayed on the screen, the first new record displayed is the record in the new search list (710) that immediately follows the last record that was displayed in the previous page from the previous search (700). This display system is more accurate as it helps to assure that records are not displayed out of order, that records are not duplicated in multiple display pages, and that records are not missed in the review process in which the user is scrolling through various pages of records over a long period of time during which changes are being made to the records in the database. Moreover, the review application 128 is more efficient, as it only needs to access the database for the number of new records that will fit on a new display page as the user is scrolling through records, while still assuring that all of the relevant records are accessed as the user performs the scrolling process.
It will be understood that the quality review management applications and the batch execution engines, server applications, plug-ins, etc. described herein can be used and implemented within any desired process plant environment, and may be used in any process plant control system using any desired type of process plant control communication protocol. While the applications and routines described herein are preferably implemented in software stored in, for example, a server, a workstation, a handheld device or other computer, these routines may alternatively or additionally be implemented in hardware, firmware, application specific integrated circuits, programmable logic circuits, etc., as desired. If implemented in software, the routines or applications may be stored in any computer readable memory such as on a magnetic disk, a laser disk, an EPROM or EEPROM, solid state or other storage medium, in a RAM or ROM of a computer, handheld device, controller, field device, etc. Likewise, this software may be delivered to a user or a device via any known or desired delivery method including, for example, over a communication channel such as a telephone line, the Internet, on a transportable medium, such as a computer-readable disk, etc.
While the present invention has been described with reference to specific examples, which are intended to be illustrative only and not to be limiting of the invention, it will be apparent to those of ordinary skill in the art that changes, additions or deletions may be made to the disclosed embodiments without departing from the spirit and scope of the invention.
This application is a continuation application that claims the benefit of International Application Serial No. PCT/US19/28138, entitled “Quality Review Management System,” filed Apr. 18, 2019, which claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application Ser. No. 62/659,325, entitled “Quality Review Management System,” filed Apr. 18, 2018, the entire disclosures of which are hereby expressly incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
62659325 | Apr 2018 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/US19/28138 | Apr 2019 | US |
Child | 17063418 | US |