METHOD OF STATISTICAL ANALYSIS IN AN INTELLIGENT ELECTRONIC DEVICE

Abstract: A method of statistical analysis in an intelligent electronic device for data reduction and analysis is presented. The intelligent electronic device includes a microcontrol and associated memories. An algorithm (program) stored in memory of the intelligent electronic device processes real time data on measured and/or calculated electrical parameters using recognized statistical and/or numerical techniques. The algorithm will issue events and/or alarms when observed data is recognized to deviate in statistically significant amounts from statistical values. Allowing only valuable user information, as opposed to "raw" unprocessed and potentially insignificant data, to be sent across a limited capacity network for potential user intervention. Thereby saving network capacity and ensuring that a user is automatically notified of significant events requiring further analysis and/or intervention.

Description: METHOD OF STATISTICAL ANALYSIS IN AN INTELLIGENT ELECTRONIC DEVICE FIELD OF THE INVENTION This invention relates generally to intelligent electronic devices (IEDs), e. g., electronic trip units, protective relays, circuit breakers, energy meters, power quality meters, power monitors, power analyzers, motor control center controllers and relays, programmable logic controllers, programmable logic controller I/Os, and loop-controllers. More specifically, the present invention relates to a method of applying statistical analysis techniques in intelligent electronic devices for data reduction and analysis. BACKGROUND OF THE INVENTION Intelligent electronic devices, e. g., electronic trip units, protective relays, circuit breakers, energy meters, power quality meters, power monitors, power analyzers, meter control center controllers and relays, programmable logic controllers, programmable logic controller I/Os, and loop-controllers are well known. These devices store real time information within hundreds of registers on measured and/ or calculated parameters such as energy, temperature, power quality, electrical parameters, and device status. This information is often periodically communicated, by way of a network, to a centralized monitoring station or processor. However, this information is difficult to analyze due to the high volume of data. Also, if the sampling frequency for sending this data is not sufficiently high, i.e. finely granular, then there is a possibility of missing peak conditions. BRIEF SUMMARY OF THE INVENTION It is therefore seen to be desirable to apply statistical analysis techniques in an intelligent electronic device for data reduction and analysis. A method of statistical analysis in an intelligent electronic device utilizing a statistical analysis algorithm in the microcontrol of the intelligent electronic device is presented. An electronic trip unit is described herein by way of exemplary embodiment only, as the present invention applies to other intelligent electronic devices as well. The electronic trip unit comprising voltage and current sensors which provide analog signals indicative of the power line signals. The analog signals are converted by an A/D (analog/ digital) converter to digital signals which are processed by a microcontrol. The trip unit further includes RAM (random access memory), ROM (read only memory) and EEPROM (electronic erasable programmable read only memory) all of which communicate with the microcontrol. The ROM includes trip unit application code, e.g., main functionality firmware, including initializing parameters, and boot code. The application code includes code for the statistical analysis algorithm of the present invention. The EEPROM includes operational parameters, e.g., code for setting a user selectable number of standard deviations from a mean, for the application code. These parameters may be stored in the trip unit at the factory and are selected to meet customers? requirements, but can also be remotely downloaded. In an exemplary embodiment of the invention real time data of electrical parameters measured and/ or calculated by the intelligent electronic device is processed by a statistical analysis algorithm using recognized statistical and/ or numerical techniques. The algorithm issues events and/ or alarms when observed data is (value) recognized to deviate statistically significantly from an expected range, e.g., an observed value is N (preferably N=3) standard deviations greater or smaller than an expected mean value. In a preferred embodiment, the expected range is a designated number of standard deviations (preferably 3, but alternatively may be designated by a user) from the mean value. The statistical analysis algorithm is performed in the intelligent electronic device itself. Therefore the amount of data required to be transmitted from the intelligent electronic device to a central monitoring station is drastically reduced since only statistically significant deviations need to be communicated. It is significantly less difficult for a user (at a receiving computer) to analyze this information due to the lower volume of data. The means and standard deviations are calculated by the intelligent electronic device itself by analyzing parameters measured over time or user input. Furthermore, the statistical techniques algorithm makes possible more reliable and accurate detection of developing fault conditions. If the volume of data is not properly analyzed, then preventable fault conditions may be allowed to build up over time. Eventually these fault conditions may become sufficiently severe to cause a major fault event, e.g., a circuit breaker tripping. Once this happens, damage and costly delays to facility operations will have occurred. By reducing the amount of data to be analyzed, the algorithm enhances early detection of these developing fault conditions. In a large facility with hundreds of intelligent electronic devices, this represents a major benefit. BRIEF DESCRIPTION OF THE DRAWINGS Referring now to the drawing wherein the FIGURE is a schematic block diagram of an electronic trip unit. DETAILED DESCRIPTION OF THE INVENTION Referring to the FIGURE, a general schematic of an electronic trip unit of the present invention is generally shown at 30. It will be appreciated that the present invention is not limited to electronic trip units but is directed to intelligent electronic devices in general. Such intelligent electronic devices include protective relays, circuit breakers, energy meters, power quality meters, power monitors, power analyzers, MCC controllers and relays, programmable logic controllers, programmable logic controller I/Os, and loop-controllers. Trip unit 30 comprises voltage sensor 32 which provides analog signals indicative of voltage measurements on a signal line 34 and a current sensor 36 which provides analog signals indicative of current measurements on a signal line 38. The analog signals on lines 34 and 38 are presented to an A/D (analog/ digital) converter 40, which converts these analog signals to digital signals. The digital signals are transferred over a bus 42 to a microcontrol (signal processor) 44, such being commercially available from the Hitachi Electronics Components Group (Hitachi?s H8/300 family of microcontrols). Trip unit 30 further includes RAM (random access memory) 46, ROM (read only memory) 48 and EEPROM (electronic erasable programmable read only memory) 50 all of which communicate with the microcontrol 44 over a control bus 52. It will be appreciated that A/D converter 40, ROM 48, RAM 46, or any combination thereof may be internal to microcontrol 44, as is well known. EEPROM 50 is non-volatile so that system information and programming will not be lost during a power interruption or outage. Data, typically status of the circuit breaker, is displayed by a display 54 in response to display signals received from microcontrol 44 over control bus 52. An output control device 56, in response to control signals received from microcontrol 44 over control bus 52, controls a trip module 58 via a line 60. Calibration, testing, programming and other features are accomplished through a communications I/O port 62, which communicates with microcontrol 44 over control bus 52. A power supply 63 which is powered by the service electricity, provides appropriate power over a line 64 to the components of trip unit 30. ROM 48 includes trip unit application code, e.g., main functionality firmware, including initializing parameters, and boot code. The application code further includes code for the statistical analysis algorithm of the present invention. EEPROM 50 includes operational parameter code, e.g., code for setting a user selectable number of standard deviations from the mean. These parameters may be stored in the trip unit at the factory and are selected to meet customers? requirements, but can also be remotely downloaded as described hereinafter. The statistical analysis algorithm is run in real-time and is initiated preferably from the boot code at start up. The statistical analysis algorithm calculates running numerical estimates of a statistical mean and standard deviation of designated parameters (which may be designated by a user). By way of example, measured data such as current, voltage, temperature, or frequency may be utilized. Also by way of example, calculated data such as: energy (voltage x current x phase angle); differential temperatures between circuit breaker contacts and ambient temperature, or between circuit breaker contacts across the phases of a power line; per phase voltages and currents; and repair status of a large facility's intelligent electronic devices may be utilized. Real time measured and/ or calculated data is then be compared against the standard deviation. When the real time data is outside a statistically significant amount, e.g., a designated number of standard deviations (which may be input by a user) from the mean, a deviation event signal is generated to alert the user that a deviation event has occurred. In other words, the user is alerted that data (observed value) has a statistically significantly deviated amount from the expected range, e.g., the expected mean or nominal value. The deviation event signal may be communicated to a central monitoring station (not shown) via I/O port 62, or to display 54, or used to operate an alarm (not shown). Because the statistical analysis algorithm is performed in the intelligent electronic device itself, the amount of data required to be transmitted is drastically reduced since only significant deviations need to be communicated, i.e., valuable information as opposed to raw data is communicated. The unprocessed data may also be transmitted if so desired. In an exemplary embodiment of the invention, a parameter (or parameters) of an electrical signal is sequentially sampled to provide a plurality of signals indicative of the parameter. The signals are continuously stored in a set of cyclical buffers within the trip unit 30 used to calculate a running mean value M for the parameter tracked. The running mean value M is calculated using the formula M = -Y . where " 1=/ n is the number of stored signals, and Xi is the value of each signal stored. Once a running mean value is calculated, a variance Di is calculated for each value of using the formula D, = (x, - M) 2 . The set of Dj values are stored in a second set of cyclical buffers of the trip unit 30. Next a running standard deviation value S, as defined by the formula I iSs calculated from the set of stored D_ variances. As these calculations are processor intensive, standard statistical sampling strategies may be applied to obtain acceptable estimations of running mean and standard deviation values. Each sample Xi of each parameter tracked is then compared to the running standard deviation S. Samples falling outside of the designated number of standard deviations, e.g., typically the three sigma limits, are flagged as deviation events meriting further operator attention. Notification can occur by sending a deviation event signal (message) in several ways: (1) generating a deviation event message to be transmitted via a network connection to an attached computer (not shown) or other central monitoring device (not shown); (2) displaying a message on display 54 of the trip unit; or (3) closing a relay contact which in turn may be used to operate a horn, warning light or other alarm (not shown). All of the aforementioned limits or settings are preferably stored in EEPROM 50 and can be altered by downloading desired settings via communications I/O port 62. This would include remotely downloading such data when the unit is connected to a system computer (not shown), either directly, over telephone lines, or any other suitable connection. It may also be preferred that EEPROM 50 comprises a flash memory whereby such data is flashed, as is well known. The statistical analysis algorithm drastically reduces the amount of data required to be transmitted from the trip unit 30 to a central monitoring station (not shown) since only significant deviations need to be communicated. Also, it is significantly less difficult to analyze this information due to the lower volume of data. Furthermore, the statistical techniques algorithm makes possible the more reliable and accurate detection of developing fault conditions before they become sufficiently severe to cause facility downtime, e.g., a circuit breaker tripping. This represents a major benefit for a large facility with many hundreds of intelligent electronic devices to monitor. While preferred embodiments have been shown and described, various modifications and substitutions may be made thereto without departing from the spirit and scope of the invention. Accordingly it is to be understood that the present invention has been described by way of illustrations and not limitation.

Claims: What is claimed is: 1. A method of statistical analysis in an intelligent electronic device, comprising: sensing an electrical signal to provide a plurality of sensed signals indicative of a plurality of values of a parameter of said electrical signal; determining a statistical value for said parameter from at least two of said sensed signals; and comparing one of said sensed signals to said statistical value to generate a deviation event signal when said value of said one of said sensed signals deviates from said statistical value by a statistically significant amount. 2. The method of CLAIM 1 wherein said statistical value comprises a mean value; and said determining said statistical value comprises calculating said mean value from the following expression, 1 " M n t— 1 i=l where, M is said mean value, n is a number of said at least two said sensed signals, and Xi is said value of each of said at least two said sensed signals. 3. The method of CLAIM 2 further comprising: determining said statistically significant amount from said mean value, said determining said statistically significant amount includes calculating a plurality of variance values from the following expression, Di = (X, - M) 2 , where Di is each said variance value for each said value Xi. 4. The method of CLAIM 3 wherein said determining said statistically significant amount further includes: calculating a standard deviation value from the following expression, where S is said standard deviation value. 5. The method of CLAIM 4 wherein said statistically significant amount comprises a designated number of said standard deviation values. 6. The method of CLAIM 1 wherein said determining said statistical value comprises statistical sampling. 7. The method of CLAIM 1 further comprising: storing said plurality of sensed signals in a first memory of said intelligent electronic device. 8. The method of CLAIM 3 further comprising storing said plurality of variance values in a second memory of said intelligent electronic device. 9. The method of CLAIM 1 wherein said parameter comprises a measured parameter or a calculated parameter. 10. The method of CLAIM 9 wherein said measured parameter further comprises temperature, current, voltage or frequency. 11. The method of CLAIM 9 wherein said calculated parameter further comprises energy, differential temperature, repair status, per phase voltage or per phase current. 12. The method of CLAIM 7 wherein said first memory further comprises a first set of cyclical buffers. 13. The method of CLAIM 8 wherein said second memory further comprises a second set of cyclical buffers. 14. The method of CLAIM 1 further comprising: communicating said deviation event signal to a central monitoring station. 15. An intelligent electronic device comprising: a sensor for sensing an electrical signal to provide a plurality of sensed signals indicative of a plurality of values of a parameter of said electrical signal; and a signal processor responsive to said plurality of sensed signals, and having memory for storing signals including program signals defining an executable program for, determining a statistical value for said parameter from at least two of said sensed signals, and comparing one of said sensed signals to said statistical value to generate a deviation event signal when said value of said one of said sensed signals deviates from said statistical value by a statistically significant amount. 16. The intelligent electronic device of CLAIM 15 wherein: said statistical value comprises a mean value; and said determining said statistical value comprises calculating said mean value from the following expression, M -Y ι=l, x " where, M is said mean value, n is a number of said at least two said sensed signals, and Xi is said value of each of said at least two said sensed signals. 17. The intelligent electronic device of CLAIM 16 wherein: said program signals further define said executable algorithm for determining said statistically significant amount from said mean value, wherein said determining said statistically significant amount includes calculating a plurality of variance values from the following expression, D, = (x, - M) 2 , where Di is each said variance value for each said value X- 18. The intelligent electronic device of CLAIM 17 wherein: said determining said statistically significant amount further includes calculating a standard deviation value from the following expression, where S is said standard deviation value. 19. The intelligent electronic device of CLAIM 18 wherein said statistically significant amount comprises a designated number of said standard deviation values. 20. The intelligent electronic device of CLAIM 15 wherein said determining said statistical value comprises statistical sampling. 21. The intelligent electronic device of CLAIM 15 wherein: said program signals further define said executable algorithm for storing said plurality of sensed signals in a first memory of said intelligent electronic device. 22. The intelligent electronic device of CLAIM 17 wherein: said program signals further define said executable algorithm for storing said plurality of variance values in a second memory of said intelligent electronic device. 23. The intelligent electronic device of CLAIM 15 wherein said parameter comprises a measured parameter or a calculated parameter. 24. The intelligent electronic device of CLAIM 23 wherein said measured parameter further comprises temperature, current, voltage or frequency. 25. The intelligent electromc device of CLAIM 23 wherein said calculated parameter further comprises energy, differential temperature, repair status, per phase voltage or per phase current. 26. The intelligent electronic device of CLAIM 21 wherein said first memory further comprises a first set of cyclical buffers. 27. The intelligent electronic device of CLAIM 22 wherein said second memory further comprises a second set of cyclical buffers. 28. The intelligent electronic device of CLAIM 15 further comprising: a communication port for communicating said deviation event signal to a central monitoring station

Inventors: ANDERSEN BO L, ANDERSEN, BO, L.
Applicants: GEN ELECTRIC, GENERAL ELECTRIC COMPANY
Application year: 1999
Main classification: G06F17
IPC codes: G06F9, G06F17, H02H3