An electronic power meter

Abstract: Separate pulse inputs from respective metering circuits (10, 11), representing the reactive R and in-phase W power components, are converted to a pulse output V representing the vector sum of those components. The two inputs are applied to increment respective registers (19, 20), the output V is held in a third register (17), and a fourth register (21) is provided to store the REMAINDER value (W² + R²) - (V+1)². The meter includes a processor (14, 16) for incrementing the REMAINDER value by 2W+1 for each increment of W and 2R+1 for each increment of R and for incrementing V whenever the REMAINDER value is zero or positive and at the same time reducing the REMAINDER value by 2V₁+1, where V₁ is the incremented value of V. The FRACTIONAL error in the value of V is determined by means of a look-up table.

Description: The present invention relates to an electronic meter for measurement of power in an electricity supply system. The problems of conventional electro-mechanical electricity meters and some proposals for electronic meters are discussed in the introductory part of European patent application EP-A-0296967. The invention described in that application is an amplifier for a voltage or current to frequency converter which is applicable to a power meter for a polyphase system. The power meter described takes input signals representing voltage and current, multiplies them together, and generates a pulsed output representing power consumption. This output can then be applied to drive a digital or analogue display device. The system described in EP-A-0296967 assumes that for each phase the voltage and current are in phase, or looking at it another way it measures only the in-phase component of the power or kWh, where W(Watts) = V(Volts) x I(Amps). There is also to be considered the reactive component of the power i.e. kVArh. Further it is common for billing to be based on kVAh, i.e. the vector sum of these in-phase and reactive components. Thus (kVAh)² = (kWh)² + (kVArh)² or, for simplicity, this can be represented by V² = W² + R² When W and R are supplied in the form of pulse signals, for example from two circuits of the kind described in EP-A-0296967, there is a difficulty in calculating an accurate value of the vector sum V without doing complex calculations. U.S. Patent Specification No. 3505506 describes an electronic power meter in which separate pulse inputs representing the reactive R and in-phase W power components are converted to a pulse output V representing the vector sum of these components. The two inputs are applied to increment respective registers and the output V is held in a third register. The meter described in U.S. 3505506 only changes the value V when one of the values R and W has been incremented by a predetermined amound and then uses a converter to generate binary numbers approximating to the increment required in the output V. German Patent application DE-A-2 252 192 describes an apparatus for extracting the square root of an input signal in pulse form. In accordance with the present invention there is provided an electronic power meter in which separate pulse inputs representing the reactive R and in-phase W power components are converted to a pulse output V representing the vector sum of those components, wherein the two inputs are applied to increment respective registers and the output V is held in a third register, characterized by a fourth register to store the REMAINDER value (W²+R²)-(V+1)², and a processor for incrementing the REMAINDER value by 2W+1 for each increment of W and by 2R+1 for each increment of R and for incrementing V by one whenever the REMAINDER value is zero or positive and at the same time reducing the REMAINDER value by 2V₁+1, where V₁ is the incremented value of V. The result of this operation is that the new REMAINDER value is [(W+1)²+R²]-(V₁+1)² or [W²+(R+1)²]-(V₁+1)² according to whether W or R increased by one increment. The basis of the operation of the processor with the three registers is simply that (W+1)² = W²+2W+1 and (R+1)² = R²+2R+1 Thus for each increment of W or R, the increment in W² is 2W+1 and in R² is 2R+1 and these increments can be applied to the REMAINDER value. With the power signals in digital form the value of V is given by V² ≦ (W²+R²) and (V+1)² > (W²+R²) Thus the REMAINDER value (W²+R²) - (V+1)² should always be negative and V must be incremented when the REMAINDER value reaches zero or goes positive. When this happens, i.e. V is incremented to V₁ = V+1, then again because [(V+1)+1]² = (V+1)² + 2(V+1)+1 the REMAINDER is decremented by 2(V+1)+1 or 2V₁+1. Thus in accordance with the invention the increasing digital value of V can be determined at all times by a procedure which involves no more than simple addition or subtraction of values in the four registers. However variations in the phase angle of the load over a long period of integration can lead to errors and it is therefore desirable to restart the integration period more frequently. Using an integration period of a fixed length and reducting that length will produce a wide spread of errors dependent upon the number of pulses counted during the time period. Accordingly the integration period is terminated whenever either R or W has increased by a predetermined count. The shortening of the integration period in this way increases the significance of the truncation errors, making it more necessary to correct FRACTIONAL errors in V. For this purpose a look-up table is used at the end of each integration period to supply the FRACTIONAL error. The look-up table contains the FRACTIONAL values of the vector sum corresponding to each value of W or R, respectively, less than the predetermined count of R or W at which the integration period is terminated. In theory the look-up table can provide the digital and FRACTIONAL parts of the required vector sum but in practice this could give changes of several integers in the vector sun and to avoid this the two methods of calculation are used in parallel to give a progressively increasing digital value accompanied by an accurate FRACTIONAL value determined whenever the number of W or R pulses reaches a small limit value. The FRACTIONAL errors are stored in an accumulator and when the accumulated errors exceed 1 an extra V pulse is added to the output where otherwise none would have been produced and at the same time the stored FRACTIONAL error sum is reduced by 1. An example of a power meter in accordance with the invention will now be described with reference to the accompanying drawings, in which Figure 1 is a block circuit diagram of the meter, and Figures 2A and 2B constitute a partial flow chart for the processing of signals by the meter. As seen at the top of Figure 1 the input to the meter is in the form of signals representing the voltage and current (Amps), whose in-phase and re-active components are separately measured by the metering circuits 10 and 11. The output from the in-phase metering circuit 10 is in the form of pulses representing kWh, or in the short form used above W, while the output from the re-active metering circuit 11 is in the form of pulses representing kVArh or R. The pulse signals W and R are fed to a processor 12 which generates the required pulse output V. The processor 12 includes control logic 14, an arithmetic logic unit 16 and registers 17, 18, 19, 20 and 21 in which, respectively, the values of V, FRACTIONAL V, W, R, and the REMAINDER are held, as will be described below. Figures 2A and 2B show the handling of the kWh pulses by the processor 12. The stages in the flow chart are represented in what follows by bracketed reference numerals. An exactly parallel flow chart would represent the handling of the kVArh pulses. On receipt of a kWh pulse (22) the remainder in register 21 is incremented (23) by (2W+1), using the W value in register 19. Register 19 is then incremented (24) by one. The REMAINDER value is checked (25) to determine whether it is greater than or equal to zero and if so V is incremented (26) by one. The REMAINDER value is then decremented (27) by (2V+1). In the case when the REMAINDER is less than zero stages 26 and 27 are by-passed. Passing then to Figure 2B the value of W is tested (28) to see whether the number of pulses received has reached a pre-set limit. If not, the processor continues to handle each new pulse which arrives in the same way until the limit value of W is reached. Then the fractional value of V in register 18 is up-dated (29) by reference to the current values of W and R and the incremented fractional value is checked (30) to determine whether it is equal to or greater than zero. If yes, the value of V is incremented (31) by one and the value of FRACTIONAL V is decremented (32) by one. If FRACTIONAL V is already less than zero stages 31 and 32 are by-passed. Integration is now re-started (33) by setting the registers 17, 19, 20 and 21 for V, W, R, and REMAINDER to zero. At the same time, of course, kWArh pulses are being processed in an exactly parallel manner with V being incremented and the remainder values adjusted until R reaches its pre-set limit, the fractional V values are adjusted and the integration is re-started, the registers then being re-set as before.

Claims: An electronic power meter in which separate pulse inputs representing the reactive R and in-phase W power components are converted to a pulse output V representing the vector sum of those components, wherein the two inputs are applied to increment respective registers (20, 19) and the output V is held in a third register (17) characterized by a fourth register (21) to store the REMAINDER value (W²+R²)-(V+1)² and a processor (14, 16) for incrementing the REMAINDER value by 2W+1 for each increment of W and by 2R+1 for each increment of R and for incrementing V by one whenever the REMAINDER value is zero or positive and at the same time reducing the REMAINDER value by 2V₁+1, where V₁ is the incremented value of V. A power meter as claimed in claim 1 in which the registers (17, 19, 20, 21) are re-set each time the value of R or W has increased by a predetermined amount. A power meter as claimed in claim 1 in which the FRACTIONAL error in the value of V is determined by means of a look-up table which whenever the value R or W has increased by a predetermined count supplies the FRACTIONAL error in the vector sum corresponding to each value of W or R, respectively, less than said predetermined count. A power meter as claimed in claim 3 in which the FRACTIONAL errors are stored in an accumulator (18) until their sum exceeds the value 1, whereupon the output V is incremented by an additional pulse.

Inventors: CLARKE DAVID JOHN, HUTCHINSON MICHAEL DAVID, CLARKE, DAVID JOHN, HUTCHINSON, MICHAEL DAVID
Applicants: SCHLUMBERGER IND LTD, SCHLUMBERGER INDUSTRIES LIMITED
Application year: 1990
Main classification: G01R21
IPC codes: G01R21