Abstract:
A magnitude signal representing the approximate magnitude of a control parameter vector for the control of multi-phase electrical apparatus is developed from the Cartesian coordinate signals of the vector. Signals representing one or both coordinates of a plurality of auxiliary vectors are formed by vector rotation coordinate determination techniques. The signal from among the auxiliary vector coordinate signals (and, optionally the control parameter vector coordinate signals) having the greatest absolute value is selected as the magnitude signal. Auxiliary vector coordinate signals are formed by proportional stages coupled to adder stages which combine specified constant proportions of the control parameter vector coordinate signals. A diode network provides biasing so that only the signal with the greatest value will be passed. The auxiliary vector forming method for vector magnitude approximation provides accuracy and simplicity.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The invention relates to a method and circuitry for developing a magnitude signal which represents the approximate magnitude of a control parameter vector for the control of a multi-phase electrical apparatus, such as a rotary field machine or a three-phase system. 
     2. Description of the Prior Art 
     In the control of rotary field machines and of threephase power supplies, the problem often arises of determining the magnitude of a vector (e.g. a voltage or current vector) which is defined by its coordinates. In the control of a rotary field machine, for example, a magnetizing current control produces the desired value for the magnetizing current, and an active current control the desired value for the active current, the two currents being phase-shifted by 90°, i.e., the respective vectors are perpendicular to one another. The rotary current machine is controlled with a current composed of the magnetizing current thus determined and of the active current, it being necessary to determine the magnitude of the current. 
     The seemingly most obvious method to use to determine the magnitude of a vector is the Pythagorean theorem. This method is, however, relatively complicated to implement with circuitry since it requires the use of two squaring components and a root evolving component. Moreover, analog squarers and root evolvers cause very high errors at small values. 
     Existing literature describes a circuit referred to as a &#34;vector meter&#34; for the formation of the magnitude of a vector. This circuit operates with a control loop which proceeds from a transformed formulation of the Pythagorean theorem. It requires two adders and a multiplier with division input. Analog dividers, however, are relatively complicated, and have limited accuracy at small values. 
     Another known possibility is the formation of the magnitude of a vector by approximation using the so-called &#34;characteristic curve&#34; method, which is employed in commercially available equipment. The characteristic used for this method is shown in FIG. 1. The x-coordinate V X  of a vector V is plotted on the abscissa, and its magnitude | is plotted on the ordinate. The characteristic consists of a group of lines parallel to the ordinate with the y-coordinate of the vector V as parameter, and of the bisectors of the coordinate system. As long as the coordinates of the vector V lie in the zone of the group of straight lines, the y-component of the vector V is used in accordance with these lines as the magnitude | of the vector. For vector coordinates outside the group of lines, the magnitude | of the vector is determined from the x-coordinate by way of the respective bisector, that is, the x-coordinate is used as the magnitude. Since the group of lines of the characteristic comes into play when the y-coordinate of the vector V is greater than its x-coordinate, what the characteristic curve method amounts to in the last analysis is that the greater of the two coordinates of the vector V is chosen as the magnitude of the vector. The accuracy of this method, however, is very low. The maximum occurring error is about 30% and occurs when the two coordinates of the vector V are identical. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention to provide an improved method for determining the magnitude of a vector for the control of multi-phase electrical apparatus, whose accuracy can be selected and which can be implemented without the need for divider elements. 
     It is a further object of the invention to provide circuitry for implementing the method of the invention. 
     According to one aspect of the invention, an approximate value for the magnitude of a vector V is achieved by forming at least one auxiliary vector V i  which has the same length as the vector V but which is rotated by an angle α i  relative thereto; and selecting as the value for the magnitude of the vector V the maximum value of the coordinates of the vector V and the auxiliary vector or vectors V i . In this method of magnitude determination, the absolute value formation is effected by a vector rotation which is easily realizable and by a maximum value selection. The method becomes more accurate, the more auxiliary vectors that are formed. The accuracy is thus controllable at will be selecting the appropriate number of auxiliary vectors. 
     Advantageously, the approximate value for the magnitude of the vector V is taken as the maximum value of corresponding ones of the coordinates of the vector V and the auxiliary vectors V i . In this case, it suffices to evaluate only one coordinate. Any reduction of accuracy due to ignoring the other coordinate can be compensated for by increasing the number of auxiliary vectors formed. 
     For n auxiliary vectors V i  formed for a vector V which is given in a Cartesian coordinate system, they are appropriately rotated relative to the vector by the angle α i  =90°/(2n+1)·2i. For an established number of auxiliary vectors, rotation by this angle results in the optimum accuracy. 
     If for a vector V given in a Cartesian coordinate system n auxiliary vectors V i  are formed, these may be rotated relative to the vector also by the angle ##EQU1## and the approximate value for the magnitude of the vector V may be taken as the maximum value of corresponding ones of the coordinates of the auxiliary vectors V i . In this case, the optimum angle of rotation is different, since the coordinates of the vector itself are not included in the maximum value selection. 
     Vectors lying in any quadrant of the coordinate system can be readily transformed into the first quadrant by absolute value formation of the two coordinates. 
     Coordinates of vectors not present in the Cartesian coordinate system are expediently transformed before the absolute value formation into Cartesian coordinates by coordinate transformation. This is because the operations required for the method of the invention can best be carried out in the Cartesian coordinate system. 
     In another aspect of the invention, a circuit arrangement for the practice of the method is provided wherein a magnitude signal representing the approximate magnitude of a vector V is developed from coordinate signals that represent the Cartesian coordinates of the vector V. A coordinate signal is formed for each of a plurality of auxiliary vectors V i , by applying proportionate parts of each of the vector V coordinate signals by means of a proportional stage as inputs to an adder stage. The outputs of the adder stages, and optionally also one or both vector V coordinate signals, are then applied to a maximum value selection circuit which selects the largest of the auxiliary vector V i  coordinate signals (and one or both of the vector V coordinate signals if desired) as the usable vector V magnitude signal. The method of the invention is thus readily implemented by circuitry comprising simple proportional stages, adder stages and a maximum value selection circuit. 
     An especially simple maximum value selection circuit comprises a plurality of diodes, respectively connected at their one terminals to receive the auxiliary vector coordinate output signals from the adders (and, optionally, to receive one or both of the vector V coordinate signals) and connected at their other ends to a common maximum value selection circuit output terminal. 
     The accuracy of the maximum value selection circuit can be increased by providing as the proportional and adder stages for each auxiliary vector, an operational amplifier having a first input connected to receive the reference potential of the circuit arrangement and a second input connected to receive the x- and y-coordinates of the vector V through respective first and second resistors. A first diode is connected between the second amplifier input and the amplifier output, and a second diode is connected between the amplifier output and the maximum value selection circuit output terminal that is common for the separate circuits of each auxiliary vector and at which the desired approximate value is developed. This latter circuit provides maximum value selection without the diode thresholds found to be disturbing in single diode circuits. 
     There have thus been outlined rather broadly certain objects, features and advantages of the invention in order that the detailed description that follows may be better understood, and in order that the present contribution to the art may be better appreciated. There are, of course, additional features of the invention that will be described more fully hereinafter. Those skilled in the art will appreciate that the conception on which this disclosure is based may readily be utilized as the basis for the designing of other arrangements for carrying out the purposes of this invention. It is important, therefore, that this disclosure be regarded as including all such equivalent arrangements that encompass the spirit and scope of the invention. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Embodiments of the invention have been chosen for purposes of illustration and description, and are shown in the accompanying drawings forming a part of the specification, wherein: 
     FIG. 1 (prior art) illustrates an example of the prior art characteristic curve method of vector magnitude approximation. 
     FIG. 2 illustrates an example of the auxiliary vector formation method of vector magnitude approximation in accordance with the invention. 
     FIG. 3 is a block diagram of circuitry used to implement the method of FIG. 2. 
     FIG. 4 is a schematic diagram of an embodiment of part of the circuitry of FIG. 3. 
     FIG. 5 is a schematic diagram of a modified form of the part of the circuitry of FIG. 3 shown in FIG. 4. 
     FIG. 6 is a schematic diagram of an embodiment of a different part of the circuitry of FIG. 3. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     The principles of the method according to the invention are illustrated with respect to the example given in FIG. 2. In FIG. 2, a vector whose magnitude | is to be determined is shown represented in the first quadrant of a Cartesian coordinate system by x- and y-coordinates. 
     It is assumed that the vector V is already present in the first quadrant of the Cartesian coordinate system. Vectors which do not lie in the first quadrant can be projected into the first quadrant by absolute value transformation of their Cartesian coordinates. Vectors defined in oblique or other coordinate systems, e.g. in the 120° coordinates of a multi-phase current system, can be transformed into the Cartesian coordinate system by means of well-known coordinate transformation techniques. 
     In the example of FIG. 2, three auxiliary vectors V 1 , V 2  and V 3  are formed from the vector V. The auxiliary vectors V 1  -V 3  have lengths that coincide with the length of the vector V and are rotated relative to the vector V by the respective acute angles α 1  α 2  and α 3 . 
     An approximation of the value of the magnitude | of the vector V can then be obtained by forming either the maximum value of the x- and y-coordinates of the vector V and of the auxiliary vectors V 1  -V 3 , or the maximum value of only one coordinate of the vector V and of the auxiliary vectors V 1  -V 3 . Alternatively, a maximum value selection can be performed which entirely omits any consideration of the coordinates of the vector V. 
     In the example of FIG. 2, only the y-coordinates are made use of for the absolute value formation. Using only one coordinate has the advantage that the second coordinate of the auxiliary vectors V 1  -V 3  need not be determined. And using the y-coordinate has the advantage that, in contrast to the x-coordinate, the y-coordinate of the auxiliary vectors V i  cannot be negative for any vector V lying in the first quadrant and angles α 1  -α 3  which are smaller than 90°. The desired approximate value for the magnitude of the vector thus equals the maximum of the y-coordinate of the auxiliary vectors V 1  -V 3  and, optionally, of the vector V. Hence in the example, the desired approximate value equals V 3y  --the y coordinate of the auxiliary vector V 3 . 
     The accuracy of this method depends on the correct selection of the angles α 1  -α 3  and on the number n of auxiliary vectors V 1  -V 3  formed from the vector V. The following law of formation for the angles of rotation α i  furnishes the best results when one does not include the y-coordinate of the vector V in the maximum value selection: ##EQU2## 
     For n=3, therefore, the angles of rotation of the auxiliary vectors V 1  -V 3  relative to the vector V are: α 1  =15°; α 2  =45°; and α 3  =75°. As is clear from the example shown in FIG. 2, these are the optimum angles of rotation. In fact, the greatest error occurs when the angle between the y-axis and the nearest auxiliary vector V i  is greatest. As an analysis of FIG. 2 indicates, this angle cannot become greater than 15° at the stated selection of the angles α 1  -α 3 . The maximum error occurs when the vector V lies on the x-axis. 
     Following this reasoning, the maximum error F max  occurring in the example can be calculated as follows: 
     
         F.sub.max =-(1-cos 15°)·100%=-3.4%         (2) 
    
     For the general case of n auxillary vectors 
     
         F.sub.max =-[1-cos (45°/n)]                         (3) 
    
     From the above reasoning, it follows that the error is always negative, i.e. that the approximate value for the vector magnitude will never become greater than the actual vector magnitude. Therefore, by multiplying the obtained approximate value by a constant &#34;a&#34;, so that the error is symmetrical around zero, one can reduce the maximum error to ±1.7%. This factor a is derived from the following reasoning: 
     The mean value of the approximate value | is: ##EQU3## where | is the actual magnitude of the vector V. Now if the approximate value |&#39; obtained by the described method is multiplied by a factor a such that its mean value equals the actual magnitude of the vector V, (i.e., so that the approximate value coincides with the actual magnitude | not at its maxima as before but at its mean value), then the above-mentioned symmetrical error can be obtained with this factor a. The factor a is obtained, therefore, according to the following equation: ##EQU4## The above reasoning shows that even with the formation of as few as three auxiliary vectors V 1  -V 3 , an error as small as ±1.7% is obtainable. The method according to the invention offers the special advantage that this error does not increase at small magnitudes as is the case with methods using a dividing step. 
     Naturally, numerous variants of the described method are conceivable. For example, the x-coordinate of the vector V, the y-coordinate of the vector V, and also the x-coordinates of the auxiliary vectors V i  can be included in the maximum value selection, whereby the law of formation for the optimum angles of rotation changes and the accuracy becomes greater. 
     If, for example, the magnitude of the vector V is formed from the y-coordinates of the auxiliary vectors V i  and of the vector V, the optimum angles of rotation are defined by: ##EQU5## In this case, the greatest angle between the y-axis and the nearest auxiliary vector V i  for three auxiliary vectors is 12.9°, as compared to an angle of 15° where the y-coordinate of the vector V is not considered. Hence, the accuracy of the method is increased. 
     Circuitry for the practice of the described method is shown in FIGS. 3-6. FIG. 3 is a block diagram of a usable circuit arrangement. The coordinate signals V u  and V w  represent the coordinates of vector V, present in any oblique coordinate system. These signals are transformed by means of a coordinate transformer KW (FIG. 3) into signals V x  &#39;, V y  &#39;, representing the equivalent coordinates of the vector in the Cartesian coordinate system. By means of the component G1, the vector V is then rotated into the first quadrant of the Cartesian coordinate system. This is done simply by taking the absolute value of the coordinate signals V x  &#39; and V y  &#39;, such as by rectifying them. A vector V in the first quadrant of the Cartesian coordinate system is thus defined by the coordinate signals V x , V y . The approximate magnitude |&#39; of the vector V is formed by the circuit B. 
     FIG. 4 shows the details of an embodiment of the circuit B used for developing a magnitude signal to represent the approximate magnitude of the vector V defined by the absolute value Cartesian coordinate signals V x , V y . In accordance with the described methods, auxiliary vector coordinate signals are formed which represent at least one of the coordinates of a plurality n of auxiliary vectors V i  which have the same magnitude as the vector V but are rotated by different angles relative thereto. 
     The following vector equation for the rotation gives the y-coordinate of an auxiliary vector V i  formed by rotating the vector V through an angle α i  : 
     
         V.sub.iy =V.sub.x ·sin α.sub.i +V.sub.y ·cos α.sub.i                                             (6) 
    
     As in the example of FIG. 2, the embodiment of FIG. 4 considers three auxiliary vectors V 1 , V 2 , and V 3  which correspond to rotation of the vector V through the angles α 1 , α 2  and α 3  respectively. The angles α 1- α 3  are advantageously defined, as described above, as α 1  =15°, α 2  =45°, α 3  =75°. Signals are formed corresponding to the y-coordinates only (V 1y , V 2y , and V 3y ) of the auxiliary vectors V 1-V   3 . These are determined applying rotational coordinate transformation equations to the coordinates V x , V y  of the vector V, as follows: 
     
         V.sub.1y =C.sub.1 ·V.sub.y +C.sub.4 ·V.sub.x (6a) 
    
     
         V.sub.2y =C.sub.2 ·V.sub.y +C.sub.5 ·V.sub.x (6b) 
    
     
         V.sub.3y =C.sub.3 ·V.sub.y +C.sub.6 ·V.sub.x (6c) 
    
     where, the constants C 1  -C 3  which are multiplied by the y-coordinate signal of vector V are defined by: 
     
         C.sub.1 =cos α.sub.1 =cos 15°=0.966 
    
     
         C.sub.2 =cos α.sub.2 =cos 45°=0.704 
    
     
         C.sub.3 =cos α.sub.3 =cos 75°=0.258 
    
     and the constants C 4-C   6  which are multiplied by the x-coordinate signal of the vector V are defined by: 
     
         C.sub.4 =sin α.sub.1 =sin 15°=0.259 
    
     
         C.sub.5 =sin α.sub.2 =sin 45°=0.704 
    
     
         C.sub.6 =sin α.sub.3 =sin 75°=0.966 
    
     Since the y-coordinates of the vectors V 1-V   3  are obtained by simple multiplication and addition, the contributions of the y-coordinate signals (C 1  V y , C 2  V y  and C 3  V y ) and x-coordinate signals (C 4  V x , C 5  V x  and C 6  V x ) of the vector V to the y-coordinate signals of the vectors V 1-V   3  can be obtained respectively using simple proportional stages 1a, 1b, 1c and 2a, 2b, 2c, respectively (FIG. 4). 
     The V x  and V y  signal components of the auxiliary vector coordinate signals are then combined by adders 3a, 3b and 3c, connected as shown in FIG. 4, to provide the y-coordinate signals of the vectors V 1-V   3 . The proportional stages and their associate adder stages can be implemented by means of operational (summing) amplifiers. 
     In accordance with equations (6a)-(6c), the outputs of the proportional stages 1a and 2a are connected as inputs to the adder stage 3a; the outputs of the porportional stages 1b and 2b are connected as inputs to the adder stage 3b; and the outputs of the proportional stages 1c and 2c are connected as inputs to the adder stage 3c. According to the described method, the circuitry of FIG. 4, provides means for selecting the maximum of the auxiliary vector y-coordinate output signals of the adder stages 3a-3c and also (optionally) the y-coordinate signal V y  of the vector V. 
     This is done in the simplest case (see FIG. 4) by connecting the mentioned signals via diodes 4a-4d with a common point which is connected via a resistor 11 to the reference potential of the circuit arrangement and is connected with the output terminal A of the circuit arrangement. The diodes 4a-4c operate so that only approximate value |&#39; for the magnitude of the vector V is available at the output terminal A. 
     FIG. 5 shows the details of a modified form of the circuit of FIG. 4 which avoids the disadvantage of adverse effects caused by the thresholds of the diodes 4a-4d of FIG. 4 on the accuracy of the circuit arrangement. 
     In the embodiment of FIG. 5, the proportional stages 1a-1c and 2a-2c together with the adder stages 3a-3c and the maximum value selection circuit 4 are realized by means of operational amplifiers 5a-5c. Here the noninverting input of each operational amplifier 5a-5c is connected to the reference potential of the circuit arrangement. The inverting inputs of the operational amplifiers 5a-5c are respectively connected by means of the resistors 6a-6c to receive the negative x-cooridinate signal V x  of the vector V and by means of other resistors 7a-7c to receive the negative y-coordinate signal V y  of the vector V. Diodes 8a-8c are respectively connected between the inverting inputs and the outputs of the operational amplifiers 5a-5c with their cathodes facing the outputs. The outputs of the operational amplifiers 5a-5c are also respectively connected through diodes 9a-9c to a common connecting point P, which is in turn connected with the output A of the circuit arrangement. The diodes 9a-9c are connected with their cathodes toward the point P. In addition, resistors 10a-10c are respectively connected between the inverting inputs of the operational amplifiers 5a-5c and the common connecting point P. 
     In the embodiment according to FIG. 5, in contrast to the embodiment according to FIG. 4, the y-coordinate of the vector V is not evaluated, since here a separate operational amplifier would be necessary for the maximum value selection. 
     Without the connection with the common connecting point P, the output of each operational amplifier 5a-5c would adjust itself to a voltage proportional to the sum of the coordinates V x , V y  as a function of the ratio of the resistances of the resistors 6a-6c, 7a-7c and 10a-10c. The values of the resistors 6a-6c, 7a-7c and 10a-10c must therefore be selected to give the proportionality factors C 1  -C 6 , defined above. 
     The diodes 9a-9c and 8a-8c have no influence on the magnitude of the output voltage, which depends only on the resistors. They merely provide that when the outputs of the operational amplifiers 5a-5c are connected with the common connecting point P, only the maximum of the output voltages, i.e. the greatest y-coordinate of the auxiliary vectors V 1  -V 3 , appears at the output A. Hence, there is present at the output A the desired approximate value for the magnitude of the vector V, which in this case is independent of the threshold voltages of the diodes. 
     Finally, FIG. 6 shows an embodiment of the coordinate transformer KW. If, for example, it is desired to transform the coordinates V u , V w  given in a 120° coordinate system into rectangular Cartesian coordinates V x  &#39;, V y  &#39;, one can proceed according to the following equations: ##EQU6## 
     In the circuit according to FIG. 6, these equations are realized in that the coordinate V u  is taken over unchanged as the x-coordinate V x  &#39;. Moreover, one supplies the coordinate V u  via a proportional stage 12a with the proportionality factor b1 and the coordinate V w  via a proportionality stage 12b with the proportionality factor b2 to an addition stage 13, at the output of which the y-coordinate V y  &#39; is available. According to equation (7), the proportionality factor b1 is 1/√3 and the proportionality factor b2 is 2/√3 . Naturally, the coordinate transformer KW and also the circuit Gl for rotation of the vector V into the first quadrant of the Cartesian coordinate system may be omitted if the vector V is already present in suitable form. 
     Having thus described the invention with particular reference to the preferred forms thereof, it will be obvious to those skilled in the art to which the invention pertains, after understanding the invention, that various changes and modifications may be made therein without departing from the spirit and scope of the invention as defined by the claims appended hereto. It will be appreciated that the selection, connection and layout of the various components of the described configurations may be varied to suit individual tastes and requirements.