METHOD OF ADJUSTING AN ELECTRICITY METER
20230236275 · 2023-07-27
Inventors
- Henri TEBOULLE (RUEIL MALMAISON, FR)
- Christophe GRINCOURT (RUEIL MALMAISON, FR)
- Sébastien NOIRET (RUEIL MALMAISON, FR)
Cpc classification
International classification
Abstract
A method of adjusting an electricity meter (1), the method comprising the steps of: measuring the frequency of the distribution grid (3); if the difference between the frequency of the distribution grid and a first frequency is less that a first predetermined threshold, adjusting the measurement module (10) by using first calibration parameters that were produced during a stage of calibrating the meter; if the difference between the frequency of the grid and the first frequency is greater than or equal to the first predetermined threshold, calculating second calibration parameters from the first calibration parameters and from adaptation parameters, and adjusting the measurement module (10) by using the second calibration parameters.
Claims
1. An adjustment method for adjusting a measurement module of an electricity meter connected to a distribution grid, the method comprising the following steps that are implemented in the electricity meter following installation of the electricity meter in an operating position: acquiring at least one measurement of the frequency of the distribution grid; if the difference between the frequency of the distribution grid and a first frequency is less that a first predetermined threshold, adjusting the measurement module by using first calibration parameters that were produced and stored in the electricity meter during a calibration stage performed prior to installing the meter in the operating position; if the difference between the frequency of the distribution grid and the first frequency is greater than or equal to the first predetermined threshold, calculating second calibration parameters from the first calibration parameters and from adaptation parameters, and adjusting the measurement module by using the second calibration parameters, the adaptation parameters comprising first adaptation parameters evaluated at the first frequency and second adaptation parameters evaluated at a second frequency, the second frequency being such that the difference between the frequency of the distribution grid and the second frequency is less that a second predetermined threshold.
2. The adjustment method according to claim 1, wherein, for each phase line of the distribution grid, the measurement module is arranged to acquire measurements of the phase voltage and of the phase current that are present on said phase line, the measurement module including at least one lowpass filter arranged to suppress harmonics from the phase voltage and from the phase current so as to produce the fundamental phase voltage and the fundamental phase current, the adaptation parameters comprising parameters for the lowpass filter.
3. The adjustment method according to claim 2, wherein the parameters for the lowpass filter comprise the modulus at the first frequency of a Z transform of a transfer function of the lowpass filter, and the modulus at the second frequency of said Z transform.
4. The adjustment method according to claim 3, wherein the first calibration parameters comprise first parameters K.sub.U.sub.
K.sub.U.sub.
K.sub.I.sub.
5. The adjustment method according to claim 3, wherein the parameters for the lowpass filter also comprise its phase at the first frequency of said Z transform, and its phase at the second frequency of said Z transform.
6. The adjustment method according to claim 5, the electricity meter including or being connected to a current sensor that includes a current transformer and that is arranged to produce the measurements of the phase current, the adaptation parameters also comprising at least one parameter for the current transformer.
7. The adjustment method according to claim 6, wherein the adaptation parameters also comprise at least one parameter for at least one electronic component of a current measurement circuit that is connected to the current transformer.
8. The adjustment method according to claim 7, wherein the electronic component is an amplifier.
9. The adjustment method according to claim 8, wherein the first calibration parameters also comprise the phase shift with harmonics Δφ.sub.1Harmonics and the fundamental phase shift Δφ.sub.1Fundamental, and the second calibration parameters also comprise the phase shift with harmonics Δφ.sub.2Harmonics and the fundamental phase shift Δφ.sub.2Fundamental, which calibration parameters are used by the measurement module to evaluate a compensated active power and a compensated reactive power as delivered by the distribution grid, the phase shift with harmonics Δφ.sub.2Harmonics and the fundamental phase shift Δφ.sub.2Fundamental being obtained by calculating:
Δφ.sub.2Fundamental=Δφ.sub.1Fundamental+(φ(H(Z)).sub.2−φ(H(Z)).sub.1)+(φ.sub.Trans 2−φ.sub.Trans 1)+(φ.sub.Amp_2−φ.sub.Amp_1)
and
Δφ.sub.2 Harmonics=Δφ.sub.1 Harmonics+(φ.sub.Trans 2−φ.sub.Trans 1)+(φ.sub.Amp_2−φ.sub.Amp_1) where is φ(H(Z)).sub.1 is the phase of the Z transform at the first frequency, φ(H(Z)).sub.2 is the phase of the Z transform at the second frequency, φ.sub.Trans_1 is the phase at the first frequency of the current transformer, φ.sub.Trans_2 is the phase at the second frequency of the current transformer, φ.sub.Amp_1 is the phase at the first frequency of the amplifier of the current measurement circuit, and φ.sub.Amp_2 is the phase at the second frequency of the amplifier of the current measurement circuit.
10. The adjustment method according to claim 1, wherein, for each phase line (Ph) of the distribution grid, the meter is arranged to measure and sample the phase voltage and the phase current present on said phase line, so as to produce measurements of the phase voltage and of the phase current present on said phase line, the sampling frequency being a multiple both of the first frequency and of the second frequency.
11. The electricity meter including a measurement module and a processor component in which the adjustment method according to claim 1 is implemented.
12. (canceled)
13. A computer-readable storage medium storing a computer program including instructions that cause the processor component of the electricity meter according to claim 11 to execute the steps of the adjustment method.
Description
BRIEF DESCRIPTION OF THE DRAWING
[0031] Reference is made to the sole FIGURE of the accompanying drawing:
[0032] The sole FIGURE shows an electricity meter in which the adjustment method of the invention is implemented.
DETAILED DESCRIPTION OF THE INVENTION
[0033] With reference to the sole FIGURE, the electricity meter 1 of the invention is a three-phase meter for measuring the consumption of energy supplied to a subscriber's electrical installation 2 by a distribution grid 3.
[0034] The distribution grid 3 has three phase lines Ph (for phases 1, 2, and 3) together with one neutral line N.
[0035] The frequency of the distribution grid may be equal either to 50 Hz (or very close to 50 Hz), or else to 60 Hz (or very close to 60 Hz).
[0036] The meter 1 has three input ports Pe, each connected to a respective one of the phase lines Ph of the distribution grid 3, and one input port Pe connected to the neutral line N. The meter 1 also has four output ports Ps that are connected to the installation 2 (three for the phase lines and one for the neutral line).
[0037] The meter 1 has an application portion and a metrological portion. This description relates to the metrological portion.
[0038] The metrological portion comprises firstly a processor component, which, by way of example, is a general-purpose processor, a processor specialized in signal processing (known as a digital signal processor (DSP)), a microcontroller, or indeed a programmable logic circuit such as a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC).
[0039] In this example, the processor component is a microcontroller 4 (“measurement microcontroller”).
[0040] The metrological portion also comprises one or more memories 5 that are connected to, or incorporated in, the microcontroller 4. At least one of the memories 5 forms a computer-readable storage medium storing a computer program including instructions that enable the microcontroller 4 to execute at least some of the steps of the adjustment method that is described below.
[0041] In addition to the microcontroller 4, the metrological portion comprises, for each phase line Ph of the distribution grid 3, a voltage sensor 6, a voltage measurement circuit 7 connected to the voltage sensor 6, a current sensor 8, a current measurement circuit 9 connected to the current sensor 8, and a measurement module 10. In the sole FIGURE, the elements 6 to 10 are shown for only one of the phase lines Ph, but the meter 1 has such elements for each of the phase lines Ph. Implementation of the invention is described below for only one phase line Ph, however it is implemented in the same manner for each of the other phase lines Ph.
[0042] The voltage sensor 6 comprises resistors forming a voltage divider bridge suitable for producing, from the voltage of the grid 3, a voltage that is less than or equal to 3.3 V. The voltage measurement circuit 7 comprises a first analog-to-digital converter (ADC). The voltage measurement circuit 7 produces measurements of the phase voltage U that is present on the phase line Ph.
[0043] The current sensor 8 comprises a current transformer. The current measurement circuit 9 comprises a second ADC and electronic components comprising at least one amplifier. The current measurement circuit 9 produces measurements of the phase current I flowing in the phase line Ph.
[0044] The measurement module 10 is a digital module that is implemented in the measurement microcontroller 4 of the meter 1. The measurement module 10 is connected to the voltage measurement circuit 7 and to the current measurement circuit 9.
[0045] The measurement module 10 includes at least one lowpass filter 11 arranged to suppress the harmonics from the phase voltage and from the phase current so as to produce the phase voltage and the phase current.
[0046] Specifically, the measurement module 10 comprises a first lowpass filter 11a that is connected to the voltage measurement circuit 7, and a second lowpass filter 11b that is connected to the current measurement circuit 9.
[0047] In this example, the first and second lowpass filters 11a and 11b are two identical Butterworth filters. It is thus considered to be a duplicated single filter 11.
[0048] In order to filter the fundamental frequency (both for voltages and for currents, and both for “fundamental” calibration and for measuring reactive energy), the filter 11 that is used is a first-order Butterworth filter H(Z) that is identical both at 50 Hz and at 60 Hz.
[0049] The Z transform of a first-order Butterworth filter is expressed as follows:
[0050] The coefficient “a” of the filter is selected so as to have a 3 dB cut-off frequency of 75 Hz.
[0051] In order to obtain a 3 dB cut-off frequency of 75 Hz when the sampling frequency f.sub.E=3000 Hz, the following value is selected:
a=0.833033065947701.
[0052] The measurement module 10 also comprises a plurality of calculation modules, serving to evaluate the active power, the reactive power, the root mean square (RMS) voltage and the RMS current distributed by the distribution grid 3 via the phase line Ph. The measurement module 10 also makes use of a certain number of calibration parameters in order to perform these calculations. The calibration parameters are as follows: K, K.sub.U, K.sub.I, K.sub.U_NOISE, K.sub.I_NOISE, Δφ.
[0053] The phase voltage U is multiplied by a multiplication factor incorporating the voltage parameter K.sub.U, in order to obtain a compensated voltage U′. The multiplication factor is equal to (1+K.sub.U).
[0054] The phase current I is multiplied by a multiplication factor incorporating the current parameter K.sub.I, in order to obtain a compensated current I′. The multiplication factor is equal to (1+K.sub.I).
[0055] The module 15 acquires the compensated voltage U′ and the compensated current I′ and it produces a raw active power P.
[0056] The module 16 acquires the compensated voltage U′ and the compensated current I′ and it produces a raw reactive power Q.
[0057] The module 17, which is in the form of a matrix, acquires the raw active power P and the raw reactive power Q and it evaluates a compensated measurement of the active power P′ and a compensated measurement of the reactive power Q′, by calculating:
P′=K.Math.cos(Δφ).Math.P+K.Math.sin(Δφ).Math.Q
Q′=−K.Math.sin(Δφ).Math.P+K.Math.cos(Δφ).Math.Q
[0058] The module 18 acquires the compensated voltage U′ and it calculates the RMS voltage squared: U′.sub.RMS.sup.2. The parameter K.sub.U_NOISE is added to the RMS voltage squared, and then the square root of this addition is calculated, in order to obtain the compensated RMS voltage U″.sub.RMS.
[0059] The module 19 acquires the compensated current, and it calculates the RMS current squared: I′.sub.RMS.sup.2. The parameter K.sub.I_NOISE is added to the RMS current squared, and then the square root of this addition is calculated, in order to obtain the compensated RMS current I″.sub.RMS.
[0060] The calibration parameter K.sub.U compensates the variations in the gain applied to the phase voltage that are due to the components of the voltage measurement circuit 7 at the output from the first ADC (and in particular due to the tolerances on the resistances of the resistors). It is applied after offset elimination in order to avoid applying gain to the offset.
[0061] The calibration parameter K.sub.I compensates variations in the gain applied to the phase voltage that are due to the components of the current measurement circuit 9 at the output from the second ADC (and in particular due to the tolerances on the resistances of the resistors). It is applied after offset elimination in order to avoid applying gain to the offset.
[0062] The parameters K.sub.U and K.sub.I are signed.
[0063] The calibration parameter K.sub.U_NOISE compensates the effects of the white noise that is intrinsic to the meter 1, and also of the quantizing noise of the first ADC on the measurements of the RMS voltage of the phase line Ph. It should be observed that, in the great majority of the circumstances, K.sub.U_NOISE=0.
[0064] The calibration parameter K.sub.I_NOISE compensates the effects of the white noise that is intrinsic to the meter 1, and also of the quantizing noise of the second ADC on the measurements of the RMS voltage of the phase line Ph. In general, K.sub.I_NOISE=0 for high-current ranges.
[0065] The calibration parameter K compensates gain variations in the voltage measurement circuit 7 and in the current measurement circuit 9.
[0066] The calibration parameter Δφ compensates phase variations in the voltage measurement circuit 7 and in the current measurement circuit 9, and in particular the phase variations that are due to the internal transformers.
[0067] More generally, the parameters K and Δφ serve to compensate the measurement so that it is insensitive to the gains and the phase shifts applied by the acquisition device as a whole: i.e. the sensors and the electronic components of the measurement circuits.
[0068] The measurement module 10 performs certain calculations by making use of the phase voltage U with harmonics and of the phase current I with harmonics; under such circumstances, the measurement module does not make use of the lowpass filters 11a and 11b (the filters are “bypassed”).
[0069] The measurement module 10 also performs calculations by making use of the fundamental phase voltage U (i.e. without harmonics) and of the fundamental phase current I (i.e. without harmonics); under such circumstances, the measurement module 10 makes use of the lowpass filters 11a and 11b. For example, the reactive power is measured by using the fundamental phase voltage and the fundamental phase current. The lowpass filters 11a and 11b are also used for performing the “fundamental” calibration, as described below.
[0070] Thus, in reality, there are two sets of calibration parameters (associated with the same frequency): [0071] the calibration parameters “with harmonics” K, K.sub.U, K.sub.I, K.sub.U_NOISE, K.sub.I_NOISE, and Δφ; and [0072] the “fundamental” calibration parameters K, K.sub.U, K.sub.I, K.sub.U_NOISE, K.sub.I_NOISE, and Δφ.
[0073] In operation, the calibration parameters “with harmonics” are used for adjusting the measurement module 10 while it is performing measurements “with harmonics”—i.e. without using the lowpass filters 11a and 11b.
[0074] In operation, the “fundamental” calibration parameters are used for adjusting the measurement module 10 while it is performing “fundamental” measurements—i.e. while using the first lowpass filter 11a and/or the second lowpass filter 11b.
[0075] Usually, the calibration parameters are defined and then stored in the meter 1 during a calibration stage that is performed in the factory, after the stage of manufacturing the meter 1, and thus before the meter is delivered and installed in its operating position on client premises (the position where it is put into service).
[0076] In order to ensure that the measurements taken by the meter 1 are sufficiently accurate, it is essential for the calibration parameters to be defined while taking account of the frequency of the distribution grid 3.
[0077] However, as mentioned above, the meter 1 is to be capable of being connected either to a distribution grid having a first frequency, specifically 50 Hz, or else to a distribution grid having a second frequency, specifically 60 Hz.
[0078] During the calibration stage, the calibration parameters are produced and stored in the meter 1 solely for the first frequency (50 Hz): they are referred to as the “first” calibration parameters.
[0079] The meter 1 is then delivered, and subsequently installed in its operating position and activated. Activation of the meter 1 is followed by a short initialization period (of duration typically equal to 5 seconds (s)). The acquisition of metrological measurements starts after this initialization period.
[0080] The adjustment method of the invention is performed during the initialization period, and has the purpose of defining the calibration parameters that are to be used for adjusting the measurement module 10.
[0081] The microcontroller 4 acquires at least one measurement of the frequency of the distribution grid. The microcontroller 4 is naturally able to perform this or these measurements itself.
[0082] The frequency that is measured is the frequency of the phase voltage on the first phase line. If there is no voltage on the first phase line, then the meter 1 measures the frequency on the second phase line. If there is no voltage on the second phase line, then the meter 1 measures the frequency on the third phase line.
[0083] If the difference between the frequency of the distribution grid 3 and the first frequency (50 Hz) is less than a first predetermined threshold, then the microcontroller 4 adjusts the measurement module 10 using the first calibration parameters. By way of example, the first predetermined threshold may lie the range 1 Hz to 5 Hz.
[0084] If the difference between the frequency of the distribution grid 3 and the first frequency is greater than the first predetermined threshold, then the microcontroller 4 adjusts the measurement module 10 using the second calibration parameters.
[0085] In order to determine that the frequency of the distribution grid 3 does indeed correspond to 60 Hz, the microcontroller 4 verifies that the difference between the frequency of the distribution grid 3 and the second frequency is less that a second predetermined threshold (which may be equal to the first predetermined threshold, for example).
[0086] If so, the microcontroller 4 calculates the second calibration parameters from the first calibration parameters and from adaptation parameters.
[0087] The adaptation parameters comprise first adaptation parameters evaluated at the first frequency and second adaptation parameters evaluated at the second frequency.
[0088] It should be observed that, among the calibration parameters used in this example, there are some that are independent of the frequency of the distribution grid 3 (and thus do not need to be recalculated): these are the calibration parameters “with harmonics” K, K.sub.U, K.sub.I, K.sub.U_NOISE, and K.sub.I_NOISE, and the “fundamental” calibration parameters K, K.sub.U_NOISE, and K.sub.I_NOISE.
[0089] However, the “fundamental” calibration parameters K.sub.U and K.sub.I do depend on the frequency of the distribution grid 3. The microcontroller 4 thus produces the second “fundamental” calibration parameters K.sub.U.sub.
[0090] Likewise, the “fundamental” calibration parameter Δφ depends on the frequency of the distribution grid 3. The microcontroller 4 thus produces the second “fundamental” calibration parameter Δφ.sub.2_fundamental (fundamental phase shift) from the first “fundamental” calibration parameter Δφ.sub.1_Fundamental.
[0091] Likewise, the calibration parameter “with harmonics” Δφ depends on the frequency of the distribution grid 3. The microcontroller 4 thus produces the second calibration parameter “with harmonics” Δφ.sub.2_Harmonics (phase shift with harmonics) from the first calibration parameter “with harmonics” Δφ.sub.1_Harmonics.
[0092] The adaptation parameters include parameters for the lowpass filter 11.
[0093] The parameters for the lowpass filter 11 comprise both the modulus at the first frequency of the Z transform of the transfer function of the lowpass filter 11, and also the modulus at the second frequency of said Z transform.
[0094] As mentioned above, the first calibration parameters include first parameters K.sub.U.sub.
K.sub.U.sub.
K.sub.I.sub.
where |H(Z).sub.1| is the modulus at the first frequency of the Z transform of the transfer function of the lowpass filter 11, and where |H(Z).sub.2| is the modulus at the second frequency of the Z transform of the transfer function of the lowpass filter 11.
[0095] The adaptation parameters thus include the moduluses |H(Z).sub.1| and |H(Z).sub.2|.
[0096] The phase shifts Δφ.sub.2_Harmonics and Δφ.sub.2_Fundamental are obtained as follows.
[0097] The adaptation parameters include other parameters for the lowpass filter 11, and specifically its phase at the first frequency of the Z transform of the transfer function of the lowpass filter 11 and its phase at the second frequency of said Z transform.
[0098] At the fundamental frequency, account is thus taken of:
φ(H(Z)).sub.2−φ(H(Z)).sub.1,
where φ(H(Z)).sub.1 is the phase at the first frequency of the Z transform and φ(H(Z)).sub.2 is the phase at the second frequency of the Z transform.
[0099] The adaptation parameters also include parameters of the current transformer (of the current sensor 8).
[0100] Account is taken of the difference in phase shift of the current transformer at the first frequency (50 Hz) and at the second frequency (60 Hz):
φ.sub.Trans_2−φ.sub.Trans_1;
[0101] where φ.sub.Trans_1 is the phase at the first frequency of the current transformer, and φ.sub.Trans_2 is the phase at the second frequency of said current transformer.
[0102] These parameters are supplied by the manufacturer or the supplier of the transformers, and they are therefore previously stored in the meter 1.
[0103] The adaptation parameters also include parameters for at least one electronic component of the current measurement circuit 9 that is connected to the current transformer. These electronic components include an amplifier.
[0104] Account is thus taken of the difference in phase shift associated with the operational amplifier at the first frequency (50 Hz) and at the second frequency (60 Hz), and as determined at the design stage:
φ.sub.Amp_2−φ.sub.Amp_1;
[0105] where φ.sub.Amp_1 is the phase of the amplifier in the current measurement circuit 9 at the first frequency, and φ.sub.Amp_2 is the phase of said amplifier at the second frequency.
[0106] The microcontroller 4 then calculates:
Δφ.sub.2_Fundamental=Δφ.sub.1_Fundamental+(φ(H(Z)).sub.2−φ(H(Z)).sub.1)+(φ.sub.Trans_2−φ.sub.Trans_1)+(φ.sub.Amp_2−φ.sub.Amp_1)
and
Δφ.sub.2_Harmonics=Δφ.sub.1_Harmonics+(φ.sub.Trans_2−φ.sub.Trans_1)+(φ.sub.Amp_2−φ.sub.Amp_1)
[0107] Naturally, once the microcontroller 4 has “decided” at the second calibration parameters are to be used, this selection is made permanent (the frequency of the grid does not vary significantly), and once the second calibration parameters have been defined, they are stored in a memory of the metrological portion (e.g. a flash memory).
[0108] The meter 1 thus calibrates the measurement module 10 automatically as a function of the frequency of the distribution grid 3.
[0109] As explained above, for each phase line Ph, the voltage measurement circuit 7 has a first ADC and the current measurement circuit 9 has a second ADC.
[0110] For each phase line Ph, the meter 1 thus measures and samples the phase voltage and the phase current that are present on said phase line Ph, in order to produce measurements of the phase voltage U and of the phase current I present on said phase line Ph. These measurements are then transmitted to the measurement module 10.
[0111] Advantageously, the sampling frequency is a multiple both of the first frequency and of the second frequency. In this example, sampling is performed at 3000 Hz, thereby processing 60 samples per period at 50 Hz and 50 samples per period at 60 Hz. The fact that this comes out “exactly” serves to avoid any fluctuation in the power and energy measurements over “one second” corresponding to sampling 3000 samples.
[0112] Naturally, the invention is not limited to the implementation described but covers any variant coming within the ambit of the invention as defined by the claims.
[0113] The above description relates to one particular implementation, in which the first calibration parameters (as predefined and previously stored) are the parameters for 50 Hz, while the second calibration parameters (as defined, where necessary, when putting the meter into service) are the parameters for 60 Hz. Naturally, it would be entirely possible to calibrate at 60 Hz and to deduce the calibration parameters for 50 Hz.
[0114] The same principle can naturally be applied to grid frequencies other than 50 Hz and 60 Hz, and can likewise be applied while taking account of more than two grid frequencies on starting, the principal continuing to be that of using first calibration parameters at a first frequency for deducing calibration parameters at other frequencies. It is then advantageous to select the sampling frequency in such a manner that the number of samples per period is an integer at all of the frequencies. The coefficient “a” of the Butterworth filter is then also adapted.
[0115] The calibration parameters used while implementing the invention may be different from those described above. For example, it is not necessary to use the matrix 17 under all circumstances.
[0116] The lowpass filters 11a and 11b need not necessarily be identical, and they need not necessarily be Butterworth filters. Other filters could be used, such as Chebyshev filters. The Butterworth filter has the advantage of “rejecting” quite quickly, and of presenting gain in the passband is relatively constant.
[0117] Naturally, the electricity meter in which the invention is implemented need not necessarily be a three-phase meter. It could be a single-phase meter. Under such circumstances, the circuit diagram of the sole FIGURE is applicable for the single phase line Ph.