The present disclosure relates generally to abnormal situation prevention in a process plant. More particularly, the disclosure relates to recognizing an invalid regression model created for detecting an abnormal situation in a process plant and taking steps to achieve a valid regression model.
Process control systems, like those used in chemical, petroleum or other processes, typically include one or more centralized or decentralized process controllers communicatively coupled to at least one host or operator workstation and to one or more process control and instrumentation devices such as, for example, field devices, via analog, digital or combined analog/digital buses. Field devices, which may be, for example, valves, valve positioners, switches, transmitters, and sensors (e.g., temperature, pressure, and flow rate sensors), are located within the process plant environment, and perform functions within the process such as opening or closing valves, measuring process parameters, increasing or decreasing fluid flow, etc. Smart field devices such as field devices conforming to the well-known FOUNDATION™ Fieldbus (hereinafter “fieldbus”) protocol or the HART® protocol may also perform control calculations, alarming functions, and other control functions commonly implemented within the process controller.
The process controllers, which are typically located within the process plant environment, receive signals indicative of process measurements or process variables made by or associated with the field devices and/or other information pertaining to the field devices, and execute controller applications. The controller applications implement, for example, different control modules that make process control decisions, generate control signals based on the received information, and coordinate with the control modules or blocks being performed in the field devices such as HART® and fieldbus field devices. The control modules in the process controllers send the control signals over the communication lines or signal paths to the field devices, to thereby control the operation of the process.
Information from the field devices and the process controllers is typically made available to one or more other hardware devices such as, for example, operator workstations, maintenance workstations, personal computers, handheld devices, data historians, report generators, centralized databases, etc. to enable an operator or a maintenance person to perform desired functions with respect to the process such as, for example, changing settings of the process control routine, modifying the operation of the control modules within the process controllers or the smart field devices, viewing the current state of the process or of particular devices within the process plant, viewing alarms generated by field devices and process controllers, simulating the operation of the process for the purpose of training personnel or testing the process control software, diagnosing problems or hardware failures within the process plant, etc.
While a typical process plant has many process control and instrumentation devices such as valves, transmitters, sensors, etc. connected to one or more process controllers, there are many other supporting devices that are also necessary for or related to process operation. These additional devices include, for example, power supply equipment, power generation and distribution equipment, rotating equipment such as turbines, motors, etc., which are located at numerous places in a typical plant. While this additional equipment does not necessarily create or use process variables and, in many instances, is not controlled or even coupled to a process controller for the purpose of affecting the process operation, this equipment is nevertheless important to, and ultimately necessary for proper operation of the process.
As is known, problems frequently arise within a process plant environment, especially a process plant having a large number of field devices and supporting equipment. These problems may take the form of broken, malfunctioning or underperforming devices, plugged fluid lines or pipes, logic elements, such as software routines, being improperly configured or being in improper modes, process control loops being improperly tuned, one or more failures in communications between devices within the process plant, etc. These and other problems, while numerous in nature, generally result in the process operating in an abnormal state (i.e., the process plant being in an abnormal situation) which is usually associated with suboptimal performance of the process plant. Many diagnostic tools and applications have been developed to detect and determine the cause of problems within a process plant and to assist an operator or a maintenance person to diagnose and correct the problems once the problems have occurred and been detected. For example, operator workstations, which are typically connected to the process controllers through communication connections such as a direct or a wireless bus, an Ethernet, a modem, a phone line, and the like, have processors and memories that are adapted to run software or firmware, such as the DeltaV™ and Ovation™ control systems, sold by Emerson Process Management, wherein the software includes numerous control module and control loop diagnostic tools. Likewise, maintenance workstations, which may be connected to the process control devices, such as field devices, via the same communication connections as the controller applications, or via different communication connections, such as OPC connections, handheld connections, etc., typically include one or more applications designed to view maintenance alarms and alerts generated by field devices within the process plant, to test devices within the process plant and to perform maintenance activities on the field devices and other devices within the process plant. Similar diagnostic applications have been developed to diagnose problems within the supporting equipment within the process plant.
Thus, for example, the AMS™ Suite: Intelligent Device Manager application (at least partially disclosed in U.S. Pat. No. 5,960,214 entitled “Integrated Communication Network for use in a Field Device Management System”) sold by Emerson Process Management, enables communication with and stores data pertaining to field devices to ascertain and track the operating state of the field devices. In some instances, the AMS™ application may be used to communicate with a field device to change parameters within the field device, to cause the field device to run applications on itself such as, for example, self-calibration routines or self-diagnostic routines, to obtain information about the status or health of the field device, etc. This information may include, for example, status information (e.g., whether an alarm or other similar event has occurred), device configuration information (e.g., the manner in which the field device is currently or may be configured and the type of measuring units used by the field device), device parameters (e.g., the field device range values and other parameters), etc. Of course, this information may be used by a maintenance person to monitor, maintain, and/or diagnose problems with field devices.
Similarly, many process plants include equipment monitoring and diagnostic applications such as, for example, Machinery Health™ applications provided by CSI, or any other known applications used to monitor, diagnose, and optimize the operating state of various rotating equipment. Maintenance personnel usually use these applications to maintain and oversee the performance of rotating equipment in the plant, to determine problems with the rotating equipment, and to determine when and if the rotating equipment must be repaired or replaced. Similarly, many process plants include power control and diagnostic applications such as those provided by, for example, the Liebert and ASCO companies, to control and maintain the power generation and distribution equipment. It is also known to run control optimization applications such as, for example, real-time optimizers (RTO+), within a process plant to optimize the control activities of the process plant. Such optimization applications typically use complex algorithms and/or models of the process plant to predict how inputs may be changed to optimize operation of the process plant with respect to some desired optimization variable such as, for example, profit.
These and other diagnostic and optimization applications are typically implemented on a system-wide basis in one or more of the operator or maintenance workstations, and may provide preconfigured displays to the operator or maintenance personnel regarding the operating state of the process plant, or the devices and equipment within the process plant. Typical displays include alarming displays that receive alarms generated by the process controllers or other devices within the process plant, control displays indicating the operating state of the process controllers and other devices within the process plant, maintenance displays indicating the operating state of the devices within the process plant, etc. Likewise, these and other diagnostic applications may enable an operator or a maintenance person to retune a control loop or to reset other control parameters, to run a test on one or more field devices to determine the current status of those field devices, to calibrate field devices or other equipment, or to perform other problem detection and correction activities on devices and equipment within the process plant.
While these various applications and tools are very helpful in identifying and correcting problems within a process plant, these diagnostic applications are generally configured to be used only after a problem has already occurred within a process plant and, therefore, after an abnormal situation already exists within the plant. Unfortunately, an abnormal situation may exist for some time before it is detected, identified and corrected using these tools, resulting in the suboptimal performance of the process plant for the period of time before which the problem is detected, identified and corrected. In many cases, a control operator will first detect that some problem exists based on alarms, alerts or poor performance of the process plant. The operator will then notify the maintenance personnel of the potential problem. The maintenance personnel may or may not detect an actual problem and may need further prompting before actually running tests or other diagnostic applications, or performing other activities needed to identify the actual problem. Once the problem is identified, the maintenance personnel may need to order parts and schedule a maintenance procedure, all of which may result in a significant period of time between the occurrence of a problem and the correction of that problem, during which time the process plant runs in an abnormal situation generally associated with the sub-optimal operation of the plant.
Additionally, many process plants can experience an abnormal situation which results in significant costs or damage within the plant in a relatively short amount of time. For example, some abnormal situations can cause significant damage to equipment, the loss of raw materials, or significant unexpected downtime within the process plant if these abnormal situations exist for even a short amount of time. Thus, merely detecting a problem within the plant after the problem has occurred, no matter how quickly the problem is corrected, may still result in significant loss or damage within the process plant. As a result, it is desirable to try to prevent abnormal situations from arising in the first place, instead of simply trying to react to and correct problems within the process plant after an abnormal situation arises.
One technique collects data that enables a user to predict the occurrence of certain abnormal situations within a process plant before these abnormal situations actually arise or shortly after they arise, with the purpose of taking steps to prevent the predicted abnormal situation or to correct the abnormal situation before any significant loss within the process plant takes place. This procedure is disclosed in U.S. patent application Ser. No. 09/972,078, now U.S. Pat. No. 7,085,610, entitled “Root Cause Diagnostics” (based in part on U.S. patent application Ser. No. 08/623,569, now U.S. Pat. No. 6,017,143). The entire disclosures of both of these applications/patents are incorporated herein by reference. Generally speaking, this technique places statistical data collection and processing blocks or statistical processing monitoring (SPM) blocks, in each of a number of devices, such as field devices, within a process plant. The statistical data collection and processing blocks collect, for example, process variable data and determine certain statistical measures associated with the collected data, such as a mean, a median, a standard deviation, etc. These statistical measures may then be sent to a user interface or other processing device and analyzed to recognize patterns suggesting the actual or future occurrence of a known abnormal situation. Once a particular suspected abnormal situation is detected, steps may be taken to correct the underlying problem, thereby avoiding the abnormal situation in the first place.
Many abnormal situation prevention algorithms rely on some type of regression to model a certain monitored variable as a function of some other load variable. The regression model may be calculated during a training phase in which a set of training data comprising a number of corresponding samples of the load variable and the monitored variable are analyzed to derive a function or curve that best fits the data in the training set. Once the regression model has been calculated the model may be used to predict values of the monitored variable based on measured values of the load variable received during a monitoring phase. The predicted values of the monitored variable may be compared to corresponding measured values of the monitored variable. An abnormal situation may be detected when a predicted value of the monitored variable differs from a corresponding measured value of the monitored variable by more than a predetermined amount.
The regression model may be a polynomial function of a particular order p. For example, the regression model may be a linear function (1st order), a quadratic function (2nd order), a cubic function (3rd order), and so forth. In general, a higher order polynomial will more closely fit the data in the training set. It is possible, however, that a polynomial regression model may “over-fit” the data in the training set. In this case, the polynomial order is too high, and although the model will very accurately describe the data in the training set, it will not be particularly useful for predicting future values of the monitored variable based on values of the load variable received during the monitoring phase. What is more, some processing platforms may be subject to rounding off errors. If a higher order polynomial regression model is used there is a greater chance that the regression matrix will be ill-conditioned due to rounding off errors. In this case, when the polynomial regression coefficients are calculated they may describe a curve that does not even remotely resemble the data in the training set. In such cases it may be desirable to reduce the order of the polynomial and calculate a new regression model. In order to do so, however, it is first necessary to determine when a polynomial regression model is invalid. Only then may steps be taken to correct the problem and generate a valid model.
The present disclosure relates to abnormal situation prevention in a process plant. Polynomial regression models are generated to model various monitored process variables as a function of one or more load variables. The models may be used to predict values of a monitored variable based on measured values of a corresponding load variable. An abnormal situation may be detected if a measured value of the monitored variable differs from a corresponding predicted value of the monitored variable by more than a predetermined amount. The regression model is calculated based on a set of training data comprising a plurality of data samples including measured values of the monitored variable and the load variable. The regression model may comprise a polynomial function of a particular order. For example, the regression curve may be linear function (1st order), a quadratic function (2nd order), a cubic function (3rd order), and so forth. The present disclosure relates to systems and methods for automatically determining whether a calculated regression model is valid. If a regression model is found to be invalid, measures may be taken to compensate for the rounding off errors or other factors that led to the invalid regression model. Once such steps have been taken, a new polynomial regression model may be calculated.
According to an embodiment, an abnormal prevention system includes at least one field device. The at least one field device is adapted to measure process control data associated with first and second process control variables. The embodiment further includes one or more processors. The one or more processors are adapted to generate a polynomial regression model for modeling the second process control variable as a function of the first process control variable. The polynomial regression model is calculated based on a plurality of sample values of the first and second variables included in a set of training data set. The one or more processors are further adapted to execute an algorithm for determining whether the calculated polynomial regression model is valid.
The algorithm for determining whether the polynomial regression model is valid includes calculating the average value of the polynomial regression model over the range of values of the first process control variable included in the training data set. The algorithm further identifies the minimum and maximum values of the second process control variable contained in the data set. The average value of the polynomial regression model is compared to the minimum and maximum values of the second process control variable to determine whether the average value of the polynomial regression model falls within the range of values between the minimum and maximum values of the second process control variable. If so, the model is valid. If not, the model is invalid. If the model is invalid the order of the polynomial regression model may be reduced by one and a new polynomial regression model calculated from the training data set. This process may be repeated until a valid model achieved.
Another embodiment describes a method of creating a polynomial regression model modeling process control data. The method calls for receiving a set of training data. Again, the training data include a plurality of first process control variable values and a plurality of corresponding second process variable values. The method further calls for calculating a polynomial regression model based on the values of the first and second process control variables included in the set of training data. The calculated polynomial regression model has an initial polynomial order. Next the method calls for determining whether the polynomial regression model is valid. This step may involve identifying the minimum and maximum values of the second process control variable included in the set of training data. The average value of the polynomial regression model is calculated over the range of first process control variable values included in the set of training data. The average value of the polynomial regression model is then compared to the minimum and maximum values of the second process control variable to determine whether the average value of the polynomial regression model falls within the range of values defined by the minimum and maximum values of the second process control variable. If the average value of the polynomial regression model is outside the range of values of the second process control variable, the model is invalid. When it is determined that a polynomial regression model is invalid, the order of the polynomial may be reduced by 1 and a new regression model may be calculated. The steps of calculating a polynomial regression model, determining whether the polynomial regression model is valid, reducing the polynomial order if the polynomial regression model is invalid, and calculating a new regression model may be repeated until a valid polynomial regression model is achieved.
Further aspects and advantages will be apparent to those of ordinary skill in the art from a review of the following detailed description, taken in conjunction with the drawings. While the compositions and methods are susceptible of embodiments in various forms, the description hereafter includes specific embodiments with the understanding that the disclosure is illustrative, and is not intended to limit the invention to the specific embodiments described herein.
Referring now to
Still further, maintenance systems, such as computers executing the AMS application or any other device monitoring and communication applications may be connected to the process control systems 12 and 14 or to the individual devices therein to perform maintenance and monitoring activities. For example, a maintenance computer 18 may be connected to the controller 12B and/or to the devices 15 via any desired communication lines or networks (including wireless or handheld device networks) to communicate with and, in some instances, reconfigure or perform other maintenance activities on the devices 15. Similarly, maintenance applications such as the AMS application may be installed in and executed by one or more of the user interfaces 14A associated with the distributed process control system 14 to perform maintenance and monitoring functions, including data collection related to the operating status of the devices 16.
The process plant 10 also includes various rotating equipment 20, such as turbines, motors, etc. which are connected to a maintenance computer 22 via some permanent or temporary communication link (such as a bus, a wireless communication system or hand held devices which are connected to the equipment 20 to take readings and are then removed). The maintenance computer 22 may store and execute known monitoring and diagnostic applications 23 provided by, for example, CSI (an Emerson Process Management Company) or other any other known applications used to diagnose, monitor and optimize the operating state of the rotating equipment 20. Maintenance personnel usually use the applications 23 to maintain and oversee the performance of rotating equipment 20 in the plant 10, to determine problems with the rotating equipment 20 and to determine when and if the rotating equipment 20 must be repaired or replaced. In some cases, outside consultants or service organizations may temporarily acquire or measure data pertaining to the equipment 20 and use this data to perform analyses for the equipment 20 to detect problems, poor performance or other issues effecting the equipment 20. In these cases, the computers running the analyses may not be connected to the rest of the system 10 via any communication line or may be connected only temporarily.
Similarly, a power generation and distribution system 24 having power generating and distribution equipment 25 associated with the plant 10 is connected via, for example, a bus, to another computer 26 which runs and oversees the operation of the power generating and distribution equipment 25 within the plant 10. The computer 26 may execute known power control and diagnostics applications 27 such a as those provided by, for example, Liebert and ASCO or other companies to control and maintain the power generation and distribution equipment 25. Again, in many cases, outside consultants or service organizations may use service applications that temporarily acquire or measure data pertaining to the equipment 25 and use this data to perform analyses for the equipment 25 to detect problems, poor performance or other issues effecting the equipment 25. In these cases, the computers (such as the computer 26) running the analyses may not be connected to the rest of the system 10 via any communication line or may be connected only temporarily.
As illustrated in
Generally speaking, the abnormal situation prevention system 35 may communicate with abnormal operation detection systems (not shown in
The portion 50 of the process plant 10 illustrated in
In any event, one or more user interfaces or computers 72 and 74 (which may be any types of personal computers, workstations, etc.) accessible by plant personnel such as configuration engineers, process control operators, maintenance personnel, plant managers, supervisors, etc. are coupled to the process controllers 60 via a communication line or bus 76 which may be implemented using any desired hardwired or wireless communication structure, and using any desired or suitable communication protocol such as, for example, an Ethernet protocol. In addition, a database 78 may be connected to the communication bus 76 to operate as a data historian that collects and stores configuration information as well as on-line process variable data, parameter data, status data, and other data associated with the process controllers 60 and field devices 64 and 66 within the process plant 10. Thus, the database 78 may operate as a configuration database to store the current configuration, including process configuration modules, as well as control configuration information for the process control system 54 as downloaded to and stored within the process controllers 60 and the field devices 64 and 66. Likewise, the database 78 may store historical abnormal situation prevention data, including statistical data collected by the field devices 64 and 66 within the process plant 10, statistical data determined from process variables collected by the field devices 64 and 66, and other types of data.
While the process controllers 60, I/O devices 68 and 70, and field devices 64 and 66 are typically located down within and distributed throughout the sometimes harsh plant environment, the workstations 72 and 74, and the database 78 are usually located in control rooms, maintenance rooms or other less harsh environments easily accessible by operators, maintenance personnel, etc.
Generally speaking, the process controllers 60 store and execute one or more controller applications that implement control strategies using a number of different, independently executed, control modules or blocks. The control modules may each be made up of what are commonly referred to as function blocks, wherein each function block is a part or a subroutine of an overall control routine and operates in conjunction with other function blocks (via communications called links) to implement process control loops within the process plant 10. As is well known, function blocks, which may be objects in an object-oriented programming protocol, typically perform one of an input function, such as that associated with a transmitter, a sensor or other process parameter measurement device, a control function, such as that associated with a control routine that performs PID, fuzzy logic, etc. control, or an output function, which controls the operation of some device, such as a valve, to perform some physical function within the process plant 10. Of course, hybrid and other types of complex function blocks exist, such as model predictive controllers (MPCs), optimizers, etc. It is to be understood that while the Fieldbus protocol and the DeltaV™ system protocol use control modules and function blocks designed and implemented in an object-oriented programming protocol, the control modules may be designed using any desired control programming scheme including, for example, sequential function blocks, ladder logic, etc., and are not limited to being designed using function blocks or any other particular programming technique.
As illustrated in
As illustrated in
Each of one or more of the field devices 64 and 66 may include a memory (not shown) for storing routines such as routines for implementing statistical data collection pertaining to one or more process variables sensed by sensing device and/or routines for abnormal operation detection, which will be described below. Each of one or more of the field devices 64 and 66 may also include a processor (not shown) that executes routines such as routines for implementing statistical data collection and/or routines for abnormal operation detection. Statistical data collection and/or abnormal operation detection need not be implemented by software. Rather, one of ordinary skill in the art will recognize that such systems may be implemented by any combination of software, firmware, and/or hardware within one or more field devices and/or other devices.
As shown in
Generally speaking, the blocks 80 and 82 or sub-elements of these blocks, collect data, such a process variable data, within the device in which they are located and perform statistical processing or analysis on the data for any number of reasons. For example, the block 80, which is illustrated as being associated with a valve, may have a stuck valve detection routine which analyzes the valve process variable data to determine if the valve is in a stuck condition. In addition, the block 80 includes a set of four statistical process monitoring (SPM) blocks or units SPM1-SPM4 which may collect process variable or other data within the valve and perform one or more statistical calculations on the collected data to determine, for example, a mean, a median, a standard deviation, a root-mean-square (RMS), a rate of change, a minimum, a maximum, etc. of the collected data. The specific statistical data generated, nor the method in which it is generated is not critical. Thus, different types of statistical data can be generated in addition to, or instead of, the specific types described above. Additionally, a variety of techniques, including known techniques, can be used to generate such data. The term statistical process monitoring (SPM) block is used herein to describe functionality that performs statistical process monitoring on at least one process variable or other process parameter, and may be performed by any desired software, firmware or hardware within the device or even outside of a device for which data is collected. It will be understood that, because the SPMs are generally located in the devices where the device data is collected, the SPMs can acquire quantitatively more and qualitatively more accurate process variable data. As a result, the SPM blocks are generally capable of determining better statistical calculations with respect to the collected process variable data than a block located outside of the device in which the process variable data is collected.
It is to be understood that although the blocks 80 and 82 are shown to include SPM blocks in
It is to be understood that although the blocks 80 and 82 are shown to include SPM blocks in
The block 82 of
The model 112 includes inputs for receiving values of an independent variable x and a dependent variable y. The model 112 may be trained using a plurality of (x, y) data sets to model the dependent variable y as a function of the independent variable x. The model 112 may include a regression model. The regression model utilizes a function to model the dependent variable y as a function of the independent variable x over some range of x. The regression model may be a linear regression model, or some other regression model. A linear regression model may comprise a first order function of x (e.g., y=a0+a1x), a second order function of x (e.g., y=a0+a1x+a2x2), or a polynomial of some other order p (e.g., y=a0+a1x+a2x2+ . . . +apxp). Alternatively, an extensible regression model may be employed to model the dependent/(monitored) variable x as a function of the independent (load) variable y, or a hybrid autoscaling technique may be employed to create the model. A method of creating an extensible regression model is disclosed in U.S. patent application Ser. No. 11/492,497 filed Jul. 25, 2006 and titled Method and System for Detecting Abnormal Operation in a Process Plant. A hybrid autoscaling method of creating a regression model is disclosed in U.S. patent application Ser. No. 11/619,830 filed on Jan. 4, 2007 and titled Method and System for Modeling Behavior in a Process Plant. The entire disclosures of both of the above-identified U.S. patent applications are incorporated herein by reference.
After it has been trained, the model 112 may be used to generate a predicted value (yP) of a dependent variable y based on a given input value of the independent variable x. The predicted value of the dependent variable output yP is provided to a deviation detector 116. The deviation detector 116 receives the predicted value of the dependent variable yP as well as the actual value of the dependent variable y corresponding to the input value of the independent variable x. The deviation detector 116 compares the actual value of the dependent variable y to the predicted value of the dependent value yP to determine whether the value of the dependent variable y varies significantly from the predicted value of the dependent variable yP. If the value of the dependent variable y is significantly different from the predicted value of the dependent variable yP an abnormal situation may have occurred, is occurring, or may occur in the near future. In these circumstances the deviation detector 116 may generate a deviation indicator indicating the presence of an abnormal situation. In some implementations the indicator may comprise an alert or alarm.
The abnormal situation prevention system 100 could be implemented wholly or partially in a field device. As just one example, the SPM blocks 104 and 108 could be implemented in a field device 66 and the model 112 and/or the deviation detector 116 could be implemented in the controller 60 or some other device. In one particular implementation, the abnormal situation prevention system 100 could be implemented as a function block, such as a function block to be used in a system that implements the fieldbus protocol. Such a function block may or may not include the SPM blocks 104 and 108. In another implementation, at least some of the blocks 104, 108, 112, and 116 may be implemented as a function block.
As described above, many abnormal situation prevention algorithms rely on a linear regression to model a monitored variable as a function of a corresponding load variable. The regression model is calculated from a set of training data containing a number of corresponding samples of the load and monitored variables measured from the controlled process. The regression model comprises a function or curve that best fits the data in the training set. The regression model may comprise a polynomial function of a specified order p. In general, the higher the order of polynomial function, the better the regression model will fit the training data. With higher order polynomial regressions, however, rounding off errors may accumulate in the calculation of the polynomial coefficients to a point where the resulting regression curve bears little or no resemblance to the actual data in the training set.
For example,
On the other hand,
Although it is visually apparent that the sixth order polynomial regression curve 128 of
The average value of a real continuous function f(x) over an interval [a, b] is the integral of the function over the interval divided by the range of the interval:
If the function is a polynomial of the form ƒ(x)=a0+abx=a2x2+ . . . apxp, and the range is the interval [xmin, xmax], then the average value of the function becomes:
which may be rewritten as:
The quantity (ap-bp) may be factored as follows:
Using the above factorization with a=xmax and b=xmin the formula for calculating the average value of the polynomial function from xmin to xmax becomes:
(The last substitution reduces the number of multiplications necessary to calculate the average of the polynomial function and may diminished the possibility of rounding off errors on some processing platforms.) In the context of an abnormal situation prevention system equation (5) can be used to calculate the average value of a polynomial regression model derived from a set of training data including a plurality of (x, y) data points.
Once the average value
ymin≦f≦ymax (6)
the model is valid.
The above method for determining whether a regression model is valid may be employed in an iterative manner until a valid regression model is obtained. The process may begin by calculating a polynomial regression model of the highest order pmax allowed by the abnormal situation prevention system. The above method is employed to determine whether the polynomial regression model is valid. If the model is valid it may be used to detect abnormal situations in the monitoring phase. If the model is invalid, the polynomial order may be reduced by one and a new polynomial regression model may be calculated from the training data. The new polynomial regression model may be tested as described above to determine whether the new polynomial regression is valid, and so forth. The process continues until valid polynomial regression model is achieved.
The above process for finding a valid polynomial regression model is illustrated in the flow chart 200 of
The process described above may be implemented on a number of different platforms. For example, the process may be implemented in a field device. In another embodiment, the process may be implemented in a Foundation™ fieldbus function or transducer block. Alternatively, the process could be implemented in a field device interface module such as the Rosemount 3420 provided by Emerson Process Management, in a control system such as DeltaV™ or Ovation™ both also provided by Emerson Process Management, or in a stand-alone software application. In all cases, the process may be implemented in order to recognize invalid regression models and recalculate the regression models to achieve a valid model that may be applied to abnormal situation prevention in a process plant.
Thus, while the present disclosure has been described with reference to specific examples, which are intended to be illustrative only and not to be limiting, 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 disclosure.