EVENT DETECTION SYSTEM AND METHOD

Abstract: A method and system are disclosed for detecting an occurrence of an event in a target system having at least one operational variable that provides an indication of one or more conditions of the target system which change in response to the event. The method comprises the steps of: (a) periodically calculating short and long term averages of sequentially recorded values of the operational variable, the long term average including values in addition to those included in the short term average; (b) calculating the difference between the short and long term averages; and (c) determining the occurrence of an event based upon the difference by performing a statistical evaluation selected from the group consisting of determining the significance of the difference, monitoring a particular pattern of differences, monitoring change in the differences, and combinations of two or more thereof.

Description: EVENT DETECTION SYSTEM AND METHOD BACKGROUND or THE INVENTION _L_ Field of the Invention This invention relates broadly to monitoring systems. More specifically, this invention relates to a system and method for monitoring a dynamic system, such as a boiler or heat exchanger, which tends to undergo operational fluctuations, and for detecting quickly and accurately the occurrence of an event, such as a leak or lost efficiency, which may otherwise be masked or falsely implied by the operational fluctuations. 2_, Background The early detection of an event such as a leak or malfunction can be critical in many applications. As used herein, the term "event" broadly refers to an occurrence which impacts the normal operational of a particular system, and which, in many cases, tends to grow worse or more intense if left unattended. For example, in the case of black liquor recovery boilers used in the paper industry, detecting a leak in the boiler tubes early often is the difference between a controlled shut down and a catastrophic explosion. Such explosions not only result in the destruction of the boiler, but also frequently in severe injury and death. Detecting the occurrence of a real and significant event in a system, particularly a complex system like a black liquor recovery boiler, poses a challenging task. Often such systems have many variables and their operation is subject to considerable, yet normal, changes and fluctuations. These normal operational changes and fluctuations tend to mask events or create the false appear of one. Therefore, a monitoring system for detecting the occurrence of an event must be able to filter out these normal fluctuations, but nevertheless remain sensitive enough to provide an early indication of an event. In the case of recovery boilers, methods to detect water leaks have been proposed and tested by researchers for several years. Most leak detection schemes monitor the total airborne or structural acoustic energy levels within the boiler to determine if a leak is present. Such acoustic leak detection strategies, however, face significant limitations. These limitations include the interference presented by high background noise levels, the attenuation of acoustic energy occurring within the boiler, and the limited durability of acoustic sensors in the harsh environment of the boiler. A more recent improvement of acoustic leak detection systems, developed by estvaco Corporation, utilizes spectral analysis techniques (TAPPI Journal (July 1990)). While the Westvaco system appears to be an improvement over previous acoustic leak detection systems, it still, to some extent, is subject to the above-identified disadvantages of acoustic leak detection technology. Moreover, spectral-analysis, acoustic leak detection systems tend to be expensive to purchase, implement and maintain. A difference approach to leak detection system, which was introduced by the Applicant in U.S. Patent 5,363,693, detects a leak by striking a mass balance around the recovery boiler. By measuring the fluid flowing in to and out of the recovery boiler system, fluid leakage loss based on the difference between the input and output can be calculated. If the difference is determined to be significant, a leak is indicated. Although this leak detection system represents a marked improvement over existing acoustic methods, an on-going need exists to improve the sensitivity and reliability of a leak detection system. Moreover, the Applicant perceives a general need for a system that can quickly and accurately detect an occurrence of an event or significant change in all types of dynamic systems which undergo normal fluctuations. The present invention fulfills these needs among others. SUMMARY OF THE INVENTION The present invention provides for the early and accurate detection of an event or significant change in a target system by monitoring and statically evaluating at least one operational variable of the target system. The operational variable may be related to mass, volume, energy, momentum, time, money, quality, or any other quantitative measurement or calculation that provides an indication of one or more conditions of the target system which change in response to the event. The operational variable is evaluated by periodically averaging its values over relatively short and long terms. By comparing the long and short term averages using convenient, readily-implemented statistical techniques, the occurrence of an event can be determined with a high degree of confidence despite the target system's normal fluctuations. One aspect of the present invention is a method for detecting an occurrence of an event in a target system. In a preferred embodiment, the method comprises the steps of: (a) calculating short and long term averages of sequentially recorded values of an operational variable wherein the long term average includes at least one values in addition to those included in the short term average; (b) calculating a difference, Δ, between the short and long term averages; and (c) statistically evaluating whether Δ is significant and indicative of an event occurrence. In one embodiment, the statistical evaluation of step (c) comprises an analysis of Δ to determine its significance given the number of values considered in the averages and the variation between the values. The reliability of the indication is increased by repeatedly calculating whether a significant Δ exists. As the number of sequential significant Δs increases, so does the certainty that an event has occurred. A preferred technique for determining the significance of Δ comprises calculating t test . This calculation provides an important correlation between the sampling size and the certainty that a Δ is real as opposed to just a random anomaly or "noise." In another embodiment, the statistical evaluation of step (c) comprises an analysis of the change in Δ over time. By analyzing the dynamics of Δ, a trend indicative of the event can be determined well before the event's full effect is realized by static measurements. In other words, the present invention anticipates an event based upon the trend of Δs, rather than waiting until Δ reaches a predetermined limit. This approach not only shortens the time in which an event can be determined over prior art methods, but also improves the accuracy of such determinations and reduces the occurrence of false positive alarms. The dynamic analysis mentioned above may be performed by repeating steps (a) and (b) at least once, wherein the short and long term averages include at least one value more recent than any values considered in a previously calculated short and long term average, and then calculating the change in Δ over the change in sequence of the recorded values. If the change in Δ exceeds a predetermined value, then the occurrence of an event is likely. Another aspect of the present invention is a system for detecting an occurrence of an event in a target system. In a preferred embodiment, the system comprises a central processing unit (CPU) , user interface means operatively connected to the CPU for inputing the target system's operational variable (s) and for outputing an indication of an occurrence of an event, and memory which contains a program of instructional means for the system to perform the above- mentioned process. The system may also comprise measurement means for measuring the target system's inputs and outputs. Still another aspect of the present invention is a computer readable medium, such as a floppy disk or CD ROM. The computer readable medium contains a program of instructional means for the above-mentioned system to perform the above-mentioned process. In accordance with the present invention, the method and system provided enable a user to monitor a dynamic system which tends to undergo operational fluctuations, and to detect quickly and accurately the occurrence of a significant event which may otherwise be masked or falsely implied by the operational fluctuations. Applications for the present invention are widespread and include, for example, monitoring a mass balance around a boiler to detect a leak; monitoring the heat transfer of a heat exchanger to detect excess scale build up; monitoring a motor's power consumption to detect bearing failure; monitoring overtime to detect an under-staffing condition; monitoring service calls to detect a defective product; and monitoring quality on an assembly line to detect low moral. Indeed, the present invention can be applied to any target system or situation having at least one operation variable that changes in response to an event. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart depicting a preferred process embodiment of the invention; FIG. 2 is a schematic diagram of a preferred system embodiment of the invention; FIG. 3 is a schematic diagram of a preferred embodiment of the system applied to a chemical recovery boiler; FIG. 4 is a chart showing drum balances over time in relation to various time frames; FIG. 5 is a flow chart of a preferred process embodiment of the invention in which a pattern of significant Δs are monitored; and FIG. 6 is a chart of values of system balances as a function of sequential recordings. DETAILED DESCRIPTION OF THE PRESENT INVENTION The present invention provides a system and method for quickly and accurately detecting the occurrence of an event in a target system. The present invention may be practiced on any target system having one or more operational variables that change in response to an event occurring in or around the target system. Suitable target systems include, for example, apparatus such as boilers, heat exchangers, or reactors; combinations of components such as electrical distribution systems, fresh water cooling systems, or assembly lines; and even personnel such as a sales department, clerical staff, or city population. A process embodiment of the invention is depicted in Fig. 1 as a flow chart. Referring to that figure, in Block 101, operational variable values are periodically measured or calculated and recorded sequentially. Block 102 then calculates and records short and long term averages for these values. The short and long term averages are moving averages of the operational variable values, and are typically recalculated once a new operational variable value is recorded. The short term average is based upon a sampling size which is a fraction of the sampling size used for the long term average. In Block 103, the difference between each corresponding set of short and long term averages, herein "Δ", is determined. In a preferred embodiment, Block 104 determines if Δ is over a predetermined limit. This step avoids unnecessary statistical evaluation in Block 105 if Δ is insignificant. If Δ does exceed a predetermined limit or if the optional Block 104 is not employed, then the process proceeds to Block 105 where the short and long term averages are evaluated using statistical techniques to determine whether Δ is real and significant and, therefore, indicative of an event. The statistical evaluation techniques used in this process represent an important aspect of the invention and are considered in more detail below. After evaluation, if Δ is determined not to be significant in Block 106, the interrogation of a particular Δ ends. If Δ is significant, then Block 107 indicates the probable occurrence of an event. A system embodiment of the invention is depicted schematically in Fig. 2. As shown, a system 200 comprises a central processing unit (CPU) 201 which may be a discrete processor, or a combination of processors, configured in a personal computer, controller, work station, main frame or the like. Such CPUs are known in the art. Operatively connected to the CPU 201 is a user interface 202. The user interface may contain input means, such as a mouse or keyboard, which enables the user to input information into the system 200. It may also include output means, such as a display monitor, printer or audio alarm mechanism, which provides the user with an indication of the system's output. The system 200 may also comprise measurement means 205 operatively connected to the CPU 200. The measurement means 205 measures one or more operational variables of a target system 150. In the embodiment depicted in Fig. 2., the target system 150 has an input 151, an output 152, and a potential event 153 (phantom line) which may be an unaccounted for leak, waste, or inefficiency. It should be noted that measurement of an operation variable may be performed by equipment outside the system of the present invention and provided to the CPU 201 by means known in the art. Also operatively connected to the CPU 201 is memory 204 which contains a program of instructional means for the system 200 to perform the process of the present invention as described above. Memory 204 can be any known memory medium such as RAM or PROM. The program of instructional means may be integral to the system of the present invention or a discrete aspect of the present invention. The program may be adapted to function on known operating platforms and is anticipated to be compatible with emerging operating platforms as well. The program may be stored on any computer readable medium such as a disk, tape, CD ROM, RAM or PROM. A particular embodiment of the system of the present invention as applied to a chemical recovery boiler is shown in Fig. 3. Referring to that figure, a system 310 for detecting leakage from a chemical recovery boiler system 312 of the type which includes a recovery boiler drum 314 and associated steam output piping 316 is shown. Recovery boiler system 312 typically includes a feed water line 318 for supplying water to the recovery boiler drum 314 and an outlet line 320 for "blow-down" flow. Boiler system 312 further includes steam output piping 316, which typically leads to a turbine for electricity generation. An inflow line 322 for introducing attemperator fluid, usually water, into the steam piping 316 is also illustrated in FIG. 3. The purpose of the attemperator fluid is to cool down steam which has been heated beyond a predetermined level. Primary and secondary superheaters 324, 326 may also be positioned in the steam output line 316. The system 310 according to the preferred embodiment of the invention includes a first monitor 328 that interposed within the feed water line 318 for measuring the mass flow of feed water into the recovery boiler drum 314. A second monitor 330 is interposed in the blowdown output line 320 for measuring the mass flow of blow-down which may be expelled from the recovery boiler drum 314. A third monitor 332 is interposed in the attemperator fluid inflow line 322 for measuring the mass flow of attemperator fluid into the steam output piping 316. A fourth monitor 334 is provided in the outflow portion of steam piping 316 for measuring the mass output from the steam piping 316. A fifth monitor 343 is operatively connected to the boiler drum 314 for measuring the level of fluid in the drum, herein referred to as the "drum level". The monitors 328, 330, 332, 334, and 343 are all preferably electronic in nature, and all are constructed and arranged to report electronically to a controller 336, as is schematically depicted in FIG. 3. The process of the present invention is addressed below in greater detail and in regard to a specific target system, namely, the chemical recovery boiler as described above. It should be understood, however, that the process may be applied to any target system having one or more operational variables that change upon the occurrence of an event. Recordation of Operational Variable Values The first step involves sequentially recording values of one or more operational variables of the system. As mentioned above, the operational variable may be related to mass, volume, energy, momentum, time, money, quality, or any other quantitative measurement or calculation that provides an indication of one or more conditions of the target system which change in response to the event. In a preferred embodiment, the operational variable relates to a system balance which may be calculated by equating inputs to outputs. For example, the input may be raw materials, energy, water, steam, etc, and the output may be a finished product, steam, energy, etc. In a simple target system, there is a one to one correspondence between input operational variables and output operational variables, meaning units going in directly correspond to unit going out, e.g., gallons of water in/gallons of water out. In a more complicated target system, the input and output must be equated. For example, an input of a certain amount of water and energy corresponds to an output of steam at a certain pressure and temperature. Equating such inputs and outputs is known in the art. Referring to Fig. 3, during operation of the recovery boiler system 312, the monitors 328, 330, 332, 334 report continuously to controller 336, which samples such data periodically, preferably about every second. From this data, controller 36 calculates a system balance, which in this case is the drum balance (DB) expressed in units of mass per unit time. This calculation, depicted as Block 101 in the flow chart illustrated in FIG. 1, may be expressed as follows: DB = Feed Wa ter Fl ow + At tempera tor Fl ow - « . _. . . S ^^ t.eam Fτ-.lιow + Br,lτow Drown Fr,lιow) Eq^uation (*1)' According to a preferred embodiment of the invention, the accuracy of detecting a significant change in a system balance can be improved by compensating for normal fluctuations within the system. To this end, a relationship is struck between the system balance and one or more operational variables that impact it. The correlation between the operational variable (s) and the system balance can be used to generate a correction or compensation factor that can be applied to the system balance to correct expected fluctuations. For example, in a chemical recovery boiler, the drum balance calculation is improved by compensating for the swelling and shrinking of the boiler drum 14 caused by pressure changes in the system 10 and other factors. The swelling and shrinking of the boiler drum can conceal or suggest a leak erroneously. That is, when a boiler swells, its volume increases and retains more fluid. This gives the indication that the amount of fluid entering the boiler is less than the fluid exiting, which therefore suggests a leak. Conversely, when the boiler shrinks, its capacity is diminished. This results in increased fluid relative to the boiler system. If a leak exists, the increased fluid may serve to mask it since the fluid output may not change or may even increase vis a vis the fluid input. Therefore, a more accurate drum balance can be calculated by compensating for boiler shrinking/swelling. To this end, the present invention draws a relationship between drum balance and drum level. It has been found that drum level provides a simple and accurate correlation to drum balance (although other variables such as system pressure and temperature can be used individually or in combination to provide an indication of drum balance) . Theoretically, the drum level and drum balance should be mirror images of one another—as the drum balance increases and decreases, drum level should drop and rise respectively. Based on this relationship, the controller 334 receives a signal from monitor 343 and calculates a compensated drum balance (DB C ) using the following equation: DB C = DB - DB p Equation (2) wherein DB is calculated according to Equation (1) , and DB P is the compensation factor based on drum level. The compensation factor has the following correlation equation: DB p = a + DL * b Equation (3) wherein a is a moving intercept, b is a moving slope for a particular set of data, and DL is the drum level. In one embodiment, the correlation equation is generated using neural network logic. Neural systems are known in the art and can train themselves to predict process behavior using on-line data. Using neural lines correlation techniques therefore enables the compensation factor to be updated periodically, for example, every second, to account for fluctuations caused by boiler swelling and shrinking in the drum balance, thereby minimizing erroneous measurements. Although neural networks provide a powerful tool to predict output, it should be understood that other conventional correlation techniques can be used. Moreover, it is anticipated that future correlation techniques used to predict one variable based on another variable, or a group of variables, will find application in this leak detection system. Calculation of Short and Lonσ Term Averages The present invention uses a comparison of long term sampling and short term sampling in its statistical evaluation of one or more operational variables. More specifically, a long term moving average of a operational variable is calculated over a particular time frame or "window." The window contains a particular sampling size of sequentially recorded values of an operational variable. The sampling of data in this window changes as new operational variable values are recorded. These new values enter the window while older values leave. A short term moving average of the operational variable is calculated over just a portion of this window. Averaging data is well known in the art and any known technique may be practiced within the scope of this invention. In the chemical recovery boiler, for example, controller 336 uses long term sampling and short term sampling in its statistical analysis of the data received from the monitors 328, 330, 332, 334. As represented below in equation (4) and (5) , controller 336 calculates short term and long term drum balance averages ~ DB ~ and ~ DB ~ periodically, for each data sampling, wherein Ts represents current time in seconds, N, represents the number of samples included in the short term average, and N 2 refers to the number of samples included in the long term average: N, Σ DB ( i ) i - T - N Equation (4) DB χ = N, N, Σ DB { i ) i = T - N Equation ( 5 ) DB 2 -- N 2. Rather than relying on a single window, a preferred embodiment of the present invention uses a plurality of windows of varying duration or sampling size. Each window corresponds to a pair (herein "window pair") of short and long term averages. Multiple window pairs allow the system and method of the present invention to strike a balance between responsiveness and accuracy. A window pair taken over a relatively short time frame allows for a relatively quick indication of a leak. However, the risk of a false alarm is greater due to the relatively small data sampling failing to transcend an otherwise benign system fluctuation. On the other hand, a longer time frame involves a greater sampling size and tends to reduce the effects of transient fluctuations. The cost of such accuracy, however, is decreased response time. Therefore, the present invention provides for a variety of time frames to satisfy response time and accuracy needs. An example of a multiple window pair system for a recovery boiler system is shown in Fig. 4. That figure depicts drum balance data over time in relation to a leak detection system having three independent window pairs—a first pair 401, a second pair 402, and a third pair 403. The right side of the chart indicates time zero or present time, and towards the left side of the chart, the drum balance data becomes more dated. It should be apparent from the depiction of Fig. 4 that with every update, new drum balance datum enters the window pairs simultaneously from the right, while various older drum balance data exit the window pairs to their left. The duration that a particular drum balance datum remains in a window pair depends entirely on the window size. The first window pair 401 corresponds to a short term average drum balance that extends back in time for a short term 404. The short term average drum balance of the second window pair 402 extends back in time for a short term 405 which is longer than the short term 404. Likewise, the third window pair 403 corresponds to a short term average drum balance that extends back in time for a short term 406 which is longer yet than that the short term 405. The long term average drum balances corresponding to the first 401, second 402, and third 403 window pairs extend back for long terms 407, 408, and 409 respectively. The short term over which a particular short term average is calculated, or, in other words, the number of data considered, preferably relates to the cyclic tendency of the system being monitored. Due to various operating conditions, for example, pumps turning on/off and changing steam demands, a given operational variable tends to cycle. It is therefore preferred that the short term averages be taken over a period corresponding to a portion of the cycle that roughly provides a range of operational variable value magnitudes expected to occur in a typical cycle, for example, a quarter cycle. In this way, the short term average includes both cyclic highs and lows, and consequently, tends to avoid false leak indications caused by ordinary cycling. The cycle can be determined either by examining the system data over time or, preferably, by calculating it online in the system CPU using contemporaneous recorded data. The latter can be undertaken using known correlation or curve fitting software. By having the operational variable cycle updated continuously in the CPU, the system can adjust the short term drum balance averages to cover relevant portions of the cycle as the cycle itself varies. The long term over which a particular long term average is taken depends in part upon the short term of its paired short term average. That is, the long term average should be long enough to transcend operational conditions affecting the short term average, but not so long as to average out all drum balance anomalies. As used in this disclosure, R refers to the ratio of N 2 divided by N 2 . It has been found that a preferred R or the ratio of N 2 to N α is about 8 : 1 to about 12:1, and, more preferably, about 10:1. Moreover, with particular regard to longer time frames, it may be beneficial to extend the long term average beyond a typical work shift. This way, operational differences between different shifts can be averaged out thereby reducing the likelihood of a false positive alarm signal. Referring back to Fig. 4, the first 401, second 402 and third 403 window pairs have short terms corresponding to approximately one quarter, one half and a full boiler cycle respectively. The long terms are approximately ten times as long. Thus, in a system with a drum balance cycle of approximately 40 minutes, controller 336 conducts short term averaging over 10, 20, and 40 minute terms for the first, second and third time frames respectively. The long term average drum balances would be calculated over approximately 100, 200, and 400 minute terms for the first, second, and third time frames respectively. It may be beneficial to extend the long term of the third time frame to approximately 600 minutes, or so, to span between multiple operation shifts. For the first window pair, Nj and N 2 would be 120 and 1200 respectively for sampling every 5 seconds. The numbers of drum balance data used in the second and third time frames would be calculated in a similar manner. Determination of Excessive Δ After calculating long and short term value averages of a operational variable, the CPU calculates the difference (herein "Δ") between them in Block 203 to determine the possibility of an event. If Δ does not exceed a maximum tolerable difference, Δ max , then the process waits until the long and short term averages are updated and recalculates Δ. If Δ max is exceeded, however, Δ may be indicative of an event, and the process proceeds to Block 205. Δ max may be determined empirically based upon the desired sensitivity of the system and method. It should be understood that although determining the significance of Δ before embarking on its statistical evaluation is preferable from the standpoint of conserving computer resources, it is not required. In the case of the recovery boiler, for example, controller 336 calculates Δ between the short and long term average drum balances ~ £)β ~ and Jji^ for each window pair for each sampling period using the following calculation: Δ = DB λ - DB 2 Equation (6) In Block 204, the controller 336 next compares Δ with a predetermined maximum limit Δ max as described above. A Δ in excess of Δ max may be indicative of a leak. Statistical Evaluation of Δ An essential aspect of the present invention is determining whether Δ is "real" and indicative of an event, such as a leak. To this end, the present invention employs a variety of statistical techniques, individually and in combination. These techniques include but are not limited to the following: a. Determining the significance of Δ, b. Monitoring a particular pattern of significant Δs, and c. Monitoring change in Δ. a. Determining the Significance of Δ One approach in evaluating Δ is to determine if it is significant given the variations in the sample data and the size of the sample. A preferred technique for determining this is calculating t test . Those skilled in the art of statistics will recognize that t test provides an important correlation between the sampling size and the certainty that a Δ is real as opposed to just a random anomaly or "noise." A flow chart of processes involving the calculation and use of t test is shown in Fig. 5. Determining t test requires calculating the pooled standard deviation of the long and short term averages in Block 501. Such a calculation is well known in the art. For example, the controller 336 may first calculate the standard deviations c , σ 2 for the short and long term samples of each window pair, respectively, using equations (7) and (8) : Equation (7) Equation (8) σ„ In Block 502, the controller 336 then calculates the pooled estimated standard deviation for the entire data set for each time frame 204 using the following equation: S = Equation (9) In Block 503, the significance of Δ for each time frame is determined using t test , which may be calculated in any manner known in the art. For example, the controller 336 may calculate t test using the following equation: Equation (10) In Block 504, the CPU determines whether t test exceeds a predetermined maximum, t max . If t max is exceeded, then Δ is considered to be significant at a corresponding confidence limit. In one embodiment of the invention, the controller 336 signals an alarm in Block 107 (Fig. 1) if the t max was exceeded. b. Monitoring a Pattern of Significant Δs To improve the accuracy of determining the occurrence of an event, significant Δs (as calculated by t test , for example) are monitored to determine if a predetermined limit is exceeded. This predetermined limit is user defined and may include a given number of significant Δs over a certain period, a particular pattern of significant Δs, or a predetermined succession of significant Δs. Of these, a predetermined limit of consecutive significant Δs is preferred. A succession of significant Δs in the average drum balances offers a higher degree of reliability that a leak actually exists than just one occurrence. By analogy, flipping a coin just once and having it land heads-up indicates very little about its tendency to be fair and land either heads-up or heads-down with equal probability. If, on the other hand, a coin is flipped repeatedly and continues to land heads-up, the likelihood that the coin is not fair increases exponentially as the succession of heads-up landings increases . By increasing the reliability of an alarm condition, the improved system offers two distinct advantages over the prior art. First, higher reliability equates to fewer false alarms. False alarms may not only precipitate a costly shut-down, but also "desensitize" the operators causing them to react indifferent to a real leak. Second, higher reliability allows for a more sensitive system. That is, since the chance of a false alarm is greatly diminished, the t max can be lower. It need not be maintained at a relatively high level to act filter for peak normal values. Referring back to Fig. 5, one preferred embodiment of the invention is shown for monitoring a pattern of significant Δs in a recovery boiler. If t tesl is not greater than t max in Block 504, then controller 336 resets the number or the indicator of consecutive significant Δs (n) to zero in Block 505, and waits to repeat the above-described calculations with respect to the data which is received from the sensors 328, 330, 332, and 334 in the next sampling period. On the other hand, if t test is greater than t max , controller 336 increases the number of significant Δs by one in Block 506, and then determines whether a predetermined succession of significant Δs has been reached in Block 507. If the number of significant Δs is reached, an alarm 338 is signaled in Block 207. c. Monitoring Change in Δ Another statistical techniques for determining the significance of Δ is evaluating the dynamics of Δ as new operational variable values are periodically recorded. An event, such as a leak, will produce a predictable Δ slope over time. By monitoring Δ slope, a highly reliable determination can be made as to the occurrence of an event. Figure 6 shows a graphical representation of recorded values of an operational variable, in this case a system balance 601, as a function of time or sequential recordations. The figure also shows short term average system balance 602, long term balance average system balance 603, and Δ 604 as system balance are periodically recorded. Although system balance is represented in Fig. 6 and the following equations, it should be noted that any operational variable may be similarly used. An event at the origin 605 causes the initial system balance SB 0 to increase sharply to SB L 606. As a result, the short term average begins to increase at a rate of SBp/Nx, where Nj is the number of system balances considered in the short term average . The short term average increases until reaching its maximum at a point equal to Nj after the event. The long term average increases at a lower rate of SB E /N 2 where N 2 is the number of system balances considered in the long term average . In similar fashion to the short term average, the long term average increases until reaching its maximum at a point equal to N 2 after the event. After such time, SBj is considered in all the system balances used in both the short and long term averages and Δ is minimized. The difference in the rate of increase between the short and long term averages produces a Δ with a characteristic slope. As a result of the event, Δ increases with a slope having the following equation: ^— ~ * SB E N 2 Equation (11) SLOPE Λ "thβorβticβJup N. The slope of Δ continues to increase according to Equation 11 for a period equal to Nj , at which point, Δ reaches its maximum value. Then, Δ begins a slow decrease with a slope having the following equation: N -N t * SB.. N. Equation (12) Slope ^theoretical down = • j — j 2 1 This slope lasts until reaching a steady state after a period equal to N 2 from the point of the event. The present invention recognizes the dynamic relationship between Δ and the occurrence of an event. Based on this relationship, a preferred embodiment of the present invention plots Δs as a function of the periodic calculation of system balances to provide an indication of an occurrence. Once Δ exceeds a predetermined limit as described in Block 106 above, the positive slope of Δs (herein "slope Δup ") is calculated. The calculation of slope Δup may be performed using any known slope calculation means. In one preferred embodiment, slope Δup is calculated in accordance with the follow formula: Δ. - Δ SJope Δ = J _ ° Equation (13) N . - N In this equation, N 0 represents a point in time or other sequential index identifying a corresponding recordation of an operational variable value just prior to the occurrence of an event. N 0 correlates to Δ 0 which represents the calculated difference between the short and the long term just prior to the occurrence of an event. In a preferred embodiment, N 0 and Δ 0 are the N and Δ values just prior to Δ exceeding Δ max . N x and Δj respectively represent the sequential index and Δ pertaining to a particular recorded value. Aside from Equation 13, other, conventional curve fitting software may be employed to determining Δ slope, such as least squares. The slope Δup is compared to a slope limit or slope Δupmax . If the value of the slope equals or exceeds slope Δup mdX , than the occurrence of an event is likely. Establishing slope Δup max is similar to establishing Δ max and may be done through empirical testing to determine the optimum value for sensitive yet reliable results. In a preferred embodiment, Δ max is substituted in Equation (11) and the resulting slope is slope Δup max . For example, if N : is 10, N 2 is 100 and Δ max is 5 gallons/minute, then slope Δup max would be (0.45 gallons/minute) / (change in N) . Therefore, in this example, if the slope equals or exceeds 0.45 gallons/minute) / (change in N) , then an event is likely to have occurred. After it is determined that slope Δup is equal to or exceeds slope Δupmax , optional, additional statistical evaluations may be performed to ensure accuracy and to avoid a false positive indication of an event. One such statistical evaluation involves, again, the use of t te3t . In this situation, t test may be determined using the following equation: Equation ( 14 ) wherein σ 3lope Δ represents the standard deviation for the Δs used in the calculation of slope Δ . If t test exceeds a predetermined value of t test , t max , then the certainty of an event is established at a particular confidence level. For example, a positive t teat of over 2.94 indicates an event with 99% probability. The probability increases as successive, new t test s that exceed t max are calculated (as described above) . Another approach to increase confidence that an event has occurred is to calculate successive values of slope Δ up s and determine if each successive value is equal to or exceeds slope Δmax . The probability of an event increases as the number of successive slope Δ up values that exceed slope Δ max increases. The optimum number of values considered for a particular confidence level can be determined by someone skilled in the art without undue experimentation. Yet another approach to increase confidence that an event has occurred is to calculate not only the slope Δ up but also slope Δ down . If the slope of Δs follows the theoretical down slope of Equation 12 after a period N^ following the excessive Δ, then the occurrence of an event is almost certain. The down slope of Δ may calculated in accordance with the follow formula: Sl ope down = Equation (15) The slope Δ down is compared to a down slope limit (herein "slope Δ down max ") . If the value of the slope equals or exceeds slope Δ down max , than the occurrence of an event is likely. Like slope max , slope down raax can be determined by empirical means or by substituting Δ max in Equation 12. For example, in the case where N a is 10, N 2 is 100 and Δ max is 5 gallons/minute, then slope Δ down max would be (0.1 gallons/minute) / (change in N) . Therefore, in this example, if the slope equals or exceeds - 0.1 gallons/minute) / (change in N) , then an event is likely to have occurred. The relationship of slope Δ down to slope Δ down raax is analogous to the relationship of slope Δ up to slope Δ up max in regard to the improving detection confidence levels. For example, t test may be calculated in accordance with Equation 14 modified for slope Δ down rather than slope Δ up . It should be understood that a preferred embodiment of the invention involves a combination of the aforementioned techniques for evaluating Δ. Indication of Event Once the Δ is determined to be real and indicative of an event, such as a leak, an indication or warning is given to the user via the user interface. The indication of an event can be audio, visual or both. Moreover, in an embodiment using multiple window pairs, a different alarm condition can be indicated for a particular window pair. The severity of the alarm can be tailored to the length of the window indicating an event—the longer the window, the more urgent the warning. Once a leak is detected, controller 336 (Fig. 3) in turn provides control signals to alarm 338 and, optionally, to a warning lamp 340. For shorter window pairs, the alarm indicate that a potential leak has been detected. This puts the operators on notice that a leak is likely, and affirmative action should be taken such as inspecting the boiler for confirmation. As the anomalous drum balance data subsequently affect the longer window pairs thereby triggering their alarms, the condition should be treated as much more serious. A long term alarm may require emergency action such as shutting off the feed water. In one embodiment of the invention, the leak detection system not only signals an alarm condition, but also takes action to avert a catastrophic failure. Referring back to Fig. 5, controller 336 calculates leakage rate Δ for the next data set in Block 610, and for subsequent data sets. At the end of such calculations, controller 336 will determine if the calculated leakage rate Δ has increased with respect to previous measurements in Block 611. If Δ has not increased, the process is repeated. If Δ does increase, controller 336 then determines if a predetermined minimum time T B has elapsed in Block 612. If time equal to T B has not elapsed, the sampling and calculation process is again repeated. If a period of time greater than T B has elapsed, controller 336 in Block 613 will activate shutoff valve 342 in feed water line 318, to cut off feed water to the recovery boiler 314, thereby shutting down the recovery boiler system 312 automatically. Thus, if the leakage rate continues to increase over a predetermined period of time without human intervention, system 310 act to automatically prevent a leak created explosion from taking place in the recovery boiler system 12. EXAMPLE This example illustrates the practice of the present invention on a target system having equatable input (s) and output (s) such that a system balance (SB) can be drawn around it. As shown in Table 1, theoretical inputs (in) and outputs (out) were entered sequentially at various intervals (N) . For simplicity, no units are assigned to the input and output. The output was subtracted from the input to calculate SB. Short and long term averages, SBj and SB 2 , respectively, were calculated based upon a short term sampling, N ! , of 5, and a long term sampling, N 2 , of 15. It should be noted that these samplings are typically longer, but were shorted herein to render the size of the example more manageable. At interval 16, an event occurs wherein the output drops sharply to only about one (1) causing SB to increase dramatically. Initially, this change is realized to a greater extent by SBj than by SB 2 due to the greater impact the change has in the smaller sampling of SB : . The difference in the averages is recorded as Δ. A preferred embodiment of the present invention determines whether Δ is excessive before statistically evaluating it. In this case, a Δ of greater than 5 is considered excessive and will trigger the statistical evaluation of Δ to determine the likelihood of an event. Δ exceeds this limit at interval 19. One approach to statistically evaluating Δ is to determine whether it is significant by calculating its t tθ3t . In a preferred embodiment, this is performed at interval 19 (excessive Δ) , however, if computational resources are not an issue, t tegt can be calculated for each Δ (as shown in Table 1) . Determining t test first requires calculating the standard deviation for the short and long term averages, σ, and σ 2 , respectively. A t test of 2.94 suggests a 99% likelihood that the event is real. Therefore, at interval 20, a determination is made that the occurrence of an event is extremely likely. Another approach to the statistically evaluation of Δ comprises monitoring successive, significant Δs. In intervals 21 through 26, successive, significant Δs are calculated. This virtually assures that an event has occurred. Yet another approach to evaluate Δ comprises monitoring the change in Δ. The change in Δ is calculated in terms of its slope using Equation (13) wherein Δ 0 is assumed to be 0 prior to the event occurring. In this example, N 0 is taken at N=15, just prior to the event's occurrence. The slope of Δ immediately increases to about 1.5 and remains for a period equal to the number of values considered in the short term average, in this case, 5. A slope of 1.5 exceeds a maximum slope of 2/3 which is calculated using Equation (11) and a Δ max of 5. The confidence level of an event detection can be increased by utilizing t test , one equation for which is shown in Equation 14. As indicated in intervals 18 through 20, extremely high t test s are calculated which virtually assures the probability of an event. TABLE 1 - STATISTICAL ANALYSIS OF EVENT IN TARGET SYSTEM C It is to be understood, however, that even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.

Claims: WHAT IS CLAIMED IS: 1. A method for detecting an occurrence of an event in a target system having at least one operational variable that provides an indication of one or more conditions of the target system which change in response to the event, said method comprising the steps of: (a) periodically calculating short and long term averages of sequentially recorded values of said operational variable, said long term average including at least one value in addition to those included in said short term average; (b) periodically calculating the difference between said short term average and said long term average; and (c) determining the occurrence of an event based upon said difference by performing a statistical evaluation selected from the group consisting of determining the significance of the difference, monitoring a particular pattern of differences, monitoring change in the differences, and combinations of two or more thereof. 2. A method for detecting an occurrence of an event in a target system based upon sequentially recorded values of at least one operational variable of said target system, said operation variable providing an indication of one or more conditions of the target system which change in response to the event, said method comprising the steps of: (a) calculating a pair of a short term average and a long term average of said values wherein said long term average includes at least one value in addition to those included in said short term average; (b) calculating the difference between said pair; (c) reiterating steps (a) and (b) at least once wherein each reiterated pair of short and long term averages includes at least one value that is more recent than any value included in a previously calculated pair of short and long term averages; and (d) calculating the change in the differences calculated in step (b) and indicating the occurrence of an event if said change is characteristic of an occurrence of an event . 3. The method of claim 2, wherein in step (d) , a slope is calculated, said slope being the change in the differences over the change in sequence of recorded values, and an event is indicated if said slope exceeds a predetermined limit. 4. The method of claim 3, wherein in step (d) an event is indicated when said slope of the differences, slope Δ/ exceeds slope Δ max having the following formula: N 2 -N χ * Δ SLOPE Λ max N ι wherein Δ max is a predetermined value representing the maximum tolerable difference between said long term and short term averages, N : represents the number of said values included in said short term average, and N ? refers to the number of said values included in said long term average. 5. The method of claim 4 wherein in step (d) an alarm condition is indicated when a t test value exceeds a predetermined value, said t test having the formula: wherein σ Δ is the standard deviation for the Δs used to calculate said slope Δ . 6. The method of claim 2, wherein in step (a) more than one pair of short and long term averages are calculated, each pair varying in the number of values included in at least the long term average. 7. The method of claim 6, wherein an indication of an event depends upon the number of values considered in the pair of short and long term averages used in determining the differential which indicates said event. 8. The method of claim 2, wherein said operational variable is a system balance. 9. The method of claim 8, wherein said target system is a boiler having equatable inputs and outputs such that a drum balance is determinable. 10. A method for detecting an occurrence of an event in a target system having at least one operational variable, said operation variable providing an indication of one or more conditions of the target system which change in response to the event, said method comprising the steps of: sequentially recording values of said operational variable; calculating a first short term average and a first long term average by averaging a certain number, Nj and N 2 respectively, of sequentially recorded values, said first short and long term averages including a common most recent first value; calculating at least a second short term average and a second long term average of 5 and N 2 sequentially recorded values respectively, said second short and long term averages including a common most recent second value, wherein said second value is more recent than said first value; calculating a first Δ between said first short and long term averages and a second Δ between said second short and long term averages; and determining the change in Δ between said first and second Δs and indicating an event if said change exceeds a predetermined limit. 11. The method of claim 10, said process further comprising: calculating at least a third short term average and at least a third long term average by averaging a certain number, N v and N ? . respectively, of sequentially recorded values, wherein said N and N 2 . are different from said ^ and N 2 respectively, said third short and long term averages including a common most recent third value; calculating at least a fourth short term average and a fourth long term average of N and N 2 . sequentially recorded values respectively, said second short and long term averages including a common most recent fourth value wherein said fourth value is more recent than said third value; calculating a third Δ between said third short and long term averages and a fourth Δ between said fourth short and long term averages; and determining the occurrence of an event by determining whether said third and fourth Δ have a slope over time exceeding a predetermined limit. 12. The method of claim 11, wherein a first indication is provided if said slope of said first and second Δ exceed said predetermined limit, and a second indication is provided if said slope of said third and fourth Δ exceed said predetermined limit. 13. A method for detecting an occurrence of an event in a target system based upon sequentially recorded values of at least one operational variable of said target system, said operation variable providing an indication of one or more conditions of the target system which change in response to the event, said method comprising the steps of: (a) calculating a pair of a short term average and a long term average of said values wherein said long term average includes values in addition to those included in said short term average; (b) calculating the difference between said pair; (c) determining if said difference is significant; (d) reiterating steps (a) , (b) , and (c) at least once wherein each reiterated pair of short and long term averages includes at least one value that is more recent than any value included in a previously calculated pair of short and long term averages; and (e) monitoring a pattern of significant differences calculated in step (c) and indicating an event if said pattern exceeds a predetermined limit. 14. The method of claim 13, wherein said predetermined limit is one. 15. The method of Claim 13, wherein said predetermined limit is at least two consecutive significant differences. 16. The method of claim 13, wherein in step (a) more than one pair of short and long term averages are calculated, each pair varying in the number of values included in at least the long term average. 17. A method for detecting leakage from a boiler system of the type which includes a boiler drum, said method comprising the steps of: (a) periodically measuring input to a boiler drum; (b) periodically measuring output from said boiler drum; (c) sequentially calculating and recording drum balances based upon steps (a) and (b) ; (d) compensating for boiler drum shrinking/swelling in step (c); (e) calculating a first short term average drum balance and a first long term average drum balance by averaging a certain number, Nj and N 2 respectively, of sequentially recorded drum balances, said first short and long term averages including a common most recent first drum balance; and (f) determining if said difference is significant. 18. The method of Claim 17, wherein compensation for boiler swelling/shrinking is performed by correlating drum balance to at least one other process variable. 19. The method of claim 18, wherein said other process variable is drum level. 20. The method of Claim 17, wherein a short term average drum balance is taken over a duration corresponding to a portion of a drum balance cycle which approximately includes a range of drum balance magnitudes representative of a typical drum balance cycle. 21. The method of Claim 20, wherein said drum balance cycle is determined by periodically calculating drum balances, and wherein a short term average drum balance is adjusted periodically according to said drum balance cycle. 22. The method of Claim 17, wherein the ratio of data of a long term average drum balance to a short term average drum balance is about 8 : 1 to about 12:1. 23. The method of claim 17, further comprising: (g) calculating at least a second short term average and a second long term average of Nj and N 2 sequentially recorded values respectively, said second short and long term averages including a common most recent second value, wherein said second value is more recent than said first value; (h) calculating a second difference between said second short and long term averages; (i) determining if said second difference is significant; (j) monitoring the pattern of significant differences calculated in steps (f) and (i) and indicating an event if said pattern exceeds a predetermined limit. 24. The method of claim 17, further comprising: (g) reiterating steps (d) through (f) for a different first short term average and a difference first long term average by averaging a certain number, N v and N 2 . respectively, of sequentially recorded values, wherein said N and N 2 . are different from said N α and N 2 respectively. 25. The method of claim 24, further comprising: (h) reiterating steps (d) through (f) for a different first short term average and a difference first long term average by averaging a certain number, N v . and N 2 .. respectively, of sequentially recorded values, wherein said ι>. and N 2 .. are different from said N^ and N 2 , and said N : . and N 2 . respectively. 26. A system for detecting an occurrence of an event in a target system having at least one operational variable that provides an indication of one or more conditions of the target system which change in response to the event, said system comprising: (a) means for periodically calculating short and long term averages of sequentially recorded values of said operational variable, said long term average including at least one value in addition to those included in said short term average; (b) means for periodically calculating the difference between said short term average and said long term average; and (c) means for determining the occurrence of an event based upon said difference by performing a statistical evaluation selected from the group consisting of determining the significance of the difference, monitoring a particular pattern of differences, monitoring change in the differences, and combinations of two or more thereof. 27. A computer readable medium having instructional means for instructing a system to perform a method of detecting an occurrence of an event in a target system having at least one operational variable that provides an indication of one or more conditions of the target system which change in response to the event, said method comprising: (a) periodically calculating short and long term averages of sequentially recorded values of said operational variable, said long term average including at least one value in addition to those included in said short term average; (b) periodically calculating the difference between said short term average and said long term average; and (c) determining the occurrence of an event based upon said difference by performing a statistical evaluation selected from the group consisting of determining the significance of the difference, monitoring a particular pattern of differences, monitoring change in the differences, and combinations of two or more thereof.

Inventors: NEVRUZ ALBERT A, SHUMAN LYSETTE H, THOMASSON FRED Y, NEVRUZ, ALBERT, A., SHUMAN, LYSETTE, H., THOMASSON, FRED, Y.
Applicants: NEVRUZ ALBERT A, SHUMAN LYSETTE H, THOMASSON FRED Y, UNION CAMP PATENT HOLDING, NEVRUZ, ALBERT, A., SHUMAN, LYSETTE, H., THOMASSON, FRED, Y., UNION CAMP PATENT HOLDING, INC.
Application year: 1997
Main classification: G01M3
IPC codes: F22B37, G01M3