# Patent

## Title
Intelligent electronic device with enhanced power quality monitoring and  communication capabilities

## Abstract

An intelligent electronic device (IED) has enhanced power quality and communications capabilities. The power meter can perform energy analysis by waveform capture, detect transient on the front end voltage input channels and provide revenue measurements. The power meter splits and distributes the front end input channels into separate circuits for scaling and processing by dedicated processors for specific applications by the power meter. Front end voltage input channels are split and distributed into separate circuits for transient detection, waveform capture analysis and revenue measurement, respectively. Front end current channels are split and distributed into separate circuits for waveform capture analysis and revenue measurement, respectively.

## Background
PRIORITY
This application is a continuation application of U.S. patent application Ser. No. 12/080,479, filed Apr. 3, 2008, now U.S. Pat. No. 8,160,824, which is a continuation-in-part application of U.S. patent application Ser. No. 12/036,356 filed on Feb. 25, 2008, now U.S. Pat. No. 7,899,630, which is a continuation application of U.S. patent application Ser. No. 11/341,802 filed on Jan. 27, 2006 entitled “METERING DEVICE WITH CONTROL FUNCTIONALITY AND METHOD THEREOF”, now U.S. Pat. No. 7,337,081, which claims priority to expired U.S. Provisional Patent Application Ser. No. 60/647,669 filed on Jan. 27, 2005, the contents of which are hereby incorporated by reference in their entireties.
This application also claims priority to expired U.S. Provisional Patent Application Ser. No. 60/921,651 “INTELLIGENT ELECTRONIC DEVICE WITH ENHANCED POWER QUALITY MONITORING AND COMMUNICATIONS CAPABILITIES” filed in the United States Patent and Trademark Office on Apr. 3, 2007, and expired U.S. Provisional Patent Application Ser. No. 60/921,659 entitled “HIGH SPEED DIGITAL TRANSIENT TRIGGERING AND CAPTURE SYSTEM AND METHOD FOR USE IN AN INTELLIGENT ELECTRONIC DEVICE” filed in the United States Patent and Trademark Office on Apr. 3, 2007, the contents of which are hereby incorporated by reference.


BACKGROUND
The present disclosure relates generally to an Intelligent Electronic Device (“IED”) that is versatile and robust to permit accurate measurements and to pictorially depict power usage and power quality data for any metered point within a power distribution network allowing users to make power related decisions quickly and effectively. In particular, the present disclosure relates to an IED having enhanced power quality monitoring and control capabilities and a communications system for a faster and more accurate processing of revenue and waveform analysis.
The present disclosure provides a transient measurement circuit that addresses problems in power measurement and analysis systems due to transients. Transients are rapid changes in steady state conditions for voltages and currents. Transients can occur in all A.C. power systems. Transients designate a phenomenon or a quantity that varies between two consecutive time states at a shorter time interval than the measured interval of interest. If a voltage transient exceeds a voltage dip and/or a voltage swell threshold, the transient will be recorded as a voltage dip or swell. Various conditions such as weather conditions, lightning strikes, power surges and swells, blackouts, brownouts and fault conditions can severely compromise power quality monitoring capabilities by IEDs. It is therefore desirable to have an IED capable of detecting transients and other power quality disturbances.
SUMMARY
An IED, e.g. a power meter, with enhanced power quality and communications capabilities is provided. The power meter can perform energy analysis by waveform capture, detect transients on front end voltage input channels and provide revenue measurements.
The power meter splits and distributes the front end input channels of voltages and currents into separate circuits for scaling and processing by dedicated processors or processing functions for specific applications by the power meter.
Front end voltage input channels are split and distributed into separate circuits for transient detection, waveform capture analysis and revenue measurement, respectively.
In one aspect of the present disclosure, the transient measurement circuit of the present disclosure addresses problems due to transient voltage spikes. The transient measurement circuit of the present disclosure provides a circuit for measuring transients for voltage input channels and for avoiding the introduction of crosstalk from the waveform capture and revenue measurement circuits onto the transient detection circuit. This sensitivity for the transient detection provides for a faster and more sensitive measurement of the transients and provides data for better analysis of the transients.
FIG. 2 illustrates how various voltage and current channels may be input to each of the aforementioned paths or circuits after being converted into digital signals by their respective A/D converters. The outputs of each of the A/D converters can either have its own dedicated processor for the particular application involved or use processors having dedicated firmware for the particular application involved, e.g. transient detection, waveform capture and revenue measurement. One or more of the same processors in which the firmware for the particular application is written/programmed therein can be utilized by the power meter for these particular applications. In this way, redundancy can exist in the power meter where the same firmware for a particular application may be available in more than one processor. The definition of a processor may also include a microprocessor, micro-controller, a digital signal processor, a field programmable logic device utilizing an internal “soft core” such a CORTEXTTM core licensed by Actel Corp, or any other similar device that can execute software code whether embedded internal or stored in external memory.
According to one aspect of the present disclosure, a system for measuring AC voltage and current signals for an intelligent electronic device (IED) is provided including an IED into which a plurality of input channels for AC voltages and currents are fed, sensors for sensing the plurality of input channels, a plurality of analog to digital converters and a processing system including at least one central processing unit or host processor (CPU) or one or more digital signal processors; a plurality of paths into which the at least one input signal is split, each of the paths including circuitry for scaling its respective split signal and utilizing its respective scaled signal for a particular application by the IED; wherein the particular applications include the IED having the ability to measure energy for revenue applications and record waveforms on power quality events, the IED includes the ability to measure transient signals at or above 1 mHZ frequency for at least one of the phase voltage inputs, and wherein the IED includes the ability to transmit captured waveform samples generated by at least one of the analog to digital converters using serial or Ethernet communication channels. The IED has the ability to measure differing power quality events and place them in bins designating amount of occurrences of a power quality even within a prescribed time period. The IED further comprises a resistor divider into which the voltage signal is fed wherein the signal is decreased. The IED transfers waveform records to non-volatile RAM from volatile RAM.
In another aspect, the scaling circuit of the IED for revenue measurement includes a calibration switch for calibrating the input signal, wherein the IED further includes at least one central processor unit (CPU) or digital signal Processor (DSP processor) to control the calibration switch.
In a further aspect, the system further includes a time overcurrent protective relay function operative to operate relay located in the IED and interrupt a primary current circuit if one of at least one current inputs are not within safe limits.
According to another aspect of the present disclosure, an Intelligent electronic device (IED) for measuring AC voltage and current signals is provided. The IED includes a plurality of input channels for AC voltages and currents are fed, sensors for sensing the plurality of input channels, a plurality of analog to digital converters and a processing system including at least one central processing unit or host processor (CPU) or one or more digital signal processors; wherein the particular applications include the IED having the ability to measure energy for revenue applications and record waveforms on power quality events, wherein the IED includes the ability to measure transient signals at or above 1 mHZ frequency for at least one of the phase voltage inputs, wherein the IED includes the ability to transmit captured waveform samples generated by at least one of the analog to digital converters using serial or Ethernet communication channels wherein the IED includes a graphical, backlit LCD display, a volatile memory and a non-volatile memory for storing captured waveform samples from at least one analog to digital converter. The non-volatile memory includes a compact flash device. A series of bins are used to store the count of the number of the power quality events within the user defined period of time for the range of values for one parameter.
In yet another aspect, the power quality is determined by measuring total harmonic distortion of one of the voltage or current inputs, by measurement of frequency fluctuations of the voltage inputs, by the measurement of harmonic magnitude of each individual harmonic for one of the voltage and current inputs, by measuring fast voltage fluctuation from the voltage inputs, or by measuring flicker severity. The power quality measurement is implemented in embedded software used by at least one CPU or DSP processor.
According to a further aspect of the present disclosure, an architectural structure for an intelligent electronic device (IED) system includes a plurality of analog to digital converters (ND) adapted to receive input signals and transmit them; a plurality of processors adapted to receive signals outputted from the A/D converters; and a communications gateway for the processors to communicate between each other simultaneously so that data can be retrieved, processed and provided to a user. The communications gateway includes at least one field programmable gate array, at least dual port RAM or a serial communication architecture between the plurality of processors.
In a still another aspect of the present disclosure, an architectural structure for an intelligent electronic device (IED) system includes a plurality of analog to digital (A/D) converters each A/D converter being dedicated to converting analog signals, each of the analog signals containing data for at least one particular application; a plurality of processors, each processor having firmware dedicated to receiving and processing the converted signals containing the data for the at least one particular application outputted from a corresponding one of the A/D converters; and a communications gateway for the processors to communicate between each other simultaneously so that the data can be retrieved and processed and provided to a user. The system is expandable so that additional processors and A/D converters and dual port memory can be added to convert and process and communicate data of at least one additional application.
According to another aspect of the present disclosure, a method for architecturally structuring an intelligent electronic device (IED) system is provided, the steps including converting analog signals by a plurality of analog to digital (A/D) converters, each A/D converter being dedicated to convert at least one of the analog signals containing one type of specific data; processing the signals by the A/D converters by a plurality of processors, each processor having firmware dedicated to receiving and processing the converted signals containing the data of at least one particular application outputted from a corresponding one of the A/D converters; and communicating between the processors simultaneously by dual port simultaneously so that the data can be retrieved and processed and provided to a user.
In a further aspect, a method of reducing noise between circuits is provided, the steps including laying out each circuit in a separate location of printed circuit board; and configuring each trace in each circuit to a preferred width so that each part of one of the circuits does not overlap or lay in close approximation with a part of another of the circuits and each one of each trace is separated from another of the each the trace by a preferred distance preferably in a range of between about 8 mils to about 20 mil or greater thereby reducing noise between the circuits on the printed circuit board. The printed circuit board has a top layer, a bottom layer and one or more middle layers and the traces for the transient detection circuit are placed on one of the one or more mid level layers separate from whichever layers traces for the waveform capture circuit are placed and traces for the revenue measurement circuit are placed.
In another aspect, an intelligent electronic device system includes a transient detection circuit for detecting and capturing transient voltages; and a circuit for resetting input channels to an intelligent electronic device system to their initial settings for highly accurate revenue energy measurement and waveform recording capture on an event into at least one non-volatile memory in the intelligent electronic device system. The highly accurate revenue measurement, the high voltage transient detection and waveform recording capture occur concurrently in the intelligent electronic device system. The circuit for resetting includes at least one calibration switch for calibrating the input signal level and at least one processor controls the at least one calibration switch to switch the at last one calibration switch if the input channels have varied from their initial settings so as to adjust the initial settings by a correction factor stored in the at least one processor provided by the external source.
According to a still further aspect of the present disclosure, a method of calculating a calibrated phase to neutral voltage (VPN) RMS in an IED is provided, the steps including sampling a phase to neutral voltage signal (VPE) and a neutral to earth voltage signal (VNE) relative to the Earth's potential; calculating phase to neutral voltage RMS from the sampled voltage signals as follows:




  
    V
    AN
  
  =
  
    
      
        
          
            
              
                
                  
                    
                      g
                      2
                    
                    (
                    
                      
                        
                          
                            
                              ∑
                              n
                            
                            ⁢
                            
                              V
                              AE
                              2
                            
                          
                          -
                          
                            2
                            ⁢
                            o
                            ⁢
                            
                              
                                ∑
                                n
                              
                              ⁢
                              
                                V
                                AE
                              
                            
                          
                        
                        n
                      
                      +
                      
                        o
                        2
                      
                    
                    )
                  
                  -
                
              
            
            
              
                
                  
                    2
                    ⁢
                    
                      gh
                      (
                      
                        
                          
                            
                              
                                ∑
                                n
                              
                              ⁢
                              
                                
                                  V
                                  AE
                                
                                ⁢
                                
                                  V
                                  NE
                                
                              
                            
                            -
                            
                              o
                              ⁢
                              
                                
                                  ∑
                                  n
                                
                                ⁢
                                
                                  V
                                  NE
                                
                              
                            
                            -
                            
                              p
                              ⁢
                              
                                
                                  ∑
                                  n
                                
                                ⁢
                                
                                  V
                                  AE
                                
                              
                            
                          
                          n
                        
                        +
                        op
                      
                      )
                    
                  
                  +
                
              
            
          
        
      
      
        
          
            
              h
              2
            
            (
            
              
                
                  
                    
                      ∑
                      n
                    
                    ⁢
                    
                      V
                      NE
                      2
                    
                  
                  -
                  
                    2
                    ⁢
                    p
                    ⁢
                    
                      
                        ∑
                        n
                      
                      ⁢
                      
                        V
                        NE
                      
                    
                  
                
                n
              
              +
              
                p
                2
              
            
            )
          
        
      
    
  




where −o,−p, g and h are constants and VAN is the voltage from phase A to neutral, VAE is the voltage measured from phase A to earth and VNE is the voltage measured from neutral to earth.
In a further aspect, a system for calculating a calibrated phase (for example, Phase A, B, or C of a three phase system) to neutral voltage (VPN) RMS for an Intelligent Electronic Device (IED) includes sampling circuitry for sampling a phase to neutral voltage signal (VPE) and a neutral to earth voltage signal (VNE) relative to the Earth's potential, the sampling circuitry including at least one analog to digital converter; a processor for calculating phase to neutral voltage RMS from the sampled voltage signals as follows:




  
    V
    AN
  
  =
  
    
      
        
          
            
              
                
                  
                    
                      g
                      2
                    
                    (
                    
                      
                        
                          
                            
                              ∑
                              n
                            
                            ⁢
                            
                              V
                              AE
                              2
                            
                          
                          -
                          
                            2
                            ⁢
                            o
                            ⁢
                            
                              
                                ∑
                                n
                              
                              ⁢
                              
                                V
                                AE
                              
                            
                          
                        
                        n
                      
                      +
                      
                        o
                        2
                      
                    
                    )
                  
                  -
                
              
            
            
              
                
                  
                    2
                    ⁢
                    
                      gh
                      (
                      
                        
                          
                            
                              
                                ∑
                                n
                              
                              ⁢
                              
                                
                                  V
                                  AE
                                
                                ⁢
                                
                                  V
                                  NE
                                
                              
                            
                            -
                            
                              o
                              ⁢
                              
                                
                                  ∑
                                  n
                                
                                ⁢
                                
                                  V
                                  NE
                                
                              
                            
                            -
                            
                              p
                              ⁢
                              
                                
                                  ∑
                                  n
                                
                                ⁢
                                
                                  V
                                  AE
                                
                              
                            
                          
                          n
                        
                        +
                        op
                      
                      )
                    
                  
                  +
                
              
            
          
        
      
      
        
          
            
              h
              2
            
            (
            
              
                
                  
                    
                      ∑
                      n
                    
                    ⁢
                    
                      V
                      NE
                      2
                    
                  
                  -
                  
                    2
                    ⁢
                    p
                    ⁢
                    
                      
                        ∑
                        n
                      
                      ⁢
                      
                        V
                        NE
                      
                    
                  
                
                n
              
              +
              
                p
                2
              
            
            )
          
        
      
    
  




where −o,−p, g and h are constants and VAN is the voltage from phase A to neutral, VAE is the voltage measured from phase A to earth and VNE is the voltage measured from neutral to earth.
In another aspect, the system further includes an envelope type waveform trigger, wherein the envelope type waveform trigger generates a trigger upon detection of samplings of the at least one scaled, split signal exceeding at least one threshold voltage. The envelope type waveform trigger is implemented by firmware in at least one DSP Processor or CPU.
In a further aspect, the envelope type waveform trigger is determined by,

Vt1−Vth1<Vt2<Vt1+Vth2

where Vt1 is a voltage sampled at time T1 and Vt2 is a voltage sampled at time T2 which is one cycle after time T1 and Vth1 is a first and lower threshold voltage level and Vth2 is a second and upper voltage threshold so that if the signal does not exceed the either the upper threshold voltage or the lower threshold voltage there will be no trigger on the envelope type waveshape.

In still another aspect of the present disclosure, the system further includes a time overcurrent protective relay function operative to operate relay located in the IED and interrupt a primary voltage and current circuit if one of at least the current inputs are not within safe limits, wherein the protective relay system is implemented by firmware within at least one DSP processor or a CPU.
In a further aspect, an intelligent electronic device (IED) for recording at least one waveform of an AC power system is provided, the IED including a voltage input circuit operative to sense line voltage from the AC power system and generate at least one voltage signal representative of the voltage sensed from the AC power system; at least one analog-to-digital converter circuit configured to sample the at least one voltage signal to output digital samples representative of said voltage input circuit; at least one processor operatively coupled to said analog-to-digital converter and configured to perform at least one mathematical computation on samples received from the analog-to-digital converter; and at least one volatile memory operatively coupled to said at least one processor to receive samples from the analog-to-digital converter; wherein the at least one processor is configured to trigger a recording and storing in non-volatile memory at least one of said digital samples based on an algorithm that includes at least one of an adaptive trigger, a waveshape trigger and a rate of change trigger. In one embodiment, the communication device sends said data utilizing SNMP protocol.
In another aspect, a system for an intelligent electronic device (IED) to send data utilizing Simple Network Management Protocol (SNMP) and Modbus TCP is provided. The system includes an SNMP agent; SNMP management software; a software system which communicates via Modbus TCP protocol; and the intelligent electronic device (IED) comprising: an Ethernet communication port located on the IED including at least one of a physical port and a wireless port; and a Modbus TCP protocol stack, wherein the IED can parse Modbus TCP requests coming from the software system. The communication port is configured for transmitting an e-mail alarm while communicating via Modbus TCP protocol and SNMP to at least one software system.
In yet another aspect of the present disclosure, an intelligent electronic device (IED) including an anti-aliased waveform recording system is provided, the waveform recording system including a voltage input circuit operative to sense line voltage from the AC power system and generate at least one voltage signal representative of the voltage sensed from the AC power system; at least one analog-to-digital converter circuit configured to sample the at least one voltage signal to output digital samples representative of said voltage input circuit; at least one of a digital and analog anti-alias filter for filtering the samples above a predetermined set point; at least one processor operatively coupled to said analog-to-digital converter and configured to perform at least one mathematical computation on samples received from the analog-to-digital converter; and at least one volatile memory operatively coupled to said at least one processor to receive samples from the analog-to-digital converter.



BRIEF DESCRIPTION OF THE DRAWINGS
Other aspects will become readily apparent from the foregoing description and accompanying drawings in which:
FIG. 1 is a block diagram of an Intelligent Electronic Device in accordance with one embodiment of the present disclosure;
FIG. 1A is a block diagram illustrating how front end voltage input channels are distributed to dedicated circuits where each distributed set of channels are scaled for processing for a particular application such as transient detection, waveform capture analysis and revenue measurement by the power meter in accordance with one embodiment of the present disclosure;
FIG. 1B is a block diagram illustrating how front end current input channels are distributed to dedicated circuits where each distributed set of channels are scaled for processing for a particular application such as waveform capture analysis and revenue measurement by the power meter in accordance with one embodiment of the present disclosure;
FIG. 2 is a block diagram of the present disclosure showing at least one central processing unit (CPU) or at least one processor and illustrating how various voltage and current channels are input for their particular application after being converted into digital signals by their respective A/D converters and then each is sent to either its own dedicated processor or to a processor having dedicated firmware for its particular application via a communications gateway for the particular application involved, e.g. transient detection, waveform capture and revenue measurement, FIG. 2A is a flow chart illustrating a method executed by the at least one processor of FIG. 2 and FIG. 2B is a flow chart of another method executed by the at least one processor of FIG. 2;
FIG. 3 illustrates how FIGS. 3A, 3B, 3C, 3D, 3E, and 3F would fit together in order to form a single view of an exemplary layout of a top layer of a printed circuit board for an IED showing how the analog circuits dedicated to particular applications are separated from each other in their own respective segments to reduce the possibility of noise;
FIG. 4 is a graph illustrating the measurement of power quality, and in this example the power quality measurement is frequency fluctuations, using bins to measure a count of the power quality event within a user defined time period in accordance with this feature of the IED of the present disclosure;
FIG. 5 is a graph illustrating time over current curves in connection with a protective relay feature of the IED of the present disclosure; and
FIG. 6 illustrates how FIGS. 6A, 6B, 6C, 6D, 6E, 6F and 6G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 7 illustrates how FIGS. 7A, 7B, 7C, 7D, 7E, 7F, 7G and 7H would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 8 illustrates how FIGS. 8A, 8B, 8C, 8D, 8E, 8F and 8G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 9 illustrates how FIGS. 9A, 9B, 9C, 9D, 9E and 9F would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 10 illustrates how FIGS. 10A, 10B, 10C, 10D, 10E and 10F would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 11 illustrates how FIGS. 11A, 11B, 11C, 11D, 11E, 11F and 11G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 12 illustrates how FIGS. 12A, 12B, 12C, 12D, 12E and 12F would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 13 illustrates how FIGS. 13A, 13B, 13C, 13D, 13E and 13F would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 14 illustrates how FIGS. 14A, 14B, 14C, 14D and 14E would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 15 illustrates how FIGS. 15A, 15B, 15C, 15D, 15E, 15F and 15G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 16 illustrates how FIGS. 16A, 16B, 16C, 16D, 16E, 16F and 16G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 17 illustrates how FIGS. 17A, 17B, 17C, 17D, 17E, 17F and 17G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 18 illustrates how FIGS. 18A, 18B, 18C, 18D, 18E and 18F would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 19 illustrates how FIGS. 19A, 19B, 19C, 19D and 19E would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 20 illustrates a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 21 illustrates how FIGS. 21A, 21B, 21C, 21D, 21E and 21F would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 22 illustrates how FIGS. 22A, 22B, 22C, 22D and 22E would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 23 illustrates how FIGS. 23A, 23B, 23C and 23D would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 24 illustrates how FIGS. 24A, 24B, 24C and 24D would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 25 illustrates how FIGS. 25A, 25B and 25C would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 26 illustrates how FIGS. 26A, 26B, 26C, 26D, 26E, 26F and 26G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 27 illustrates how FIGS. 27A, 27B, 27C, 27D, 27E, 27F, 27G and 27H would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 28 illustrates how FIGS. 28A, 28B, 28C, 28D, 28E, 28F, 28G and 28H would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;
FIG. 29 illustrates how FIGS. 29A, 29B, 29C, 29D, 29E, 29F, 29G and 29H would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure; and
FIG. 30 illustrates how FIGS. 30A, 30B, 30C, 30D, 30E, 30F and 30G would fit together in order to form a single view of a schematic drawing of a portion of an IED of the present disclosure;



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Preferred embodiments of the present disclosure will be described herein below with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail to avoid obscuring the present disclosure in unnecessary detail. The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any configuration or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other configurations or designs. Herein, the phrase “coupled” is defined to mean directly connected to or indirectly connected with through one or more intermediate components. Such intermediate components may include both hardware and software based components.
As used herein, intelligent electronic devices (“IED's”) include Programmable Logic Controllers (“PLC's”), Remote Terminal Units (“RTU's”), electric power meters, protective relays, fault recorders and other devices which are coupled with power distribution networks to manage, control and communicate the distribution and consumption of electrical power. A power meter is a device that records and measures power events, power quality, current, voltage waveforms, harmonics, transients and other power disturbances. Revenue accurate meters (“revenue meter”) relate to high revenue electrical power metering devices with the ability to detect, monitor, report, quantify and communicate power demand and energy information about the power system which they are metering.
An intelligent electronic device (IED) 10 for monitoring and determining power usage and power quality for any metered point within a power distribution system and for providing a data transfer system for faster and more accurate processing of revenue and waveform analysis is illustrated in FIG. 1. An exemplary design includes sensors 12, a plurality of analog-to-digital (ND) converters 7,8 and 9 and a processing system that includes at least one central processing unit or host processor (CPU) and one or more digital signal processors (DSP1) 60 and (DSP2) 70.
It shall be noted that the CPU and DSP could be combined into one processor serving both functions. The sensors 12 will sense electrical parameters, e.g., voltage and current, of the incoming lines from an electrical power distribution system. Preferably, the sensors will include current transformers and potential transformers, wherein one current transformer and one voltage transformer will be coupled to each phase of the incoming power lines. A primary winding of each transformer will be coupled to the incoming power lines and a secondary winding of each transformer will output a voltage representative of the sensed voltage and current. The output of each transformer will be coupled through scaling circuitry (see FIGS. 1A and 1B) to the A/D converters 7a,8a,9a and 7b,9b, respectively, configured to convert the analog output voltage from the transformer to a digital signal that are transmitted to a gate array such as an Field Programmable Gate Array (FPGA) 80, an Erasable Programmable Logic Device (EPLD) or an Complex Programmable Logic Device (CPLD) and then sent to be processed by at least one CPU or DSP processor. It should be noted that the digital samples could be sent to the CPU or DSP processor direct as an additional embodiment.
The at least one CPU or DSP Processor is configured for receiving the digital signals from the A/D converters 7, 8 and 9 to perform the necessary calculations to determine the power usage and controlling the overall operations of the IED 10.
A power supply 20 is also provided for providing power to each component of the IED 10. Preferably, the power supply 20 is a transformer with its primary windings coupled to the incoming power distribution lines and having an appropriate number of windings to provide a nominal voltage, e.g., 5VDC, at its secondary windings. In other embodiments, power is supplied from an independent source to the power supply 20, e.g., from a different electrical circuit, a uninterruptible power supply (UPS), etc. In another embodiment, the power supply 20 can also be a switch mode power supply in which the primary AC signal will be converted to a form of DC signal and then switched at high frequency such as but not limited to 100 Khz and then brought through a transformer which will step the primary voltage down to, for example, 5 Volts AC. A rectifier and a regulating circuit would then be used to regulate the voltage and provide a stable DC low voltage output.
The IED 10 of the present disclosure will include a multimedia user interface 21 for interacting with a user and for communicating events, alarms and instructions to the user. The user interface 21 will include a display for providing visual indications to the user. The display may include a touch screen, a liquid crystal display (LCD), a plurality of LED number segments, individual light bulbs or any combination of these. The display may provide the information to the user in the form of alpha-numeric lines, computer-generated graphics, videos, animations, etc. One important feature of the display will be that the display will be configured to provide to a user some of the following information. The display will show a user real time trends showing stored historical values in a tabular or graph form. This allows the user to view voltage over time, current distribution, Watt and VAR distribution or even show the harmonic content such as the harmonic magnitude spectrum or a tabular format for the harmonic content including the magnitude or phase angle. Additionally, the display will be programmed to display an event showing an actual captured waveform either at the user request or automatically when a waveform event occurs, e.g., at a trigger. The display shall have the capability to alarm a user by displaying warning or alert symbols such as flashing warning signs, changes in color or other type of annunciation designed to provide an overt, easily viewed alert. The actual captured waveform of the display includes elements such as the waveform cycles, scroll buttons (or bars), marker signifying the beginning and end of the events, etc. The waveform display will also include status inputs that allow a user to view the status of relays and breakers to show the time in milliseconds delay between the beginning of an event and when the relay and/or circuit breaker operated.
The meter shall determine the time using on on-board free-running counter. By measuring the amount of “clock ticks” in proportion to the clock speed in seconds, the meter will be able to determine the time in milliseconds or even microseconds or nanoseconds. Moreover, multiple meters can be tied together using time synchronization method such as IRIG-B which is attained from a GPS clock similar to a Model 1092 manufactured by Arbiter Systems, of California. These clocks have IRIG-B outputs attained from standard satellite time references. The IEDs are configured to receive the time from these clocks and adjust their time reference.
The user interface 21 will also include a speaker or audible output means for audibly producing instructions, alarms, data, etc. The speaker will be coupled to the CPU 50 via a digital-to-analog converter (D/A) for converting digital audio files stored in a memory 19 to analog signals playable by the speaker. An exemplary interface is disclosed and described in commonly owned U.S. application Ser. No. 11/589,381, entitled “POWER METER HAVING AUDIBLE AND VISUAL INTERFACE”, now U.S. Pat. No. 8,442,660, which claims priority to expired U.S. Provisional Patent Appl. No. 60/731,006, filed Oct. 28, 2005, the contents of which are hereby incorporated by reference in their entireties.
The IED 10 of the present disclosure will support various file types including but not limited to MICROSOFTTM Windows Media Video files (.wmv), MICROSOFTTM Photo Story files (.asf), MICROSOFTTM Windows Media Audio files (.wma), MP3 audio files (.mp3), JPEG image files (.jpg, .jpeg, .jpe, .jfif), MPEG movie files (.mpeg, .mpg, .mpe, .m1v, .mp2v .mpeg2), MICROSOFTTM Recorded TV Show files (.dvr-ms), MICROSOFTTM Windows Video files (.avi) and MICROSOFTTM Windows Audio files (.wav).
The interface 21 further includes a network communication device that is configured for providing bi-directional connectivity between the meter and a network (for example, via a hardware/software modem) and, structurally, includes one or more cards or modules. In one embodiment, the network communication device supports the TCP/IP and 10/100Base-T Ethernet communication protocols and, optionally, at least some of the Modbus/TCP, Modbus, Distributed Network Protocol (DNP) (e.g., DNP 3.0), RS-485, RS-232 and universal serial bus (USB) architectures. Other communication protocol and to be developed protocols are within the scope of the present disclosure.
The network communication device may be a modem, network interface card (NIC), wireless transceiver, etc. The network communication device will perform its functionality by hardwired and/or wireless connectivity. The hardwire connection may include but is not limited to hard wire cabling (e.g., parallel or serial cables, including RS-232, RS-485, USB, and FIREWIRETM (IEEE-1394) Ethernet, Fiber Optic, or Fiber Optic over Ethernet cables, and the appropriate communication port configuration. The wireless connection will operate under any of the wireless protocols, providing but not limited to BLUETOOTHTM connectivity, infrared connectivity, radio transmission connectivity including computer digital signal broadcasting and reception commonly referred to as WIFITM or 802.11.X (where X denotes the transmission protocol), satellite transmission or any other type of communication transmissions, as well as communication architecture or systems currently existing or to be developed for wirelessly transmitting data, including spread-spectrum systems operating at 900 MHz or other frequencies, ZIGBEETM, WIFITM, or mesh-enabled wireless communication systems. Note that it is contemplated within the present disclosure that the data may be transmitted using encryption algorithms such as 128 bit or 64 bit encryption.
The IED of the present disclosure can compute a calibrated VPN (phase to neutral) or VPP (phase to phase) voltage RMS from VPE (phase to earth) and VNE (neutral to earth) signals sampled relative to the Earth's potential, where Phase P may be, for example, Phase A, B or C of a three phase system. The desired voltage signal can be produced by subtracting the received channels, VPN=VPE−VNE. Calibration involves removing (by adding or subtracting) an offset (o, p) and scaling (multiplying or dividing) by a gain (g, h) to produce a sampled signal congruent with the original input signal. RMS is the Root-Mean-Square value of a signal, the square root of an arithmetic mean (average of n values) of squared values. Properly combined, one representation of this formula is:




  
    V
    AN
  
  =
  
    
      
        
          ∑
          n
        
        ⁢
        
          
            (
            
              
                g
                ⁡
                
                  (
                  
                    
                      V
                      AE
                    
                    -
                    o
                  
                  )
                
              
              -
              
                h
                ⁡
                
                  (
                  
                    
                      V
                      NE
                    
                    -
                    p
                  
                  )
                
              
            
            )
          
          2
        
      
      n
    
  




where VAN is the voltage from phase A to neutral, VAE is the voltage measured from phase A to earth, VNE is the voltage measured from neutral to earth and n is the number of values taken.
Implementation of the computation in this arrangement is comparatively inefficient, in that many computations involving constants (−o, −p, g*, h*) are performed n times, and that computational precision can either be minimized, forcing the use of large numbers (requiring increased memory for storage and increased time to manipulate), or be degraded, increasing the uncertainty. However, a mathematical rearrangement can be carried out on the above formula, producing an equivalent computation that can be carried out more efficiently, decreasing the effort needed to produce similar or superior results. That representation is:




  
    V
    AN
  
  =
  
    
      
        
          
            
              
                
                  
                    
                      g
                      2
                    
                    (
                    
                      
                        
                          
                            
                              ∑
                              n
                            
                            ⁢
                            
                              V
                              AE
                              2
                            
                          
                          -
                          
                            2
                            ⁢
                            o
                            ⁢
                            
                              
                                ∑
                                n
                              
                              ⁢
                              
                                V
                                AE
                              
                            
                          
                        
                        n
                      
                      +
                      
                        o
                        2
                      
                    
                    )
                  
                  -
                
              
            
            
              
                
                  
                    2
                    ⁢
                    
                      gh
                      (
                      
                        
                          
                            
                              
                                ∑
                                n
                              
                              ⁢
                              
                                
                                  V
                                  AE
                                
                                ⁢
                                
                                  V
                                  NE
                                
                              
                            
                            -
                            
                              o
                              ⁢
                              
                                
                                  ∑
                                  n
                                
                                ⁢
                                
                                  V
                                  NE
                                
                              
                            
                            -
                            
                              p
                              ⁢
                              
                                
                                  ∑
                                  n
                                
                                ⁢
                                
                                  V
                                  AE
                                
                              
                            
                          
                          n
                        
                        +
                        op
                      
                      )
                    
                  
                  +
                
              
            
          
        
      
      
        
          
            
              h
              2
            
            (
            
              
                
                  
                    
                      ∑
                      n
                    
                    ⁢
                    
                      V
                      NE
                      2
                    
                  
                  -
                  
                    2
                    ⁢
                    p
                    ⁢
                    
                      
                        ∑
                        n
                      
                      ⁢
                      
                        V
                        NE
                      
                    
                  
                
                n
              
              +
              
                p
                2
              
            
            )
          
        
      
    
  




where −o,−p, g and h are constants and VAN is the voltage from phase A to neutral, VAE is the voltage measured from phase A to earth, VNE is the voltage measured from neutral to earth and n is the number of values taken.
Implementation of the computation in this arrangement can be accomplished with more efficiency and precision. All involvement of constants has been shifted to single steps, removed from the need to be applied n times each. This savings in computation can then be partially utilized to perform slower but more precise applications of the gains and Square Root. The result is a value of equal or higher precision in equal or lesser time.
These calculations are preferably software implemented by at least one processor such as the CPU 50 or one of the DSP Processors 60, 70 or and at least one FPGA 80.
Referring to the drawings, FIG. 1A shows the circuit of the present disclosure for a voltage input.
Voltage channels are applied to the circuit (1) and fed into a resistance divider (5) to reduce the high voltage level for handling by the circuit (1). The reduced voltage channels are split by feeding them into a plurality of paths or circuits, namely, a transient detection scaling path or circuit 11, a waveform capture path or circuit 16 and a revenue measurement scaling path or circuit 30. In the example of FIG. 1A, three circuits are shown. It is understood that the number of circuits used can vary depending on the number of applications to be performed by the power meter. Therefore more circuits may be added as needed for additional applications.
In FIG. 1A, the reduced voltage signal is split into three circuits or paths 11, 16 and 30 for transient detection, waveform capture and revenue measurement, respectively.
Transient detection scaling circuit or path 11 is part of the transient measurement circuit where the input channels are scaled and are fed into an amplifier 14, then a follower 112 and then another amplifier 13 for driving the A/D converter 7 (ND converter 7 is a block of A/D converters that includes at least one A/D converter). In the transient scaling circuit (11), the signal is scaled by a scaling operation for transient detection. The scaling circuitry for the transient scaling circuit 11 includes the first amplifier 14, a follower (112) and a second amplifier 13. The follower 112 serves to separate the gain stages and the offset of the two amplifiers 14, 13. The four voltage channels are then sent to the A/D converter 7 dedicated to the transient detection and the transient scaling circuit 11. The transient measurement circuit of the present disclosure detects the transients and captures data about theses transients.
As shown in FIG. 2, the four voltage channels are sent via a communications gateway, e.g., the Field Programmable Gate Array 80 (FPGA), to a processor, e.g., the DSP Sub-System Processor 70 at its channel, port channel 75, for processing of the four voltages input channels. The FPGA 80 also provides a clock signal for the A/D converter 7.
The transient scaling circuit 11 scales the input voltage channels for measuring transients for voltage input channels by the transient measurement circuit. The transient scaling circuit 11 has a very great range of voltage due to scaling of the input voltage channels. The transient scaling circuit 11 scales the input peak to peak voltages of ±1800 volts peak to peak. It should be noted the voltage dynamic range is arbitrary and can be modified as per customer specifications. In addition it can also handle peak to peak voltage. The purpose of a transient measurement circuit's speed and scaling for over ranging voltage and a high bandwidth for a very high sample rate—bandwidth is high so as not to filter out samples for high sample rate of 50 MHz. This circuit is used to be able to single out higher speed voltage events that would be missed by the waveform capture A/Ds. See Waveform Capture Circuit 16.
In addition to the transient measurement circuit's a very great over range or preferably ±1800 peak to peak volts (ppv), it also has a very high sample rate or preferably 50 Mhz
In the transient scaling circuit 11, the amplifier 14 reduces gain by preferably 1/5.53. The amplifier 13 provides a voltage shift of preferably 1.65 volts. It is understood that these amplifier gains and voltage offsets can vary as desired for appropriate scaling of the input voltage channels and the disclosure is not limited to these illustrative examples.
The transient scaling circuit 11, by illustrative example, operates as follows:
The input channels are reduced by a resistor divider 5 and can be reduced if desired from ±1800 peak to peak volts to ±5.5 peak to peak volts.
The scaling circuit 11 for the transient measurement circuit includes a follower 112 and amplifiers 13 and 14.
The amplifier 14 may have a gain of 1/5.53 and a shift of 1.65 volts so that the +/−5.5 peak to peak volts input to amplifier 14 results in an output of +/−0.997 volts. Amplifier 13 provides an offset voltage of 1.0 v so that it outputs from 0.00446 v to +1.9954 v to the NC converter. This scaling of the voltage is needed for the high speed ND converter 7.
One possible but non-limiting choice of a card that can be used for A/D converter 7 is a low power, 8 bit, 20 MHz to 60 MHz A/D converter as shown in FIG. 1A. One non-limiting example of such a card is ADC 08060 is commercially available from National Semiconductor, Santa Clara, Calif. It is understood that the IED of the present disclosure is not limited to any particular card for A/D converter 7. The scaling circuit of the transient measurement circuit is necessary to scale down the input voltage channels so that the input voltage to the ADC 08060 card or any suitable alternative having that low power input requirements are met. Use of this card or any suitable alternative guarantees that the high speed sampling rate of 50 MHZ or perhaps greater will be possible for the transient measurements including the impulse transient measurements.
The waveform capture scaling circuit 16 has its voltage signal scaled by an amplifier 18. The waveform capture circuit 16 has several channels going into an amplifier 18 for scaling and then a multiplexer 19 to multiplex the channels for the A/D converter 8 that is dedicated to the waveform capture circuit, in two sets—one set of the four input voltage channels and one set of the four input current channels (the current input channels are discussed below with respect to FIG. 1B). The multiplexed signals then go into the driver 4 and the A/D converter 8 (AD converter 8 is a block of A/D converters that includes at least one A/D converter). From the A/D converter 8, the input channels go into the FPGA 80 to the DSP Processor 70. The DSP Processor 70 provides digital signal processing and the waveform analysis is focused on seeing more of the signal even though accuracy is reduced as there is more interest in quality of power and not accuracy. Thus while both A/D converters for the waveform scaling analysis circuit 16 and for the revenue measurement scaling circuit 30 each have 16 bit resolution, there is a difference in the range of input for the revenue A/D converter 9 (ND converter 9 is a block of A/D converters that includes at least one A/D converter) and for the waveform capture A/D converter 8 due to the difference in the scaling input for each of these two converters. So the range of input of both the A/D revenue converter 9 and the A/D waveform capture converter 8 are different from each other.
Referring now to FIG. 1A a zero crossing circuit 26 is also provided for the IED of the present disclosure and as shown in FIG. 1A the zero crossing circuit 26 can be connected to the waveform capture circuit 16.
The zero crossing circuit 26 operates as follows: the input channels, which are sinusoidal, after amplification in amplifier 18, go into a comparator 25. The sinusoidal channels since they can vary are each sampled just before and after zero crossing by each sinusoidal channel and a pulse is generated for each crossing.
Then the output of comparator 25 is fed into a counter in whichever processor has the firmware for processing the zero crossing application. Again this could be the at least CPU or Host Processor 50 or the DSP Processor 70. Alternatively, another DSP Processor 60 could be used. The counter counts the pulses that are representative of the zero crossings by each of the input channels and thus obtains the frequency reading of the signal. The output of the comparator 25 is fed back into a phase lock loop circuit in the at least one processor with the firmware for zero crossing application—this could be the CPU 50 or the DSP Processor 70. Alternatively another DSP Processor 60 could be used. In this way, this processor, with the firmware for the zero crossing application, controls the sampling rate of front end input channels and adjusts the sampling rate to the pulse count frequency from the output of the counter.
The revenue measure scaling circuit 30 has a calibration switch 21 that calibrates the voltage level and is controlled by at least one processor (e.g., CPU 50).
The revenue measurement scaling circuit 30 has multiple channels input to the calibration switch 21 that has the auto-calibration feature described in U.S. Pat. No. 6,735,535, which is incorporated herein by reference thereto. The calibration switch 21 has two features—a factory calibration feature and a scaling feature.
The factory calibration feature calibrates the meter to a very accurate reference voltage from an external source such as a Model 8000 or 8100 precision power and energy calibrator commercially available from Rotek Instrument Corp. of Waltham, Mass.—a highly stable 3-phase voltage, current and power source. It is understood that the disclosure is not limited to any one particular external source.
This factory calibration also reads the board reference voltages initially and notes any variation of the board reference voltages format at the time of calibration so if there are any variations of board reference voltages later it can be adjusted with temperature range.
The second feature of the calibration switch 21 is that it serves to provide the scaling for the revenue measurement scaling circuit 30 as follows:
The at least one CPU 50 or a DSP processor through the FPGA 80 (see FIG. 2) switches the calibration switch 21 so that it checks the board reference voltages that have varied from their initial factory calibration if they have varied then the correction factor in the at least one CPU 50 or a processor is adjusted to reset the reference board voltages to their initial settings for an accurate reading of the input channels.
In the revenue measurement scaling circuit 30, after the input signals are scaled by the calibration switch 21 they are fed into an amplifier 22 preferably having a gain of 1.5913 for scaling purposes and a driver 23 before being input into an A/D converter 9.
FIG. 1B illustrates how the front end current channels 2 are split into the respective circuits or paths for revenue measurement and waveform capture analysis. These circuit paths for the current paths are substantially the same as previously described for the front end voltage channels for the revenue measurement circuit and for the waveform capture analysis circuit 16 and thus are summarized as follows: As shown in FIG. 1B, the input current channels 2, such as by way of non-limiting example iab, ibb, icb and inb, go into a current transformer CT 33 and then a resistor 31. The current channels 2 are then split into two circuits for waveform capture analysis via circuit 16 and revenue measurement via circuit 30, respectively. In the waveform capture analysis circuit 16, the current channels are scaled in an amplifier 18 and then proceed to the multiplexer 19, the driver 4, the A/D converter 7 dedicated to waveform capture analysis 7 and then to the DSP processor dedicated to waveform capture analysis via the FPGA 80 which also clocks the A/D converter 7, as previously described as to the input voltage channels with reference to FIG. 1A.
In the revenue measure scaling circuit 30, the current input channels 2 go into the calibration switch 21 that calibrates the current level and is controlled by a processor (e.g., the at least one CPU 50). As mentioned previously, the revenue measurement scaling circuit 30 has multiple channels inputted to a calibration switch that has the auto-calibration feature. The calibration switch 21 has two features—a factory calibration feature and a scaling feature. In this way the input channels are called and conditioned for processing by the at least one CPU or DSP processor for revenue information.
The factory calibration feature calibrates the meter to a very accurate reference voltage from an external current source that is extremely accurate.
This factory calibration also reads the board reference currents initially and notes any variation of the board reference currents from the time of calibration so if there are any variations of board currents later it can be adjusted with temperature range.
The second feature of the calibration switch 21 is that it serves to provide the scaling for the revenue measurement circuit as follows:
The at least one CPU 50 or DSP processor 70 through the FPGA 80 switches the calibration switch 21 (see FIG. 2) so that it checks the board reference currents that have varied from their initial factory calibration. If they have varied then the correction factor in the at least one CPU 50 or DSP Processor is adjusted to reset the reference board currents to their initial settings for an accurate reading of the input channels.
This feature of resetting the board input channels (channels resetting feature) can be used in combination with the transient detection measurement circuit so it is possible to have a highly accurate revenue measurement and high transient detection and capture simultaneously in the IED of the present disclosure.
The channels resetting feature can check to see if there is a need to reset to the board's initial settings periodically. An illustrative but non-limiting example would be every twelve minutes. In addition, the channels resetting feature is temperature dependent and can reset for changes of internal temperature and/or ambient temperature or any other desired temperature threshold. One non-limiting illustrative example is for resetting for changes of 1 degree to 1.5 degrees.
After the calibration switch 21 in the revenue measurement scaling circuit, the input channels are fed into an amplifier 22 preferably having a gain of 1.5913 for scaling purposes and a driver 23 before being input into an A/D converter 9.
The current channels 2 then go to the amplifier 22, the driver 23, and the dedicated A/D converter 9 for revenue measurement to a processor with the firmware programmed into it for processing the revenue measurement application. This could be either or both the at least one CPU 50 and/or DSP Processor 70. Alternatively, it could be an additional sub-system DSP Processor 60. The revenue measurements are received and processed via the FPGA 80.
Scaling and conditioning of the input channels as described above prior to the input signals feeding into their respective A/D converters is done on the analog circuitry of the analog board 73 as shown in FIG. 2.
FIG. 2 illustrates how various channels may be input to each of the aforementioned paths or circuits. Four channels of voltage (Vaet,Vbet,Vcet,Vnet) are input for the transient detection circuit and four voltage channels ((Vaeb,Vbeb,Vceb and Vneb) are input for the zero crossing circuit. Four channels of voltages (Vaeb,Vbeb,Vzceb,Vneb) and four channels of current (iab,ibb,icb,inb) are input for the revenue measurement path. Nine channels of voltage and current (Vaep,Vbep,Vcep,Vxp,Vnep,iap,ibp,icp,inp) are input for the waveform capture path. It is understood that the number of input channels may change and that the number of input channels shown in FIG. 2 is intended as one illustrative example and is not intended to limit the disclosure thereto.
FIG. 3, including FIGS. 3A-3F, illustrates how the circuitry is laid out to reduce the possibility of noise. FIGS. 3A-3F illustrates the top layer of the printed circuit board in which the discrete components for the analog circuitry of the analog board are mounted. Each application circuitry is partitioned from another one such as the transient measurement circuit is separate from that of the waveform measurement circuit and the revenue measurement circuit as shown in FIGS. 3A-3F. As seen in FIGS. 3A-3F, each of the circuits are laid out and partitioned into their own segments. In addition, each trace in each circuit is dimensioned to have a certain width such as preferably but not limited to 8 mils. A trace is a segment of a route, e.g., a layout of wiring, for a PC (printed circuit) board. The spacing between traces is preferably in a range of between 8 mils to 20 mils to reduce the possibility of noise such as coupling noise. The circuits are laid out on the PCB so that each part of one of the circuits does not overlap or lay in close approximation with a part of another one of the circuits. In this way, cross talk between said circuits on the PCB is reduced. The disclosure with this layout and design configuration for the thickness of each trace can reduce the possibility of noise from the transient detection components to the other circuits—the waveform measurement and the revenue measurement circuit as well as vice verse. In this way each of the circuits can be more efficient and have more accurate data. The transient measurement circuit is sensitive enough to provide for a faster and more sensitive measurement of the transients and data for a better analysis of the transients.
The PCB is preferably configured as a six-layer board with a top layer, a bottom layer and four intermediate layers. It is preferably formed from three boards glued together each board having two surfaces so that when glued together there are six layers. The top layer contains the analog components as shown and the traces within each segment as shown in FIGS. 3A-3F and described above.
The segments shown in FIGS. 3A-3F include segment 1 for the input channels; segment 2 for the transient detection circuit; segment 3 for the power circuitry for the power for all circuits; segment 4 the revenue measurement circuit; segment 5 for the ND converter segment 6 for the waveform capture circuit; segment 7 for the A/D converter for the waveform capture circuit; segment 8 for the zero crossing circuit; and segment 9 for at least one or more current transformers (CT).
In addition to the top layer there is a bottom layer that has capacitors and resistors mounted thereon for the circuitry of the IED. There are four intermediate layers −mid1, mid 2, mid 3 and mid 4. The mid 4 layer has the traces for the transient detection circuit thereon which connect to other circuitry other than that of the transient detection circuit. No other traces for any other analog circuits, e.g., the traces for the waveform capture circuit and the traces for the revenue measurement circuit are permitted on the mid 4 layer. This ensures the reduction of the possibility of noise from and to the transient detection traces from the traces of the other analog circuits.
The IED of the present disclosure can be used to measure the power quality in any one or more or all of several ways. The at least one CPU 50 or DSP processor 70 can be programmed with certain parameters to implement such measurements of power quality which can be implemented in firmware (e.g., embedded software written to be executed by the CPU or at least one DSP Processor) within the at least one CPU 50 or DSP Processor 70 or by software programming for the at least one CPU 50 or DSP Processor 70. The different techniques for measuring power quality with the IED of the present disclosure are described below. Each of these techniques is implemented by the IED of the present disclosure by firmware in the at least one CPU 50 or DSP processor 70. In the at least one CPU 50 or DSP processor 70, a series of bins are used to store a count of the number of power quality events within a user defined period of time. These bins can be by way of illustrative, non-limiting example registers of a RAM. These bins can be for a range of values for one parameter such as frequency or voltage by way of illustrative non-limiting example provide the acceptable range for testing the input signals within a specified period of time for the IED. In this way, it can be determined if the measurements are within acceptable parameters for power quality complying with government requirements and/or user needs. FIG. 4 illustrates an example of frequency bins for when the IED of the present disclosure measures for frequency fluctuations. The IED of the present disclosure can measure frequency fluctuations. The nominal frequency of the supply voltage by way of illustrative and non-limiting example is 60 Hertz (Hz). Under normal operating conditions, the mean value of the fundamental frequency of the supply voltage can be measured over a set time interval such as by way of illustrative, non-limiting example over 10 seconds and is within a specified range such as, by way of illustrative, non-limiting example as shown in FIG. 4, 60 Hz+−2% (58.8-61.2 Hz) for preferably a majority of the week—by way of illustrative, non-limiting example 95% of the week, and within a specified range of by way of illustrative non-limiting example +−60 Hz +−15% for a specified percentage of the week by way of illustrative, non-limiting example 100%. For this example in FIG. 4, the bins can be set in a specified range of the mean value of the fundamental frequency of the supply voltage frequencies—in this illustrative example the range for passing this test for power quality of this example can be within 2 percent of 60 Hz so the frequency bins 180, 181 would be between 58.8 Hz and 61.2 Hz for a specified period of 95% of a 10 seconds. If the frequency is below or above this range than the IED of the present disclosure has determined that this power quality test has failed. These values can be programmed into the at least one CPU 50 or DSP processor 60.
The IED additionally will utilize on-board or plug in type non volatile memory 17 as showing by non-limiting example in FIG. 1. In this example, compact flash is used to provide high density non-volatile storage. It should be noted that all other forms of flash and/or storage media are additionally contemplated to be within the scope of this disclosure including but not limited to SDRAM, NVRAM (non-volatile RAM), parallel flash, serial flash, floppy disks, hard drives, USB memory stick etc. This memory will be used, in addition to other purposes, as a non-volatile storage mechanism for retaining captured waveform records originally stored in volatile RAM when power is removed from the instrument. The processor (CPU) will take samples from said analog to digital converters and store said samples in volatile RAM for processing. Upon the processor's decision to store said samples based on a user defined event, the processor will then transfer said stored samples from volatile to said non-volatile RAM. The transfer will include stored samples and a header of information including time and date.
The IED of the present disclosure can measure the total harmonic distortion (THD). Under normal operating conditions, the total harmonic distortion of the nominal supply voltage will be less than or equal to a certain percentage of the nominal supply voltage such as by way of non-limiting illustrative example 8 percent of the nominal supply voltage and including up to harmonics of a high order such as by way of non-limiting example the order of 40. In this non-limiting illustrative example, the bins can be set in a range of the specified percentage of the THD—in this illustrative example of less than or equal to 8% so that if the THD is greater than 8%, the IED of the present disclosure has determined that this power test of this example has failed.
The IED of the present disclosure can measure harmonic magnitude. Under normal operating conditions a mean value RMS (Root Mean Square) of each individual harmonic will be less than or equal to a set of values stored in the at least one CPU or processor memory for a percentage of the week such as by way of illustrative, non-limiting example 95% of the week a mean value RMS (Root Mean Square) of each individual harmonic. For this test, the bins can be set in a specified range of the mean value of the fundamental frequency of the supply voltage frequencies—in this illustrative example the range for passing this test for power quality can be within 2 percent of 60 Hz so the frequency bins would be between 58.8 Hz and 61.2 Hz for a specified period of 95% of a 10 seconds. If the frequency is below or above this range than the IED of the present disclosure has determined that this frequency has failed this power quality test. These values can be programmed into the at least one CPU 50 or DSP processor 60.
The IED of the present disclosure can measure fast voltage fluctuations. Under normal operating conditions a fast voltage fluctuation will not exceed a specified voltage, by way of illustration in a non-limiting example 120 volts +−5% (114 volts-126 volts). In this illustrated, non-limiting example fast voltage fluctuations of up to 120 volts +−10% (108 volts-132 volts) are permitted several times a day. For this test the bins can be set in a specified range of voltages—in this illustrative, non-limiting example the range of voltages 120 volts +−5% or from 114 volts through 126 Volts for passing this test for power for a specified number of several times a day. If the voltage falls below or above this range than the IED of the present disclosure has determined that the voltage has failed this power quality test.
The IED of the present disclosure can measure low speed voltage fluctuations. Under normal operating conditions, excluding voltage interruptions, the mean average of the supply voltage can be measured over a set time interval such as by way of illustrative, non-limiting example over 10 minutes and is within a specified range such as by way of illustrative, non-limiting example 120 volts +−10% (108 volts-132 volts) for preferably a majority of the week—by way of illustrative, non-limiting example 95% of the week. For this test the bins can be set in a specified range of voltages—in this illustrative, non-limiting example the range of voltages of 120 volts +−10% or from 108 volts through 132 Volts for passing this test for power for a specified period of 95% of a week. If the voltage falls below or above this range than the IED of the present disclosure has determined that the voltage has failed this power quality test. These values can be programmed into the at least one CPU 50 or DSP processor 70.
The IED of the present disclosure can measure Flicker. Flicker is the sensation experienced by the human visual system when it is subjected to changes occurring in the illumination intensity of light sources. Flicker can be caused by voltage variations that are caused by variable loads, such as arc furnaces, laser pointers and microwave ovens. Flicker is defined in the IEC specification IEC 61000-4-15 which is incorporated by reference thereto. For the IED of the present disclosure under normal operating conditions, the long term Flicker severity can be caused by voltages fluctuations which are less than a specified amount by way of illustration non limiting example of less than 1 for a specified period of time by way of an illustrative non limiting example for 95% of a week. For this test, the bins can be set in a specified range of Flicker severity—in this illustrative, non-limiting example the range of long term Flicker severity due to voltage fluctuations being less than 1 for a specified period of 95% of a week to pass this power quality test. If the flicker severity is equal to or greater than 1 than the IED of the present disclosure has determined that the long-term Flicker severity has failed this power quality test. These values can be programmed into the at least one CPU or DSP processor.
Another feature of the IED of the present disclosure is the envelope type waveform trigger. Based upon the appearance of the waveform, envelope waveform trigger determines if any anomalies exist in the waveform that may distort the waveform signal. This feature is preferably implemented by firmware in at least one CPU 50 or a DSP processor such as by way of non-limiting illustrative example the DSP processor 70. For example, referring to FIG. 2A, sensors of the IED sense line voltages and generate a voltage signals, step 101; analog-to-digital converters sample the voltage signals and generate digital samples, step 103; the digital samples are processes by the at least one processor, step 105; and the at least one processor triggers a recording and storing of the digital samples based on the processing to be described below, step 107. This feature test voltage samples to detect for capacitance switching events. It permits a trigger to be generated when the scaled and conditioned input voltages are sampled and exceed upper or lower voltage thresholds that dynamically change according to the samples in the previous cycle. If this occurs, the voltages are recorded as exceeding these threshold levels. This feature operates as follows.
An AC voltage signal is a sinusoidal signal. Under normal conditions, a signal sample of this AC voltage signal will repeat itself in the next cycle. Thus by sampling at a time T1 for voltage sample Vt1, and then sampling at time T2 for voltage sample Vt2, where time T2 is 1 cycle after T1, then the absolute value of (Vt2−Vt1) should be less than a certain number (a set parameter in the firmware of the at least one CPU or DSP Processor) during normal conditions. This number is the set threshold voltage.
In other words, a user can define two positive threshold values, Vth1, Vth2, then if the signal satisfies this condition, there will be no trigger on the envelope type waveshape.

Vt1−Vth1<Vt2<Vt1+Vth2  (Equation 1)

Otherwise, the envelope type waveform shape trigger will be triggered in the IED of the present disclosure alerting the user that a threshold value has been exceeded.
This feature is implemented by firmware in the at least one processor having the firmware for the envelope type waveform trigger feature such as the DSP processor 70 as follows: The DSP Processor has a 256*16=4096 samples circular buffer in its Synchronous Dynamic Random Access Memory (SDRAM) and after collecting 256 new samples, the DSP Processor 70 executes a task. This task will first find what is the current frequency and period, such as 60 Hz, then 1024 samples per cycle, then by looking back 1024 samples from the current 256 samples, find out the corresponding 256 samples in the previous cycle, then comparing each sample, if one of them is not satisfied in Equation 1, then set flag, but the final report is updated with a half cycle finished point, that means clearing the flag at the index of the half cycle finished point.
For example, inside 256 samples, index 70 is the half cycle finish point, the before testing flag (in the circular buffer) is set at zero, and after comparing a sample of 0 to 70, the flag is set to 1, then trigger report is generated for a flag indication of 1, but the flag is cleared back to 0 after completing of the comparison of the 70 samples and before beginning the next comparison of samples 71 to 255.
Other techniques can be used to determine wave shape anomalies. Another preferred embodiment of the IED of the present disclosure would be to collect one cycle worth of samples by the said analog to digital converters and conduct a fast Fourier transform on each of said cycles of samples. Using this technique, the user can trigger a waveform recording when any of the harmonic frequencies are above a user defined threshold. The user can also allow the trigger to capture a waveform record if the percentage of total harmonic distortion is above a prescribed threshold. In this preferred embodiment of the IED of the present disclosure, the Fast Fourier Transform (FFT) is utilized. The FFT is an efficient algorithm to compute the discrete Fourier transform (DFT) and its inverse. Let x0, . . . , xN−1 be complex numbers. The DFT is defined by the formula



  
    
      X
      k
    
    =
    
      
        ∑
        
          n
          =
          0
        
        
          N
          -
          1
        
      
      ⁢
      
        
          x
          n
        
        ⁢
        
          e
          
            
              -
              
                
                  2
                  ⁢
                  π
                  ⁢
                  
                    
                  
                  ⁢
                  i
                
                N
              
            
            ⁢
            nk
          
        
      
    
  




  
    
      k
      =
      0
    
    ,
    ...
    ⁢
    
      
    
    ,
    
      N
      -
      1.
    
  



Evaluating these sums directly would take O(N2) arithmetical operations. An FFT is an algorithm to compute the same result in only O(N log N) operations. In general, such algorithms depend upon the factorization of N, but (contrary to popular misconception) there are O(N log N) FFTs for all N, even prime N.
Many FFT algorithms only depend on the fact that




  e
  
    -
    
      
        2
        ⁢
        π
        ⁢
        
          
        
        ⁢
        i
      
      N
    
  




is a primitive root of unity, and thus can be applied to analogous transforms over any finite field, such as number-theoretic transforms.

Since the inverse DFT is the same as the DFT, but with the opposite sign in the exponent and a 1/N factor, any FFT algorithm can easily be adapted for it as well.
In the power measurements for the IED of the present disclosure, xn represents data samples, n is the index number represents different sampling points, increase with time passed by. Xk represents the Kth order harmonics components in the frequency domain. N represents how many samples used to do the DFT calculation.
The technique to use harmonics distortion to determine wave-shape trigger is explained as follows: The CPU 50 or at least one DSP Processor 70 collects 128 points of samples in each cycle of interested voltage input, they are x0, x1, x2, . . . , x126, x127. do N=128 points FFT on them, finally it will output 64 points complex number Y0, Y1, . . . Y63, (after combined the negative frequency part with positive frequency part from X0, X1, . . . X127), Y0 represents DC component, Y1 represents fundamental, Y2, Y3, . . . , Yk, . . . , Y62, Y63 represents kth order harmonic components.

Yk=rk(cos φk+i sin φk) k=0, 1, . . . , 63

Then the firmware in the CPU 50 or at least DSP Processor 70 does this computation




  
    A
    =
    
      r
      i
    
  




  
    B
    =
    
      
        
          ∑
          
            n
            =
            2
          
          63
        
        ⁢
        
          r
          n
          2
        
      
    
  



And this one





  P
  =
  
    
      B
      A
    
    =
    
      
        
          
            ∑
            
              n
              =
              2
            
            63
          
          ⁢
          
            r
            n
            2
          
        
      
      
        r
        1
      
    
  




Where P is the percentage of total harmonic distortion. When the percentage of total harmonic distortion is above a prescribed threshold, the IED of the present disclosure flags the wave-shape trigger.

An additional embodiment would be to collect one cycle worth of samples by the said analog to digital converters and conduct an interpolation from the previous two samples to the currently analyzed sample. Thus, each sample would be stored in the said RAM. The processor would then start from the end of the cycle and analyzing the best sample first and working backwards until each sample is analyzed. The analysis includes plotting the slope of the two previous sample's magnitude and interpolating what the next sample's magnitude based on assuming a sine wave. If the sample falls out at the user programmable boundaries, then the waveform would be recorded.
Waveshape trigger is determined in the IED of the present disclosure by a technique known as interpolation. Interpolation is a method of constructing new data points from a discrete set of known data. In the IED of the present disclosure, this is done by interpolating the previous samples to predict a number as an expectation of a current sample, by comparing these two numbers, if the difference between the expectation number and the current sample is larger than a prescribed threshold, it will flag the wave-shape trigger.
An illustrative, non-limiting example in the IED of the present disclosure employing the use of linear interpolation is using two previous sample, xi−2, xi−1 to calculate an expectation number, yi=2*xi−1−xi−2. The difference between yi, the expectation number, and the current sample xi, will be di=yi−xi.
Note these are operative examples of methods that can be used to determine whether the waveform appearance is in correct. It is contemplated by the present disclosure that the analog to digital converters are sampling at ranges that can be below the bandwidth that the electronic sensors can pass. As such anti-aliasing should be applied to either the hardware using an analog technique or to the firmware using a digital technique to avoid higher level harmonic signals from aliasing to lower level signals. In fact, both analog and digital techniques can be used. The most common anti-alias filter is a low-pass filter. This lets through the lower frequencies and attenuates the higher frequencies. The cut-off frequency (the frequency to which the filter will block signal) will be compatible with the unwanted frequencies above the analog to digital converter measurement bandwidth and the frequencies for which you are measuring. The IED of the present disclosure eliminates unwanted high frequency signals by implementing a low pass filter. It is within the scope of the present disclosure that there are multiple techniques that could be used to filter such unwanted signals and that they are envisioned thereof.
The present disclosure also implements another technique to limit unwanted signals. This technique involves limiting aliasing by making sure the sampling rate, under the Nyquist Theorem, is at least twice the highest input frequency present in the measured signal. This IED presupposes that the sampling will be at least 10 to 20 times the highest frequency component of the real signal. Thus, the higher sampling allows the IED to over-sample the data not allowing the analog to digital converter to be fooled by a higher frequency signals aliasing down into the lower bandwidth sampling. The IED of the present disclosure will utilize such low pass filters and/or digital over-sampling to eliminate the unwanted high frequency signal. This is also very important for not only waveform recording, but to have accurate harmonic measurement techniques. Thus prior to conducting a fast Fourier transform on the sampled waveform samples, the samples will be anti-aliased so that the harmonic content within the waveform can be determined accurately.
There are a number of other ways of removing high frequency noise from the measured signals. The amplifier itself has a high frequency cut-off. An integrating A-D converter will also act as a low-pass filter. Other conditions that are taken into account by the IED design include providing shorter signal wires (as short as possible), using twisted pair wires or shielded wires.
In a further embodiment of the present disclosure, the IED, e.g., electrical power meter, will perform waveform capture and logging of the monitored voltage and current waveforms based on various triggers, as will be described below.
In one embodiment of the IED of the present disclosure, the rigger is determined by the rate of change of a measured parameter. This feature tests the current RMS values of the scaled and conditioned current inputs. Again, this feature is implemented by firmware within at least one DSP Processor or the CPU of the IED and by way of non-limiting illustrative example the processor can be the DSP Processor 70 that triggers on a rate of change, which is defined as the ratio of the present RMS value and the previous RMS value. If the rate of change is above the threshold, then it triggers alerting the user that the rate of change has been exceeded. The trigger will also cause a waveform to be captured for analysis.
For example, at time point T1, current Ia RMS value is updated as ia1, at T2, which is half cycle after T1, current Ia RMS value is updated with a new value ia2, the change of rate is defined as

Cia=ia2/ia1;  (Equation 2)

If Cia is larger than threshold Cia, this event will be triggered.

The waveform envelope filter or the RMS triggers of the waveform recording can be configured to also perform an adaptive trigger in which the values of the triggers will adapt to the steady state power system voltage. As exemplary technique concerning this type of waveform recording includes collecting 15 minutes of one second updated voltage RMS values (900 values). Then running either a block average or a rolling block average or other type of average on the readings. A block average technique consists of adding the 900 voltage readings and dividing by 900 to provide the 15 minute average reading. A rolling average consists of calculating the same block average for the voltage, but rolling the block average over a predetermined interval. Thus, a user selects 3 intervals, then the calculation will be done 3 times in the 15 minute period by adding 900 of the previous 15 minute samples every 5 minutes. It is conceived by the present disclosure that other averaging techniques may be used. Once the average is calculated then the IED will change the triggers assuming that the nominal voltage has changed to the new average voltage value. It is envisioned by this application the average voltage can be a short as a quarter of one cycle and extending as long many hours or days. This is based on user defined power system characteristics and is envisioned by the present disclosure.
The following is an exemplary technique concerning an adaptive trigger. For this example, a simple RMS trigger will be used, however, it is conceived by the present disclosure that adaptive trigger can be used by any of the triggering techniques. Typical power systems utilize either a 120 volt, 69 volt or 220 volt Phase to Neutral nominal. A nominal voltage is generally the base voltage that is provided to a customer. For this example we will presume that a base voltage is 120 volt nominal. Many factors, however, could cause the base voltage to be slightly higher or lower than a perfect nominal. For instance, when a power system is heavily loaded, it may not be able to supply a full 120 volts. Often utility providers can have voltage drift down to 108 volts at full load. If a customer programs the voltage RMS trigger to trip and record an event below 5% of nominal and the nominal is set to 120 volts, the IED will be in a constant trip/recording mode. This is not advantageous because it could cause the IED to record or trip for steady state conditions thus using all the memory resources to store these events and as such, the IED could record over other useful prior events. Thus, the adaptive algorithm looks at the average voltage to determine what the new nominal condition is and then compares the limit to the new “nominal” value based on the average voltage. This adaptation assures that the IED is recording events that are actually not stead state conditions.
The IED of the present disclosure also includes the ability to operate as a circuit protection device. This feature utilizes the CPU 50 or at least one DSP Processor 70 to run the embedded software allowing the IED, in addition to measuring revenue energy readings and calculating power quality as discussed above, to trigger internal relay outputs (with the at least one CPU 50 or DSP 70 (see FIG. 2) when an alarm condition exists on the power system requiring a circuit breaker to trip and remove current flow from the circuit. Using internal relays outputs, one or more outputs are connected to a trip coil of a protective circuit breaker that is placed in line with the flowing current. This trip coil then triggers the circuit breaker mechanism to open the power system circuit thus shutting off the flow of current through the power system and thus protecting the power system from faults, short circuits, unstable voltage, reverse power, or other such dangerous, destructive or undesirable conditions.
The IED calculates protective conditions by using, but not limited to, samples generated by the waveform portion of said IED 16 (see FIGS. 1A and 1B). In the at least one CPU 50 or Processor 70, embedded software is written to collect the waveform samples, filter said samples obtaining fundamental values (if user desired), conduct an RMS or obtain a value if fundamental only on a user defined value of samples, typically one cycle or one half of one cycle of waveform records. The said RMS or fundamental values include but are not limited to Voltage, Current, Frequency and directional Power. The said embedded software also to compares the magnitude value to a known chart which is user defined signifying magnitude and duration of an alarm condition. Often these charts are based on curves which vary in time duration as the magnitude increases as to whether an event is harmful to a circuit, such as the chart shown in FIG. 5. These types of trigger events are contemplated by this disclosure. Once the user defined value exceeded said for the user defined time period, the at least one CPU or Processor will activate an on-board dry contact relay by energizing an I/O pin of said CPU or Processor which is operatively connected to the on-board relay. The relay, by non-limiting example, is a 9 amp, latching mechanical nature relay which is mounted to the IED PC board and connected to a trip coil of a circuit breaker. When energized, this trip coil interrupts the primary current flow of the AC current or voltage circuit being monitored. When the relay is activated by the said CPU or processor in said IED, it will cause the circuit breaker trip coil to trigger the circuit breaker to open and protect the circuit from any harmful current or voltage flowing through the line. The purpose and benefit of this feature is that a user will be able to use said IED for circuit interruption benefits as well as monitoring and metering applications.
To protect a circuit, it is desirable to apply and set the IED to provide maximum sensitivity to faults and undesirable conditions, but to avoid their operation on all permissible or tolerable conditions. Both failure to operate and incorrect operation, can result in major system upsets involving increased equipment damage, increased personnel hazards, and possible long interruption of service. These stringent requirements with high potential consequences tend to result in conservative efforts toward protection.
The instantaneous overcurrent alarm will always have a “tap” or “pickup” setting. These terms are interchangeable. The tap value is the amount of current it takes to get the unit to just barely operate. The instantaneous element is intended to operate with no intentional time delay, although there will be some small delay to make sure the element is secure against false operation. Some applications require a short definite time delay after the element is picked up, before the output relay is operated. The operation of the element is still instantaneous but a definite time is added creating a conflict in terminology; instantaneous with definite time delay.
Time overcurrent alarm closely resembles fuse characteristics; at some level of sustained current the fuse will eventually melt. However, the higher the current above minimum melt, the faster the fuse will melt.
As the IED of the present disclosure may be typically used in a distribution application, speed would be slightly less important than if it were used in transmission where system stability issues require faster fault clearing times. Customers will always request that they want the device to be as fast as possible, but never want to be asked to explain an unwanted operation because the relay made a “trip” decision based on just one or two data samples.
The IED will sample said voltage and current waveform samples and filter said sample to create fundamental values of current and voltage. Harmonics often give the relay false information and are seldom needed, and thus filtered out.
Many of the trip conditions are intended to operate with no intentional time delay, such as instantaneous overcurrent. The IED will support instantaneous trip condition by comparing RMS values generated by the waveform recorder. Fast operation is desirable but should not come at the expense of security. The decision that a trip condition is above pickup setting should not be made on one or two samples being above pickup.
A second technique used with instantaneous trip conditions acknowledges that when the sampled value is several times pickup setting there is more confidence that the current is real and one can trip with less sampling. This results in faster trip times at higher current values. Thus, the IED will analyze the waveform samples using the embedded firmware in one of said CPU or DSP to determine if the said condition exists and thus generate a trip signal.
Instantaneous Overcurrent is required operate within 1.5 cycles at 5 times pickup. The IED will achieve this result by subtracting the operating time of the output relay (probably 4-8 ms) One still has in excess of 1 cycle to make a decision on pickup, which should allow for a secure sampling method.
The IED will be capable of also tripping the said relay for time overcurrent which always includes a time delay, by definition. Time to trip becomes shorter as the current increases above pickup, therefore the timing is to be integrated over time to allow for changes in current after the relay begins timing.
The IED will also utilize trip conditions for voltage and power which are often specified to operate within 5 cycles, which allows an even more secure sampling technique.
Referring to FIGS. 6, 6A, 6B, 6C, 6D, 6E, 6F, 6G, 7, 7A, 7B, 7C, 7D, 7E, 7F, 7G, 7H, 8, 8A, 8B, 8C, 8D, 8E, 8F, 8G, 9, 9A, 9B, 9C, 9D, 9E, 9F, 10, 10A, 10B, 10C, 10D, 10E, 10F, 11, 11A, 11B, 11C, 11D, 11E, 11F, 11G, 12, 12A, 12B, 12C, 12D, 12E, 12F, 13, 13A, 13B, 13C, 13D, 13E, 13F, 14, 14A, 14B, 14C, 14D, 14E, 15, 15A, 15B, 15C, 15D, 15E, 15F, 15G, 16, 16A, 16B, 16C, 16D, 16E, 16F, 16G, 17, 17A, 17B, 17C, 17D, 17E, 17F, 17G, 18, 18A, 18B, 18C, 18D, 18E, 18F, 19, 19A, 19B, 19C, 19D, 19E, 20, 21, 21A, 21B, 21C, 21D, 21E, 21F, 22, 22A, 22B, 22C, 22D, 22E, 23, 23A, 23B, 23C, 23D, 24, 24A, 24B, 24C, 24D, 25, 25A, 25B, 25C, 26, 26A, 26B, 26C, 26D, 26E, 26F, 26G, 27, 27A, 27B, 27C, 27D, 27E, 27F, 27G, 27H, 28, 28A, 28B, 28C, 28D, 28E, 28F, 28G, 28H, 29, 29A, 29B, 29C, 29D, 29E, 29F, 29G, 29H, 30, 30A, 30B, 30C, 30D, 30E, 30F and 30G which show the schematics of the Intelligent Electronic Device of the present disclosure which is described as follows:
The digital board of the IED of the present disclosure is described with reference to FIGS. 6, 6A, 6B, 6C, 6D, 6E, 6F, 6G, 7, 7A, 7B, 7C, 7D, 7E, 7F, 7G, 7H, 8, 8A, 8B, 8C, 8D, 8E, 8F, 8G, 9, 9A, 9B, 9C, 9D, 9E, 9F, 10, 10A, 10B, 10C, 10D, 10E, 10F, 11, 11A, 11B, 11C, 11D, 11E, 11F, 11G, 12, 12A, 12B, 12C, 12D, 12E, 12F, 13, 13A, 13B, 13C, 13D, 13E, 13F, 14, 14A, 14B, 14C, 14D, 14E, 15, 15A, 15B, 15C, 15D, 15E, 15F, 15G, 16, 16A, 16B, 16C, 16D, 16E, 16F, 16G, 17, 17A, 17B, 17C, 17D, 17E, 17F and 17G.
FIGS. 6A and 6B of FIG. 6 shows some of the transient input signals buffered for conditioning and scaling before input to A/D converters.
FIGS. 6C and 6D of FIG. 6 shows additional transient input signals buffered for conditioning and scaling before input to transient A/D converters and shows the clock buffer for the transient A/D converters.
FIG. 6G of FIG. 6 shows more transient input signals buffered for conditioning and scaling before input to A/D converters and shows voltage decoupling capacitors and has a reference voltage for the transient A/D converters and a reference voltage used for offsetting the transient signal properly before going to the transient A/D converters.
FIGS. 6E and 6F of FIG. 6 shows some of the transient input signals buffered for conditioning and scaling before input to A/D converters
FIGS. 7A and 7B of FIG. 7 shows a section of the Programmable Logic Device and the header used to program the FPGA and shows the waveform capture sampling oscillator.
FIGS. 7C, 7D and 7H of FIG. 7 shows I/O signals to the FPGA and voltage inputs to the FPGA and the majority of the signals between the CPU and the FPGA.
FIG. 7G of FIG. 7 shows the majority of the signals between the transient capture A/D converters and the FPGA and the waveform capture data and the FPGA and the revenue measurement data and the FPGA.
FIGS. 7E and 7F of FIG. 7 shows the DSP Processor 60 (or whichever processor the firmware for the DSP Processor 60 resides) interfaces to the FPGA and also the control signals to the analog board and control lines for all I/O cards.
FIGS. 8A and 8B of FIG. 8 shows a section of the DSP Processor 70.
FIGS. 8C and 8D of FIG. 8 shows another section of the DSP Processor 70.
FIG. 8G of FIG. 8 shows the crystal circuit for the DSP Processor 70 and JTAG interface (JTAG stands for Joint Test Action Group and is an IEEE standard interface)—it is understood that the IED of the present disclosure is not limited to any particular interface and that the JTAG interface is an illustrative, non-limiting example.
FIGS. 8E and 8F of FIG. 8 shows voltage inputs for the DSP 70 Processor and shows additional external memory for the DSP processor 70.
FIG. 9B of FIG. 9 shows a portion of the CPU and the bus control signal of the CPU.
FIGS. 9D and 9E of FIG. 9 shows the data bus buffer for the CPU.
FIG. 9F of FIG. 9 shows address bus buffer for the CPU.
FIG. 9A of FIG. 9 shows the address outputs of the CPU and the data bus outputs of the CPU. FIG. 9C shows the digital inputs of the CPU.
FIG. 10A of FIG. 10 shows the RAM memory of the CPU.
FIGS. 10B and 10C of FIG. 10 shows the JTAG interface to the CPU and shows power on reset controller.
FIGS. 10E and 10F of FIG. 10 together show the programmable flash memory for the CPU.
FIG. 10D of FIG. 10 shows the CPU clock buffers and mode select logic for the CPU.
FIG. 10D of FIG. 10 shows the clock oscillator for the CPU.
FIGS. 11A and 11B of FIG. 11 shows the CPU Bus control logic and CPU I/O ports.
FIGS. 11C and 11D of FIG. 11 shows additional CPU I/O ports and shows interface logic between the CPU and the DSP Processor 60 (or whichever processor the firmware for the DSP Processor 60 resides).
FIG. 11G of FIG. 11 shows the Ethernet buffer between the CPU and the I/O cards and additional logic interface signal between the CPU and the DSP Processor 60 (or whichever processor the firmware for the DSP Processor 60 resides).
FIGS. 11E and 11F of FIG. 11 shows additional CPU Bus control logic signals and CPU Ethernet control signals and Ethernet buffers between the CPU and the I/O Board and the Digital input signals to the CPU.
FIG. 12A of FIG. 12 shows power and ground to the CPU.
FIGS. 12B and 12C of FIG. 12 shows power and ground to the CPU.
FIGS. 12E and 12F of FIG. 12 shows voltage decoupling circuit for CPU and for the DSP Processor 70.
FIG. 12D of FIG. 12 shows more voltage decoupling circuitry for CPU and the DSP Processor 70.
FIGS. 13A and 13B of FIG. 13 shows voltage regulator for DSP Processor 70, CPU, FPGA and voltage regulator for transient capture A/D converters.
FIG. 13C of FIG. 13 Voltage regulator for transient detection circuitry and voltage decoupling capacitors and also shows DSP Processor 60 (or whichever processor the firmware for the DSP Processor 60 resides) voltage decoupling circuits.
FIGS. 13E and 13F of FIG. 13 Voltage regulator for miscellaneous digital logic and shows voltage decoupling capacitors.
FIG. 13D of FIG. 13 shows voltage regulator for CPU and voltage regulator for DSP Processor 70.
FIGS. 14A and 14B of FIG. 14 shows buffers for I/O cards and I/O card 1 connector and signals.
FIGS. 14C and 14D of FIG. 14 shows I/O card 2 and I/O card 3 connectors and I/O signals.
FIG. 14E of FIG. 14 shows I/O card buffers.
FIGS. 15A and 15B of FIG. 15 shows I/O card buffers and analog input card connector and signals.
FIGS. 15C and 15D of FIG. 15 shows I/O card 4 and I/O card 5 connectors and I/O signals.
FIG. 15G of FIG. 15 shows I/O card buffers and termination resistors.
FIGS. 15E and 15F of FIG. 15 shows I/O card termination resistors and CPU termination resistors.
FIG. 16A of FIG. 16 shows USB transceiver and same miscellaneous signal buffers and USB clock oscillator.
FIGS. 16B and 16C and 16E and 16F of FIG. 16 show compact flash connector interface and LCD controller and LCD buffers.
FIGS. 16D and 16G of FIG. 16 shows LCD I/O connector, Audio DAC (Digital to Analog Converter) and front panel connectors and I/O Board buffers.
FIGS. 17A, 17B, 17D and 17E of FIG. 17 together show real time clock, power reset controller, and DSP Processor 60 (or whichever processor the firmware for the DSP Processor 60 resides)
FIGS. 17C and 17D of FIG. 17 shows RAM and FLASH Memory and DSP Processor's 60 (or whichever processor the firmware for the DSP Processor 60 resides) address buffers.
FIGS. 17F and 17G of FIG. 17 shows additional RAM and FLASH Memory.
FIGS. 18A, 18B, 18C, 18D, 18E AND 18F of FIG. 18 illustrate the high speed digital input circuitry, an Ethernet connector, I2C serial EEPROM, voltage regulators and an IRIG-B interface.
FIGS. 19A, 19B, 19C, 19D, and 19E of FIG. 19 illustrate Ethernet circuitry and buffers and a first 10/100 Base-TX/FX transceiver. The Ethernet circuitry allows the meter to send communications to other computers such as PCs, cell phones, building management systems, remote terminal units, other IEDs or other similar types of systems. Using the Ethernet technology, the IED will be able to send or receive emails consisting of user alarms, new firmware updates or any other desired data as attachments to the email. In addition, the Ethernet card will have capabilities of communicating data via HTTP, Modbus TCP, FTP, XML and SNMP. The SNMP allows data to be transferred to building managements systems and other types of software solutions. For example, FIG. 2B illustrates a flow chart of a method executed by at least one of the processors described above in relation to FIGS. 1 and 2 for converting data to employ the various protocols described above. In step 109, the at least one processor receives a message in at least one first protocol; parses the message, step 111; converts the message from the at least one first protocol to at least one second protocol, step 113; and provides an output based on the message, step 115.
Simple Network Management Protocol (SNMP) is a tool used to monitor any network device configured with a SNMP agent software. In this case, the SNMP protocol will be embedded into the IED and be available via the Ethernet circuitry disclosed in FIGS. 19A, 19B, 19C, 19D and 19E. This is traditionally used for monitoring network infrastructure devices but in this case, the protocol is being adapted to utilize the existing infrastructure to allow the IED to report alarms and data via this infrastructure. The SNMP agent, which is an optional component of MICROSOFTTM Windows Server application, interacts with third-party SNMP management software to enable the flow of network status information between monitored devices and applications and the management systems that monitor them. Within this environment, the IED will report back additional data such as instantaneous readings, alarms and/or outages. Moreover, this protocol could be extended to allow a windowing of data so that actual captured waveforms, historical logs, or email messages as disclosed herein can be transferred through the SNMP architecture.
SNMP has the best utility in environments that include large networks with hundreds or thousands of nodes that would otherwise be difficult and costly to monitor. SNMP allows monitoring of network devices such as servers, workstations, printers, routers, bridges, and hubs, as well as services such as Dynamic Host Configuration Protocol (DHCP) or Windows Internet Name Service (WINS).
In addition to sending data via SNMP, the meter will also be configured to be a Modbus TCP slave device in which a client application or other software can request Modbus TCP data simultaneously. The IED will have intelligence to parse Modbus TCP commands by reading the command and interpreting the message and providing an output specific to the requested command. Utilizing this technique, the meter will be able to parse Modbus TCP on one or more open virtual channels (sockets) through the Ethernet port. Thus, multiple users can send Modbus TCP commands to the IED and the IED will be one of them separately and return the appropriate answer. Unique to the present disclosure, the meter will also be able to provide data using the SNMP architecture while continuing to communicate via Modbus TCP. This is performed utilizing software resident in at least one processor in the IED. The importance this multiplexing architecture is that it allows the meter to communicate via Modbus while sending data via SNMP. A common use for Modbus TCP is to communicate to PC software and power monitoring servers. In conventional meters not employing the techniques of the present disclosure, the IED would be required to stop communicating with one application to feed data to another. The meter of the present disclosure allows both to be accomplished simultaneously. Moreover, it is envisioned by the present disclosure that other communications may also be added to this multiplexing architecture such as emails, FTP, DNP over Ethernet, IEC 61850 or any other serial, serial encapsulated or native Ethernet protocol.
FIG. 20 illustrates a main power supply interface board.
FIGS. 21A, 21B, 21C, 21D, 21E and 21F of FIG. 21 illustrates a front panel interface board.
FIGS. 22A, 22B, 22C, 22D, and 22E of FIG. 22 illustrate various outputs of the network board including a RJ46 option (FIG. 22A); fiber optic options (FIGS. 22D and 22E); and a wireless option, e.g. 802.11 (FIGS. 22B and 22C).
FIGS. 23A, 23B, 23C AND 23D of FIG. 23 illustrate Ethernet circuitry and buffers and a second 10/100 Base-TX/FX transceiver.
FIGS. 24A, 24B, 24C and 24D of FIG. 24 illustrate 2 channels of RS-485 communication circuitry.
FIGS. 25A, 25B and 25C of FIG. 25 illustrate circuitry for pulsed outputs (also known as KYZ outputs).
FIG. 26A of FIG. 26 illustrates the current input channels and voltage transient buffers.
FIGS. 26B and 26D of FIG. 26 illustrate the voltage input channels and voltage transient buffers.
FIGS. 26E, 26F and 26G of FIG. 26 illustrates a high voltage regulator.
FIGS. 26C and 26D of FIG. 26 illustrate a I2C serial EEPROM and a temperature sensing circuit employed for calibration.
FIGS. 27A,27D and 27G of FIG. 27 illustrate calibration circuitry.
FIGS. 27B, 27C, 27E, 27F and 27H of FIG. 27 illustrate voltage and current buffers (also known as conditioning circuitry) for the revenue measuring path described above.
FIG. 28A of FIG. 28 shows a waveform capture voltage scaling and conditioning circuits and waveform capture current scaling and conditioning circuits.
FIGS. 28D and 28G of FIG. 28 shows additional waveform capture voltage scaling and conditioning circuits and additional waveform capture current scaling and conditioning circuits.
FIGS. 28E, 28F AND 28H of FIG. 28 shows signal selection for A/D inputs for waveform capture circuit and buffer for A/D inputs for waveform capture A/D.
FIGS. 28B and 28C of FIG. 28 shows additional buffer drivers to drive A/D inputs for waveform capture A/D.
FIGS. 29A, 29B, 29C and 29D of FIG. 29 together show A/D circuit for measurement of revenue currents.
FIGS. 29E, 29F, 29G and 29H of FIG. 29 shows A/D circuit for measurement of revenue voltages and the zero crossing detection circuit.
FIG. 29D of FIG. 29 shows rest of the zero crossing circuit.
FIGS. 30A and 30B of FIG. 30 show part of voltage decoupling capacitor circuits.
FIG. 30E of FIG. 30 shows additional decoupler circuits.
FIG. 30F with FIG. 30G of FIG. 30 together show I/O connectors and signals.
FIG. 30G of FIG. 30 shows digital output buffer of the A/Ds for the revenue measurement circuit.
FIGS. 30C and 30D of FIG. 30 shows the waveform capture A/Ds and the digital output buffers for the waveform capture A/Ds.
While presently preferred embodiments have been described for purposes of the disclosure, numerous changes in the arrangement of method steps and apparatus parts can be made by those skilled in the art. Such changes are encompassed within the spirit of the disclosure as defined by the appended claims.
Furthermore, although the foregoing text sets forth a detailed description of numerous embodiments, it should be understood that the legal scope of the present disclosure is defined by the words of the claims set forth at the end of this patent. The detailed description is to be construed as exemplary only and does not describe every possible embodiment, as describing every possible embodiment would be impractical, if not impossible. One could implement numerous alternate embodiments, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims.
It should also be understood that, unless a term is expressly defined in this patent using the sentence “As used herein, the term ‘______ ’ is hereby defined to mean . . . ” or a similar sentence, there is no intent to limit the meaning of that term, either expressly or by implication, beyond its plain or ordinary meaning, and such term should not be interpreted to be limited in scope based on any statement made in any section of this patent (other than the language of the claims). To the extent that any term recited in the claims at the end of this patent is referred to in this patent in a manner consistent with a single meaning, that is done for sake of clarity only so as to not confuse the reader, and it is not intended that such claim term be limited, by implication or otherwise, to that single meaning. Finally, unless a claim element is defined by reciting the word “means” and a function without the recital of any structure, it is not intended that the scope of any claim element be interpreted based on the application of 35 U.S.C. §112, sixth paragraph.

## Claims

1. An intelligent electronic device (IED) for recording at least one waveform of an AC power system, the IED comprising:
a voltage input circuit operative to sense line voltage from the AC power system and generate at least one voltage signal representative of the voltage sensed from the AC power system;
at least one analog-to-digital converter circuit configured to sample the at least one voltage signal to output digital samples representative of said voltage input circuit;
at least one processor operatively coupled to said analog-to-digital converter and configured to perform at least one mathematical computation on samples received from the analog-to-digital converter;
at least one volatile memory operatively coupled to said at least one processor to receive samples from the analog-to-digital converter; and
at least one plug-in type non-volatile memory operatively coupled to said at least one processor, wherein the at least one processor is configured to transfer samples from the at least one volatile memory to the at least one non-volatile memory upon an event.

2. The IED of claim 1, wherein the non-volatile memory is compact flash type memory.

3. The IED of claim 1, wherein the non-volatile memory is USB memory stick.

4. The IED of claim 1, wherein the event is user defined.

5. The IED of claim 1, wherein the at least one processor is configured to record a time and date of the event and transfer the time and date with the samples.

6. The IED of claim 1, wherein the non-volatile memory is a flash type memory.

7. The IED of claim I, wherein the event includes when a result of the at least one mathematical computation exceeds a predetermined threshold.

8. The IED of claim 1, wherein the event includes when at least one of the digital samples exceeds a predetermined threshold.

9. The IED of claim 1, wherein the at least one processor is configured to detect the event by an adaptive trigger computation on the received samples.

10. The IED of claim 1, wherein the at least one processor is configured to detect the event by a waveshape trigger computation on the received samples.

11. The IED of claim 1, wherein the at least one processor is configured to detect the event by a rate of change trigger computation on the received samples.

12. The IED of claim 1, wherein the at least one non-volatile memory is configured to include a series of bins that are used to store a count of a number of power quality events within a user defined period of time for a range of values for one at least one parameter.

13. The IED of claim 12, wherein the at least one parameters is frequency fluctuations of the AC power system.

14. The IED of claim 1, wherein the event is a power quality event.

15. The IED of claim 14, wherein the power quality event is at least one of a voltage dip and a voltage swell.

16. The IED of claim 1, wherein the at least one processor is configured to detect the event when at least one harmonic frequency of the at least one waveform is above a user defined threshold.

17. The IED of claim 16, wherein the at one processor determines the at least one harmonic frequency by performing a Fast Fourier Transform (FFT) on at least one cycle of samples.

18. The IED of claim 1, wherein the at least one processor is configured to detect the event by comparing a magnitude and duration of the received samples to a predetermined curve of samples.

19. The IED of claim 18, wherein the event is an alarm condition.

20. The IED of claim 19, further comprising a relay configured to interrupt current flow of the AC power system sensed by the IED, wherein the at least one processor energizes the relay upon detecting the event.

21. The IED of claim 1, further comprising a communication device for sending an alarm, limit, or measured data via Ethernet protocol.

22. The IED of claim 21, wherein the communication device sends said data utilizing SNMP protocol.

23. The IED of claim 21, wherein the communication device includes an RJ45 port.

24. The IED of claim 23, further comprising a wireless network and an antenna.

25. The IED of claim 1, wherein the samples include voltage and current waveform records.

26. The IED of claim 25, further comprising a graphic display for displaying the waveform records.

27. The IED of claim 25, further comprising a graphic display for displaying the waveform records with a time stamp.

28. The IED of claim 27, wherein the graphic display displays status input changes.

29. The IED of claim 28, further comprising means for producing audible sounds.