Abstract:
A method for measuring an unknown voltage (V IN ) using a voltage divider network in such a way that uncertainties in the values of the resistances do not affect the measurement. The unknown voltage is divided into three fractional voltages, the fractional voltages are measured, and the unknown voltage is computed on the basis of the fractional voltages. The unknown voltage is divided with a voltage divider comprising first, second and third resistors, and a first voltage (V o1 ) is measured across the first resistor, a second voltage (V o2 ) is measured across the second resistor and a third voltage (V o3 ) is measured across the third resistor. The unknown voltage V IN  is computed in accordance with the equations disclosed in the specification.

Description:
FIELD OF THE INVENTION 
     The present invention generally relates to the field of voltage measurement techniques, and more particularly relates to voltage measurement techniques for use in an electronic power meter. 
     BACKGROUND OF THE INVENTION 
     In electronic power meters it is necessary to accurately measure a voltage that has a large amplitude or at least a large average or RMS value. One measurement approach is to divide the voltage with a resistive voltage divider down to a range of values that can be measured with a conventional voltage measuring device, such as an analog-to-digital converter (ADC). However, the accuracy of a measurement obtained by the conventional method is limited by the uncertainty in the values of the resistances of the voltage divider. The accuracy of the resistance values may be diminished by a number of factors, including temperature effects and the effects of being subjected to over-voltage conditions. Moreover, the initial accuracy of the resistance values may be less than ideal. 
     It is therefore a goal of the present invention to provide a technique for accurately measuring an unknown voltage with a voltage divider network whose component values are not known with certainty. 
     SUMMARY OF THE INVENTION 
     The present invention encompasses methods for measuring an unknown voltage (V IN ) using a voltage divider network in such a way that uncertainties in the values of the resistances (e.g., caused by variations in temperature) do not affect the measurement. Methods in accordance with the present invention comprise the steps of dividing the unknown voltage into at least three fractional voltages, measuring the fractional voltages, and computing the unknown voltage on the basis of the fractional voltages. 
     In a preferred embodiment, the step of dividing the unknown voltage comprises the step of dividing the unknown voltage with a voltage divider comprising first, second and third resistor means, and the step of measuring the fractional voltages comprises the steps of measuring a first voltage (V o1 ) across the first resistor means, measuring a second voltage (V o2 ) across the second resistor means and measuring a third voltage (V o3 ) across the third resistor means. 
     The step of computing the unknown voltage may comprise computing V IN  in accordance with the equation: 
     
         V.sub.IN =V.sub.o1 *V.sub.o2 *V.sub.o3 /{(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}. 
    
     Alternatively, V IN  may be computed in accordance with at least one of the following equations: 
     
         V.sub.IN =V.sub.o1 /K1 
    
     
         V.sub.IN =V.sub.o2 /K2 
    
     
         V.sub.IN =V.sub.o3 /K3, 
    
     where K1, K2 and K3 are each functions of V o1 , V o2  and V o3 . 
     In another embodiment, K1, K2 and K3 are computed in accordance with the following equations: 
     
         K1={(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}/(V.sub.o2 *V.sub.o3) 
    
     
         K2={(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}/(V.sub.o1 *V.sub.o3) 
    
     
         K3={(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}(V.sub.o1 *V.sub.o2). 
    
     Alternatively, K1, K2 and K3 may be computed in accordance with the equations: 
     
         K1=R.sub.2 /(R.sub.1 +R.sub.2) 
    
     
         K2=R.sub.3 /(R.sub.1 +R.sub.3) 
    
     
         K3=R.sub.2 *R3/(R.sub.1 *R.sub.2 +R.sub.1 *R.sub.3 +R2*R3), 
    
     where R 1 , R 2  and R 3  respectively represent the approximate resistance values of the first, second and third resistor means. 
     Yet another embodiment of the present invention further comprises the step of measuring a plurality of samples of each of V o1 , V o2  and V o3  during a plurality of cycles of the unknown voltage. 
     Another embodiment further comprises the step of reordering the sequence in which the samples V o1 , V o2  and V o3  are measured. 
     Still yet another embodiment further comprises the step of computing average values of K1, K2 and K3. 
     In a preferred embodiment each of V o1 , V o2  and V o3  are sampled at approximately 2.4 kHz. 
     Still another embodiment of the invention further comprises the step of interleaving the samples. 
     Another embodiment further comprises the step of low pass filtering K1, K2 and K3. 
     The present invention also encompasses apparatus comprising voltage divider means for dividing the unknown voltage into at least three fractional voltages, measuring means for measuring the fractional voltages, and computing means for computing the unknown voltage on the basis of the fractional voltages. 
     An electronic power meter in accordance with the present invention comprises voltage divider means for dividing an unknown voltage into at least three fractional voltages (V o1 , V o2 , V o3 ), measuring means, including an analog-to-digital converter, for measuring and digitalizing the fractional voltages, and computing means for computing the unknown voltage in accordance with at least one of the following equations: 
     
         V.sub.IN =V.sub.o1 /K1 
    
     
         V.sub.IN =V.sub.o2 /K2 
    
     
         V.sub.IN =V.sub.o3 K3 
    
     
         V.sub.IN =V.sub.o1 *Vo.sub.2 *V.sub.o3 /{(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}, 
    
     where K1, K2 and K3 are each functions of V o1 , V 02  and V o3 . 
     Other features of the invention are described below in connection with the detailed description of preferred embodiments. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a schematic diagram of a voltage divider. 
     FIG. 2 is a block diagram of a power meter in accordance with the present invention. 
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
     It is well known that a set of N simultaneous equations with N unknowns can be solved for each of the N unknowns. The present invention applies this concept to the measurement of a voltage through a voltage divider. 
     FIG. 1 depicts a resistive voltage divider network 10 comprising switches S 1 , S 2  and resistors R 1 , R 2 , R 3 . Switches S 1 , S 2  may be considered ideal switches for the purposes of the following discussion. The output voltage V oi  may be computed from the following three equations, which correspond to three states of the voltage divider (as discussed below, the condition S 1  and S 2  open at the same time should be avoided in power meter applications): 
     Condition 1: S 1  closed 
     
         V.sub.o1 =V.sub.IN *R.sub.2 /(R.sub.1 +R.sub.2)            (1) 
    
     Condition 2: S 2  closed 
     
         V.sub.o2 =V.sub.IN *R.sub.3 /(R.sub.1 +R.sub.3)            (2) 
    
     Condition 3: S 1  &amp; S 2  closed ##EQU1## 
     The usual method of measuring an unknown voltage through a voltage divider employs condition 1. The output voltage V o1  is measured and the values of the resistors R 1 , R 2  are assumed to be known constants. The unknown voltage, V IN  in this case, is then computed in accordance with equation 1. This method is especially useful in situations where the unknown voltage is expected to be large. Of course, the relationship between V IN  and the measured voltage V o1  will only be sufficiently known if the values of R 1  and R 2  are known to the required accuracy. 
     The present invention eliminates the requirement that the resistances be known. In accordance with the invention, a set of three simultaneous equations is obtained by measuring the output voltage V oi  for each of the three conditions set forth above. This may be accomplished by first closing switch S 1  and measuring the output voltage V o1 , then opening switch S 1 , closing switch S 2  and measuring V o2 , and finally closing both switches S 1 , S 2  and measuring V o3 . Note that the unknowns, V IN , R 1 , R 2 , and R 3 , must be constant during the measurement of the three output voltages to obtain a truly simultaneous set of equations. This is a safe assumption for the resistors since the time constant of change in resistor value should be quite long compared to the measurement time. If the input voltage V IN  is an AC signal, and therefore not constant on an instantaneous basis, it may nevertheless be assumed to be constant on an RMS or average basis during the time that it takes to measure the three output voltages. The validity of this assumption is discussed below. 
     Since our prime objective is to determine the value of V IN  independent of the three resistor values, the set of equations will be solved to find three gain terms that describe the relationships between the input voltage, and the three output voltages, V o1 , V o2 , and V o3 . 
     First, equations (1) and (2) are reduced to express R 2  and R 3  functions of R 1 , V IN , V o1  and V o2  : 
     
         R.sub.2 =R.sub.1 *V.sub.o1 /(V.sub.IN -V.sub.o1)           (4) 
    
     
         R.sub.3 =R.sub.1 *V.sub.o2 /(V.sub.IN -V.sub.o2)           (5) 
    
     Second, equation (3) is reduced to express V IN  as a function of V o3 , R 1 , R 2 , and R 3 . 
     
         V.sub.IN =V.sub.03 *(R.sub.1 /R.sub.3 +R.sub.1 /R.sub.2 +1)(6) 
    
     Equations (4) and (5) are then substituted into equation (6) to express V IN  as a function of V o1 , V o2 , and V o3  : 
     
         V.sub.IN =V.sub.o1 *V.sub.o2 *V.sub.o3 /{(V.sub.o1 *V.sub.o3)+(V.sub.o2 * V.sub.o3)-(V.sub.o1 *V.sub.o2)}                           (7) 
    
     To a certain extent we have achieved our objective since we have a relationship for V IN  that is both independent of the resistor values and a function of voltages that can be accurately measured. However, it is advantageous to know the relationship between the input voltage and each of the respective output voltages for electronic power meter applications where it is necessary to continuously know the input voltage level. In this specification these relationships are referred to as K1, K2, and K3 for V o1 , V o2 , and V o3 , respectively. 
     K1, K2 and K3 are defined by the following equations: 
     
         V.sub.IN =K1*V.sub.o1 
    
     
         V.sub.IN =K2*V.sub.o2 
    
     
         V.sub.IN =K3*V.sub.o3 
    
     From equation (1), K1 is shown to be a function of R 1  and R 2 . 
     
         K1=R.sub.2 /(R.sub.1 +R.sub.2)                             (8) 
    
     Substituting equations (4) and (7) into equation (8), K1 can be reduced to a function of V o1 , V o2 , and V o3  : 
     
         K1={(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}/(V.sub.o2 *V.sub.o3)                          (9) 
    
     Similarly, K2 and K3 can also be reduced to functions of V o1 , V o2  and V o3  : 
     
         K2={(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}/(V.sub.o1 *V.sub.o3)                          (10) 
    
     
         K3={(V.sub.o1 *V.sub.o3)+(V.sub.o2 *V.sub.o3)-(V.sub.o1 *V.sub.o2)}/(V.sub.o1 *V.sub.o2)                          (11) 
    
     Since it is expected that the values of R 1 , R 2 , and R 3  will change slowly, then K1, K2, and K3 are also expected to change slowly. The present invention takes advantage of this situation to minimize any problems introduced by the RMS or average input voltage varying. According to the present invention, the RMS or average output voltage is measured during one cycle of the line voltage for each condition, i.e., it will take 3 cycles of the line voltage to solve one set of equations. K1, K2 and K3 are computed every 3rd cycle of the line voltage on a continuous basis. In addition, K1, K2, and K3 are averaged over many cycles to minimize the effect of random variations of the input voltage V IN . Moreover, the sequence in which the three conditions are employed is changed to minimize the effect of systematic changes of the input voltage. 
     FIG. 2 is a block diagram of a power meter employing the above-described teachings of the present invention. That meter is briefly described below to set forth a preferred environment for the invention. Further information on the meter is provided in U.S. patent application Ser. No. 839,183, filed Feb. 2, 1992, which is hereby incorporated by reference into this specification. 
     The power meter depicted in FIG. 2 comprises three resistive voltage divider networks 10A, 10B, 10C of the type described above with reference to FIG. 1; an ADC/DSP (analog-to-digital converter/digital signal processor) chip 12; a microcontroller 14 (e.g., a Mitsubishi Model 50428 microcontroller); three current sensors 16A, 16B, 16C; a 12 V switching power supply 18 that is capable of receiving inputs in the range of 96-528 V; a 5 V linear power supply 20; a non-volatile power supply 22 that switches to a battery 24 when 5 V supply 20 is inoperative (this feature is especially useful for a time of use meter that keeps track of the actual time of day); a 2.5 V precision voltage reference 26; an LCD display 28; a 32.768 kHz oscillator (which may be used to keep time when power fails or when the 120 Hz line to microcontroller 14 (discussed below) is inoperative; a 6.2208 MHz oscillator 32 that provides timing signals to the ADCs (not shown) inside chip 12 and whose signal is divided by 1.5 to provide a 4.1472 MHz clock signal to microcontroller 14; a 2 kBytes EEPROM 34 that may be used to store meter-type identification data that may be downloaded by block 12; a serial communications line 35; an option connector 36; and an optical communications port 38 that may be used to read the meter. 
     The line labelled &#34;PFail (A)&#34; is used to input signals to microcontroller 14 indicating power failure and the presence or absence of phase A voltage. The line labelled &#34;Phase B&#34; is used to input signals indicating when phase B voltage is present. The line labelled &#34;120 Hz (C)&#34; is used to input signals indicating the presence of phase C voltage and to input a 120 Hz (two times the line frequency of 60 Hz) signal used by microcontroller 14 for timing. (Phase A, Phase B and Phase C represent the three voltages generated in a three-phase power generation system.) The lines labelled &#34;Whr Del&#34; and &#34;Whr Rec&#34; carry signals indicating Watt-hours delivered and received, respectively, and the lines labelled &#34;Varhr Del&#34; and &#34;Varhr Rec&#34; respectively carry signals indicating apparent power delivered and received. The line labelled &#34;4.1472 MHz&#34; carries a clock signal to the microcontroller. 
     The true scope of the present invention as set forth in the following claims is not limited to the specific embodiments described above. For example, the voltage divider networks 10A, 10B, 10C could be implemented inside the ADC/DSP block 12. This would reduce the number of parts, but would require the divider current to enter the chip, which may be undesirable. Implementing the dividers as shown above, external to block 12, requires that two external drive lines per phase (one for each switch S 1 , S 2 ) be provided and that six additional pins be provided on block 12. In addition, it should be noted that if voltage dividers 10A, 10B, 10C are inside block 12 and both switches S 1  and S 2  are open at the same time, the output voltage V o1  (=V IN ) may be large enough to destroy the chip. Finally, the invention is not limited to the use of a resistive voltage divider, as other types of voltage dividers or even current dividers may also be used.