Abstract:
A method and circuit arrangement for measuring in-phase current and quadrature current in an electrical alternating current power supply is disclosed. The invention uses a microprocessor whereby four integral values A 1  through A 4  are combined in such as to allow determination of the in-phase current and the quadrature current. The invention is useful in recording in-phase and quadrature components of current from an alternating current power supply.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates to a method and circuit arrangement for measuring the in-phase and quadrature components of current in an alternating power supply. Starting from a certain value, the consumer must assume the burden of the electric company for the use of quadrature current in an alternating current power supply. This is because the quadrature currents burden the main line. Consequently, it is necessary to measure the portions of the quadrature current. In many cases, it is just as necessary to measure the portion of in-phase current in order to determine wattage factor cost from both of these current components. From this, the circuit arrangements for the idle wattage compensation must also possess measuring equipment with which the wattage factor over the quadrature current and thereby over the corresponding live voltage and idle wattage can be determined. 
     Measuring tools for the recording of in-phase current and quadrature current as well as for wattage factors and costs are already established. In the book &#34;Measure Rectifier&#34;, published by G. Braun, Karlsurule, West Germany, 1963, pages 90 and 91, such a measuring tool is described. Also, the principal circuit diagram is shown. When measuring the quadrature currents, a potential/voltage meter must be set so that the needle deviation is at a minimum. Only then can the quadrature current component read I b  on the analog indicator. 
     In the handbook, &#34;Electrical And Heat Technology Measurements&#34;, published by Hartman and Braun, 11th Edition, 1963, page 100, it is shown how the quadrature current and in-phase current are measured by means of a multiple instrument. Here too, with a watt voltage meter, the needle deviation must be set at the smallest amount. 
     In the book &#34;Alternating Current Technology&#34;, by F. Koppelmann, 1956, pages 36 through 38, a possibility of measuring the quadrature and in-phase circuit components with a measuring contact is shown. Here, the measuring area is to be adjusted to the neutral passage of the respective component to be measured. The measured value is determined and indicated in a needle type indicator instrument. In order to keep the margin of error at the smallest level, aside from the length of time, the position of the contact phase is also especially important. Lastly, due to the measuring technology used and also because of frequently existing strong overlying components, it is very difficult to determine the in-phase and quadrature current with the necessary exactness. It is not so acceptable to use half conductor diodes in order to determine the contact phase, because the flow voltage from these diodes and the temperature influences on the one-half wave are especially disadvantageous to exact measurement. 
     SUMMARY OF THE INVENTION 
     It is a purpose of this invention to develop a method and circuit arrangement for measuring in-phase and quadrature current in an electrical alternating current power supply wherein the method is especially suited for microprocessor employment. Further, only a small element cost is necessarly and a 90 degree phase reorientation in the measuring circuit is not necessary. 
     These objects are solved in accordance with the invention by way of the indicated characteristics of claim 1. In the subclaims, the advantageous developments of the invention are further emphasized. 
     The process and circuit arrangement according to the invention are especially cost favorable by virtue of their low element costs. At the same time, they offer a higher accuracy in the measuring result. Some voltage portions, such as the offset voltage of operation boosting, will be automatically suppressed and no components are necessary for a 90 degree phase shift. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The invention is more clearly explained by the enclosed drawings which show certain examples in FIGS. 1 through 4. In the drawings: 
     FIG. 1 shows a schematic diagram of an apparatus operating in accordance with an embodiment of the invention. 
     FIG. 2 is a diagrammatic view showing the relationship of voltage and current relative to time. 
     FIG. 3 is a schematic view of a portion of the measuring apparatus. 
     FIG. 4 is a further view showing a voltage relaive to time. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring first to FIG. 1, a circuit arrangement operating in accordance with the invention is illustrated. A line voltage is connected to the entry junctions 2 and 3 of a voltage transformer 1. If a three phase power supply is used, then phase junctions L2 and L3 are also superimposed. The voltage transformer 1 may use already existing transformers for the supply of the entire circuit arrangement. Further, it is is also possible to install an optical coupler as a voltage transformer. The output 4 of the transformer 1 is led to a low pass filter 5 which is connected to a comparator 6. The output signal 7 of the comparator 6 is led to a microprocessor 8. The output signal transmitted to the microprocessor by the comparator 6 (signal 7) is a square wave. Only one-half of the square wave is used for further processing and for synchronization. In the illustrated embodiment, it is the positive side of the square wave which is used. Furthermore, the exact power supply frequency can be determined by the intervals of these signals (and if need be, where there are frequency deviations which could adversely affect the measured result) there can be employed a compensating correction. 
     The transformer 11 has primary junctions 9 and 10 that are connected to the power supply. It also would be possible here to insert a current measuring rheostat, however, this simpler arrangement would have the disadvantage of power dependence. With a three phase current supply, a current transformer would be preferably placed in the phase L1. The output 12 of the current transformer 11 will be led through a low pass filter 13 which is identical to the voltage pass. It is thereby guaranteed that the various power supply frequencies and phase frequencies in the voltage path and current path are the same. The output 14 of the low pass filter 13 is connected to terminal 15 of a summation integrator, indicated generally by the block 16. An output port 18 of the microprocessor 8 inputs to a second input terminal 17 of the summation integrator 16 through an inverter 19. The summation integrator 16 is constructed in a known manner with an amplifier 20, integrating capacitor 21 and fixed resistors 22 and 23 of equal value. A negative schmitt trigger 25 is connected to the output 24 of the summation integrator 16. The schmitt trigger 25 has its signal transmitted to a inlet port 26 of the microprocessor 8. The summation integrator 16, schmitt trigger 25 and inverter 19 comprise, in conjunction with the microprocessor 8, an analog/digital transformer as indicated by the block 27. 
     The microprocessor 8 includes a driver for a 7 segment LED signal connected over output ports 28 (schematically indicated in the drawings), which depending upon the program request, report the in-phase current, quadrature current and even the wattage factor cos φ. The value themselves are relayed by the processing method according to the invention. 
     The request for the appropriate signal results over the inlet ports of the microprocessor (which are not represented in the drawings) on which sensors are connected for this application. Further, it is also possible to use the determined values of quadrature current and wattage factor in a regulator switch for an quadrature current compensation. A positive representation of these switching components will be dispensed with here because they are not necessary for those skilled in the art to understand the invention. 
     FIG. 2 shows the voltage phase u(t)=u·sin (ωt). The maximum voltage is established by u and the power supply frequency is indicated by ω. The power supply frequency is computed from the formula ω=2π/T, wherein T is the power supply period. Furthermore, the current phase follows the equation: 
     
         i(t)=i·sin (ωt+φ) 
    
     and this corresponds to the capacitive burden. Lagging current would correspond to an inductive burden. The maximum current is indicated by i. φ represents the angle of the phase shifting from current and voltage. For in-phase current, quadrature current, and the wattage factor, the following equations apply: ##EQU1## These already established connections are placed before the description of the process method itself. 
     FIG. 3 shows the current transformer 11 and the low pass filter 13 according to FIG. 1 in an actual construction. The primary side terminals 9 and 10 correspond to those of FIG. 1. The output of the transformer is a voltage proportional to the input current: 
     
         u.sub.i (t)=m.sub.i ·i·sin (ωt+φ)+U.sub.io 
    
     A phase shift of the low pass filter does not need to be further included in this calculation because a filter of the same dimension is fitted in the voltage path with which this phase shifting compensates. m i  =Δu i  /Δ i  is the transformer constant of the current transformer, U io  is the same voltage position which can, for example come from the offset voltage of the operational amplifier 29. Advantageously, the circuit arrangement is dimensioned so that the same voltage portion is imposed on the half of the supply voltage for the operation booster 29 which saves a negative supply voltage for the operation booster 29. This is also very favorable for the other circuits. As will be shown later, the results of the processing methods will not have errors induced when using this same voltage portion. 
     FIG. 4 shows the voltage u i  (t) at the output 14 of the operational booster 29. As already described, the same voltage portion U io  is also inputted. A sychronizing signal will be shunted at any given point in time t 1  from the voltage signal U io . This signal is represented in FIG. 1 by the positive switch side of the output of the comparator 7. From this pont in time, four integrations of the signals u i  (t) from each one-quarter wave of the period deviation will be passed through to the microprocessor. The integrals are referred to as A 1 , A 2 , A 3 , and A 4 . ##EQU2## From this, the integral calculates: ##EQU3## The following applies to integrates A 3  and A 4  : ##EQU4## From these four integrals, the following two expressions are formed: 
     
         B.sub.1 =-A.sub.1 -A.sub.2 +A.sub.3 +A.sub.4 
    
     
         B.sub.2 =+A.sub.1 -A.sub.2 -A.sub.3 +A.sub.4 
    
     After insertion and calculation with the previously given integral values: ##EQU5## 
     Now, for example, ωt 1  =π/2=ωT/4, therefore, t 1  =T/4 is presented in the circuit example represented here exists in the junction in the voltage transformer 1 on the phase junctions L2, L3 and in the current transformer 11 in the phase L1 so that for this it is special: ##EQU6## According to the conformities described at the beginning: ##EQU7## inserted in the expressions B 1  and B 2  it yields: ##EQU8## 
     It is to be recognized that the processing expression B 1  and B 2  according to the invention represent the quadrature and in-phase current portions as separate up unti the constant factor 4m i  /ω. It is further important to notice that the same voltage portion U io  has been cancelled and therefore has no influence on the result. 
     The determined quadrature and in-phase current portion can then be read separately with the help of a measuring instrument. Further, it is possible, by means of a calculation through the microprocessor, to fix the voltage cos φ and afterwards to read the value. 
     Following, a conclusion of the single steps for determining the quadrature and in-phase currents as well as wattage factors are listed: ##STR1## 
     It has been shown that with an alternating curent power supply with an operational frequency 50 Hz, repetition of those steps after 100 msec is sufficient. 
     The process method according to the invention makes possible an extremely simple circuit expense and eliminates disadvantageous effects from same voltage portions of operation boosters. The determined measure values have a high level of exactness. The derivations of the expressions B 1  for the quadrature current portion and B 2  for the in-phase currelnt portion are not influenced by the over-wave, because it is shown that they are sufficiently stabilized by the low pass filters 5 and 13.