System and method for filtering harmonic frequencies in an electrical energy meter
10816578 ยท 2020-10-27
Assignee
Inventors
Cpc classification
G01R19/2506
PHYSICS
International classification
Abstract
An electrical energy meter includes an A/D converter and a processing circuit. The A/D converter is configured to generate digital samples of voltage and current waveforms in a polyphase electrical system. The processing circuit is operably coupled to receive the digital samples from the A/D converter and to integrate over time at least one digital sample multiple times to produce a filtered value from which harmonic distortion has been removed, identify a fundamental frequency only electrical parameter measurement for the polyphase electrical system with reference to the filtered value, and store the identified fundamental frequency only electrical parameter measurement in a data store.
Claims
1. An electrical energy meter comprising: a) an A/D converter configured to generate contemporaneously digital samples of voltage and current waveforms in a polyphase electrical system; and b) a processing circuit operably coupled to receive the digital samples of voltage and current waveforms from the A/D converter, the processing circuit configured to: integrate over time at least one of the digital samples of the voltage waveform or the digital samples of the current waveform multiple times to produce a filtered value from which harmonic distortion has been removed; identify a fundamental frequency only electrical parameter measurement for the polyphase electrical system with reference to the filtered value; and store the identified fundamental frequency only electrical parameter measurement in a data store.
2. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample of the voltage waveform any number of times, M, before using the filtered value for the voltage waveform in an RMS calculation to identify the fundamental frequency only electrical parameter measurement for voltage with harmonics filtered at a rate of (1/N).sup.M, where N is a harmonic number.
3. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample of the current waveform any number of times, M, before using the filtered value for the current waveform in an RMS calculation to identify the fundamental frequency only electrical parameter measurement for current with harmonics filtered at a rate of (1/N).sup.M, where N is a harmonic number.
4. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample for the voltage waveform and the at least one contemporaneous digital sample for the current waveform any number of times, M, before multiplying the filtered value for the voltage waveform with the filtered value for the current waveform to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.M, where N is a harmonic number.
5. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample for the voltage waveform any number of times, 4*M, before multiplying the filtered value for the voltage waveform with the at least one contemporaneous digital sample for the current waveform that has not been integrated to get the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.4M, where N is a harmonic number.
6. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample for the voltage waveform any number of times, 2*M, before multiplying the filtered value for the voltage waveform with the at least one contemporaneous digital sample for the current waveform to produce a product and inverting a sign of the product to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.2M, where N is a harmonic number.
7. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample for the current waveform any number of times, 4*M, before multiplying the filtered value for the current waveform with the at least one contemporaneous digital sample for the voltage waveform to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.4M, where N is a harmonic number.
8. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample for the current waveform any number of times, 2*M, before multiplying the filtered value for the current waveform with the at least one contemporaneous digital sample for the voltage waveform to produce a product and inverting a sign of product to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.2M, where N is a harmonic number.
9. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one contemporaneous digital sample for the voltage waveform any number of times, M+1, and the at least one contemporaneous digital sample for the current waveform any number of times, M, before multiplying the filtered value for the voltage waveform and the filtered value for the current waveform together to identify the fundamental frequency only electrical parameter measurement for reactive power in VARs with harmonics filtered at a rate of (1/N).sup.M+1, where N is a harmonic number.
10. The electrical energy meter of claim 1, the processing circuit being further configured to: integrate the at least one of the digital samples of the voltage waveform or the digital samples of the current waveform M times to produce the filtered value, wherein harmonics of the digital samples of the voltage waveform or the digital samples of the current waveform are filtered at a rate of (1/N).sup.M, where N is a harmonic number.
11. A method of operating an electrical energy meter comprising: generating contemporaneously with an A/D converter digital samples of voltage and current waveforms in a polyphase electrical system; receiving with a processing circuit the digital samples of voltage and current waveforms from the A/D converter; integrating with the processing circuit over time at least one of the digital samples of the voltage waveform or the digital samples of the current waveform multiple times to produce a filtered value from which harmonic distortion has been removed; identifying with the processing circuit a fundamental frequency only electrical parameter measurement for the polyphase electrical system with reference to the filtered value; and storing the identified fundamental frequency only electrical parameter measurement in a data store.
12. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample of the voltage waveform any number of times, M, before using the filtered value for the voltage waveform in an RMS calculation to identify the fundamental frequency only electrical parameter measurement for voltage with harmonics filtered at a rate of (1/N).sup.M, where N is a harmonic number.
13. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample of the current waveform any number of times, M, before using the filtered value for the current waveform in an RMS calculation to identify the fundamental frequency only electrical parameter measurement for current with harmonics filtered at a rate of (1/N).sup.M, where N is a harmonic number.
14. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample for the voltage waveform and the at least one contemporaneous digital sample for the current waveform any number of times, M, before multiplying the filtered value for the voltage waveform with the filtered value for the current waveform to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.M, where N is a harmonic number.
15. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample for the voltage waveform any number of times, 4*M, before multiplying the filtered value for the voltage waveform with the at least one contemporaneous digital sample for the current waveform that has not been integrated to get the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.4M, where N is a harmonic number.
16. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample for the voltage waveform any number of times, 2*M, before multiplying the filtered value for the voltage waveform with the at least one contemporaneous digital sample for the current waveform to produce a product and inverting a sign of the product to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.2M, where N is a harmonic number.
17. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample for the current waveform any number of times, 4*M, before multiplying the filtered value for the current waveform with the at least one contemporaneous digital sample for the voltage waveform to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.4M, where N is a harmonic number.
18. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample for the current waveform any number of times, 2*M, before multiplying the filtered value for the current waveform with the at least one contemporaneous digital sample for the voltage waveform to produce a product and inverting a sign of product to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.2M, where N is a harmonic number.
19. The method of claim 11 further comprising: integrating with the processing circuit the at least one contemporaneous digital sample for the voltage waveform any number of times, M+1, and the at least one contemporaneous digital sample for the current waveform any number of times, M, before multiplying the filtered value for the voltage waveform and the filtered value for the current waveform together to identify the fundamental frequency only electrical parameter measurement for reactive power in VARs with harmonics filtered at a rate of (1/N).sup.M+1, where N is a harmonic number.
20. The method of claim 11 wherein integrating with the processing circuit over time at least one of the digital samples of the voltage waveform or the digital samples of the current waveform multiple times to produce a filtered value from which harmonic distortion has been removed, comprises: integrating with the processing circuit the at least one of the digital samples of the voltage waveform or the digital samples of the current waveform M times to produce the filtered value, wherein harmonics of the digital samples of the voltage waveform or the digital samples of the current waveform are filtered at a rate of (1/N).sup.M, where N is a harmonic number.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) The features and advantages of the meter and method described in this document will become more readily apparent to those of ordinary skill in the art by reference to the following detailed description and accompanying drawings.
(9)
(10) In the embodiment described herein, the scaling circuit 110 and the ADC circuit 114 are arranged to generate digital signals representative of line voltage waveforms V.sub.A, V.sub.B, V.sub.C for each of three phases A, B, C of a four-wire delta electrical system and other digital signals representative of at least three of the four-line current waveforms I.sub.A, I.sub.B, I.sub.C and I.sub.N of the four-wire delta electrical system, which are illustrated in
(11) The processing circuit 116 is configured to calculate one or more energy consumption values based on the digital signals. The energy consumption values may be communicated to a remote device using the communication circuit 118, displayed using the display 120, stored in the data store 112, or preferably some combination of the foregoing operations. In accordance with the embodiments described herein, the processing circuit 116 is further operable to perform any or all of the calculations described herein.
(12) In a further detailed description of the meter 10 of
(13) The ADC circuit 114 includes one or more analog-to-digital converters that convert the scaled measurement signals into digital voltage and current measurement signals. Many circuits capable of generating digital voltage and circuit waveform signals are well known in the art. Suitable examples of analog to digital conversion circuits having such capabilities are described in U.S. Pat. Nos. 6,374,188; 6,564,159; 6,121,158 and 5,933,004, all of which are incorporated herein by reference. Moreover, the ADC circuit 114 may readily be a part of an integrated metering chip package.
(14) The processing circuit 116 is a device that employs one or more processing devices such as microprocessors, microcontrollers, digital signal processors, discrete digital circuits and combinations of these devices. As mentioned above, the processing circuit 116 is operable to generate energy consumption data based on the digital signals. As discussed below, the processing circuit 116 repetitively integrates a voltage or current waveform to remove harmonic distortion from the signal for more accurate calculation of fundamental frequency only electrical parameter measurements, such as the root-mean-square voltage, root-mean-square current, active energy, and reactive energy, all at the fundamental frequency. Additionally, the processing circuit 116 may generate VA, VAh, watt-hours, VAR-hrs, power factor, or combinations of any these measurements. Various processing circuits operable to generate energy consumption data from digital voltage and digital current measurement signals are well known in the art. Suitable examples of such circuits are described in U.S. Pat. Nos. 6,374,188; 6,564,159; 6,121,158; and 5,933,004. However, in one preferred embodiment, the processing circuit is (or includes) a processing element of a metering integrated circuit chip such as the Teridian MAX71071 measurement circuit available from MAXIM Integrated. In that embodiment, both the ADC circuit 114 and the processing circuit 116 are disposed within the same semiconductor package.
(15) The processing circuit 116 is further operable to store the plurality of energy consumption values in the data store 112. In some embodiments, the processing circuit 116 may store energy consumption values for each of plurality of time periods, in order to allow analysis of energy usage at different times of day, days of the week or month, or even seasonally. The storage of consumption indexed to time periods is known in the industry as load profiling. The data store 112 may suitably be a random access memory, EEPROM, other memory, or a combination of several types of memory. In still other embodiments, the data store 112 may include a circular buffer, FIFO device, or other memory that stores data in the order in which it is received. Other known methods may be used. In at least some embodiments, the data store 112 includes memory located within the integrated package that houses the processing circuit 116. The data store 112 also includes a software program that is executed by the processing circuit 116 to perform the operations of the processing circuit 116 described in this document, including those of
(16) The communication circuit 118 is a device that is in some embodiments configured to communicate data between the metering unit 10 and one or more remote devices. In a system such as that shown in
(17) The meter display 120, which is optional, may be a digital display such as a liquid crystal display. While the exact nature of the display is not particularly important to the implementation of the invention, the inclusion of at least some display capability provides advantages for use of the meter. LCD displays, moreover, have been found to provide a particularly advantageous set of qualities for use in electronic meters.
(18)
(19) In general, the meter 10 is operably connected to obtain the voltage measurements V.sub.A, V.sub.B, and V.sub.C, and the current measurements I.sub.A, I.sub.B, I.sub.C and I.sub.N. More specifically, the scaling unit 110 is operably coupled to generate voltage measurement signals V.sub.A, V.sub.B, V.sub.C, I.sub.A, I.sub.B, I.sub.C and I.sub.N, and provide those signals to the ADC circuit 114. In several embodiments described herein, only three of the four current values I.sub.A, I.sub.B, I.sub.C and I.sub.N need be digitized and stored. Typically I.sub.N is not digitized because it is usually derived from the sum of I.sub.A, I.sub.B, and I.sub.C.
(20) The signal V.sub.A represents a scaled version of the voltage from the phase A line 212 to neutral 218. The signal V.sub.B represents a scaled version of the voltage from the phase B line 214 to neutral 218, and the signal V.sub.C represents a scaled version of the voltage from the phase C line 216 to neutral 218. The signal I.sub.A represents a scaled version of the current on the phase A line 212, signal I.sub.B represents a scaled version of the current on the phase B line signal 214, and I.sub.C represents a scaled version of the current on the phase C line 216. The signal I.sub.N represents a scaled version of the current on the neutral line 218.
(21) The ADC circuit 114, in turn, contemporaneously samples each of the waveforms V.sub.A, V.sub.B, V.sub.C, I.sub.A, I.sub.B, I.sub.C and I.sub.N, and generates corresponding digital sample streams V.sub.A(s), V.sub.B(s), V.sub.C(s), I.sub.A(s), I.sub.B(s), I.sub.C(s), and I.sub.N(s). The value s represents a sample index, which corresponds directly to a time increment. The sample rate s/sec is typically many times the fundamental cycle frequency of the AC waveform, such that the samples collectively provide an accurate sampled representation of the corresponding analog waveform. The minimum sample rate is the Nyquist frequency, which is twice the highest frequency in the monitored waveform. The operations of the scaling unit 110 and the ADC circuit 114 as discussed above are conventional.
(22) Some specifications, such as certain International Electrotechnical Commission (IEC) specifications, require electrical energy meters to make accurate measurements for aggregate metrics, which contain all frequency components of the monitored signal, while some markets, such as Canada, require that the meter provide energy measurements based only on the fundamental frequency. These measurements remove energy present in the harmonics of the fundamental frequency. While the removal of the harmonic distortion present in these harmonics is possible by augmenting the circuitry associated with the processing circuit 116 with other filtering components, the meter and method described below use existing resources available in the processing circuit 116 for that purpose. Thus, the measurements of electrical parameters at the fundamental frequency are made more efficiently and do not require existing meters to be retrofitted with additional components. Instead, the programmed instructions executed by the processing circuit 116 are modified to use existing capabilities in the processing circuit to obtain the electrical parameter measurements without the harmonic distortions in the harmonics of the fundamental frequency.
(23) Generally, voltage potential with both fundamental and harmonic frequencies can be expressed as:
(24)
(25) Integrating the above with respect to time:
(26)
(27) then scaling the integration by 2f.sub.0 and removing the constant of integration C.sub.0 provides the first approximation to the quadrature of the potential:
(28)
(29) Performing the integration and scaling for any odd number of iterations results in an approximation to the voltage quadrature, with each n.sup.th harmonic component being reduced by the scaling factor 1/n.sup.i (where i is the i.sup.th integration):
(30)
(31) This process was simulated with a computer using Matlab. A voltage waveform with substantial harmonic content was generated and then processed by a three-stage integration. The generated voltage waveform contained odd harmonics up to the 23.sup.rd harmonic and the magnitudes of the harmonics were inversely proportional to the number of the corresponding harmonic. The simulated waveform is a good approximation of a rectangular waveform and is shown in
(32)
The total harmonic distortion for this waveform is 46.1% and the harmonic spectrum of the waveform is shown in
(33) After the first stage of integration, the total harmonic distortion is reduced to 12.1% and the resulting waveform is shown in
(34) As can be seen in the figures, each integration stage filters a portion of the non-fundamental components of the signal. The portion of any given harmonic, N, that remains in a signal after an integration stage is 1/N. Since the integrator is already available in the processing circuit 116, the circuit can be configured with additional programmed instructions to loop a voltage or current waveform sample stream through the integrator multiple times to achieve a highly filtered signal. The portion of harmonic content that remains in the resulting signal is: (1/N).sup.M, where N is the harmonic number and M is the number of integrations used. Multiple integrations can be applied a voltage or current waveform sample stream to achieve a fundamental frequency only voltage and a fundamental only current, respectively, and these values can be used to obtain an active energy value and an reactive energy value for the fundamental frequency. For example, the fundamental frequency only reactive energy can be obtained by integrating the voltage signal five times and multiplying the result by the non-integrated current sample. The number of integrations is balanced between the amount of filtering needed and the delay that can be tolerated for obtaining the filtration as there is a cycle delay for the integration stage to be primed at start-up.
(35) The multiple integrations of a voltage or current sample can be used to obtain a number of accurate fundamental frequency only measurements. Among these are the following:
(36) (1) Integrating the voltage any number of times, M, before using the filtered value in an RMS calculation to identify the fundamental frequency only electrical parameter measurement for voltage with harmonics filtered at a rate of (1/N).sup.M.
(37) (2) Integrating the current any number of times, M, before using the filtered value in an RMS calculation to identify the fundamental frequency only electrical parameter measurement for current with harmonics filtered at a rate of (1/N).sup.M.
(38) (3) Integrating the voltage and current any number of times, M, before multiplying them together to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.M.
(39) (4) Integrating the voltage any number of times, 4*M, before multiplying the filtered value with the non-integrated contemporaneous current sample to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.4M.
(40) (5) Integrating the voltage any number of times, 2*M, before multiplying the filtered value with the contemporaneous non-integrated current sample and inverting the sign to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.2M.
(41) (6) Integrating the current any number of times, 4*M, before multiplying the filtered value with the non-integrated contemporaneous voltage sample to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.4M.
(42) (7) Integrating the current any number of times, 2*M, before multiplying the filtered value with the non-integrated contemporaneous voltage sample and inverting the sign to identify the fundamental frequency only electrical parameter measurement for true power in watts with harmonics filtered at a rate of (1/N).sup.2M.
(43) (8) Integrating the voltage any number of times, M+1, and the current any number of times, M, before multiplying the filtered values together to identify the fundamental frequency only electrical parameter measurement for reactive power in VARs with harmonics filtered at a rate of (1/N).sup.M+1.
(44) A process 700 that can be implemented by the meter described above is shown in
(45) The process 700 requires that the number of voltage integrations N and the number of current integrations M be passed to the processing circuit for execution of the programmed instructions that implement the process (block 704). The number of voltage integrations left to perform is initialized to the number N and the number of voltage integrations left to perform is initialized to the number M (block 708). If the number of voltage integrations left is non-zero (block 712), then a voltage sample is integrated (block 716). The number of voltage integrations left is decremented by one and the result of the integration is integrated again if the number of voltage integrations left is non-zero (blocks 712 and 716). Once the number of voltage integrations left reduces to zero, the voltage sample has been integrated N times. The process then determines whether the number of current integrations left is non-zero (block 720), then a current sample contemporaneously generated with the voltage sample already filtered is integrated (block 724). The number of current integrations left is decremented by one and the result of the integration is integrated again if the number of current integrations left is non-zero (blocks 720 and 724). Once the number of current integrations left reduces to zero, the current sample has been integrated M times. The integrated values of the voltage and current can then be used in the calculations identified above for the eight electrical parameter measurements according to the number of times the current, the voltage, or both were integrated (block 728). The fundamental frequency only electrical parameter measurements can be stored, displayed, and transmitted.
(46) The reader should appreciate that the above describe embodiments are merely illustrative, and that those of ordinary skill in the art may readily devise their own modifications and implementations that incorporate the principles of the present invention and fall within the spirit and scope thereof.