Field of the Invention
The invention is directed to an apparatus for detecting the position of a rotor and, more particularly, to a power and temperature independent magnetic position sensor for a rotor.
Background of the Invention
Generally speaking, it is important to be able to determine the angular position of a rotor in order to optimize electrical performance in brushless DC motors in terms of improved efficiency, power factor, and reduced current. For this purpose, it has been possible to determine the angular position of a rotor absolutely, but not accurately, with certain techniques such as with an absolute sensor that measures the distance between the sensor and a rotating wheel where the distance is continuously variable. While such an absolute sensor can be utilized where temperature variations are negligible, and is well suited for use as a counter for determining the number of revolutions, it is not well-suited where accuracy is important in an atmosphere of power supply and temperature variations.
In the past, it has been proposed to determine the angular position of a rotor in an accurate but not absolute sense by utilizing a stationary magnetic sensor. For instance, this has been proposed in Rothley, U.S. Pat. No. 4,506,217 which also senses speed, and in Sato et al, U.S. Pat. No. 4,369,405 which utilizes rotating magnet poles in an AC power generated apparatus. Further, in Glauert et al, U.S. Pat. No. 4,166,977, a rotary speed and angular position determining system is disclosed.
Still other position and speed detecting apparatus are disclosed in U.S. Pat. Nos. 4,370,614; 4,490,674; 4,481,469; 4,506,339; 4,359,685; and 3,728,565. However, it has remained to provide a power and temperature independent magnetic position sensor for a rotor.
The present invention is directed to overcoming the above-stated problems and accomplishing the stated objects.
Summary of the Invention
Accordingly, the present invention is directed to a power and temperature independent magnetic position sensor for a rotor. The position sensor includes first and second magnetic sensing means for accurately determining the angular position of the rotor with the first and second magnetic sensing means comprising at least one target means operatively associated with the rotor so as to rotate therewith, first sensor means disposed at a variable distance from the target means dependent upon the angular position of the rotor to define a first air gap therebetween, and second sensor means disposed at a variable distance from the target means dependent upon the angular position of the rotor to define a second air gap therebetween. With this arrangement, the first and second sensor means cooperate with the target means to detect magnetic field intensity in the first and second air gaps, respectively.
Further, the first and second sensor means produce output signals indicative of the magnetic field intensity in the first and second air gaps. The magnetic field intensity in the first and second air gaps at any point in time is dependent upon the length of the first and second air gaps as determined by the position of the first and second sensor means relative to the target means at that point in time. Moreover, the output signals change in magnitude in a manner indicative of the magnetic field intensity by reason of changes in the length of the first and second air gaps.
Still further, the position sensor includes compensating means operatively associated with the first and second sensor means. The compensating means includes means for adding the output signals produced by the first and second sensor means, means for subtracting the output signals produced by the first and second sensor means, and means for dividing the added output signals by the subtracted output signals to produce a numerical value representative of the accurate angular position of the rotor. Because of the unique feature of the compensating means, the numerical value is independent of temperature and power supply.
In an exemplary embodiment, the first and second sensor means comprise first and second magnetic sensors mounted in fixed positions relative to the target means which in this embodiment preferably includes first and second wheels having generally smooth outer surfaces about the peripheries thereof. The wheels comprise first and second circular disks having continuously increasing radial dimensions with radial offsets on the outer surfaces at common points of maximum and minimum radial dimension. With this arrangement, the first and second magnetic sensors are disposed in respective common planes with the first and second circular disks in confronting but radially spaced relation to the outer surfaces such that the first magnetic sensor is always spaced from the first circular disk by a distance less than the distance the second magnetic sensor is spaced from the second circular disk.
In an alternative embodiment, the target means includes a single wheel having a generally smooth outer surface about the periphery thereof. The wheel again comprises a circular disk having a continuously increasing radial dimension and having a radial offset on the outer surface at a common point of maximum and minimum radial dimension with the first and second magnetic sensors being disposed in a common plane with the circular disk in confronting but radially spaced relation to the outer surface. Moreover, the first and second magnetic sensors are disposed in angularly spaced relation to one another so as to always be at a different distance from the outer surface of the circular disk.
In the preferred embodiment, the first and second air gaps are linearly variable. Moreover, the length of the first air gap is always less than the length of the second air gap so that the magnitude of the output signal produced by the first sensor means is alway greater than the magnitude of the output signal produced by the second sensor means. As a result, the difference between the output signals is always a positive numerical value greater than zero.
In the alternative embodiment, the first and second air gaps are also linearly variable. In addition, the length of the first air gap is normally but not always less than the length of the second air gap so that the magnitude of the output signal produced by the first sensor means is normally but not always greater than the magnitude of the output signal produced by the second sensor means. As a result, the difference between the output signals is normally but not always a positive numerical value greater than zero.
However, in the alternative embodiment, the difference between the output signals is a negative numerical value for a limited angular displacement of the rotor. In particular, this limited angular displacement will correspond to the angular separation of the first and second sensor means since the length of the second air gap will be less than the length of the first air gap for that limited period of time. As a result, the magnitude of the output signal produced by the second sensor means will be greater than the magnitude of the output signal produced by the first sensor means resulting in the negative numerical value.
During this limited angular displacement of the rotor, the added output signals are multiplied by a positive factor and the subtracted output signals are multiplied by a negative factor. These factors are selected to not only change the sign of the difference between the output signals to provide a positive numerical value but also to provide a very nearly linearly increasing numerical value throughout the 360.degree. of rotation of the rotor. By so doing, the numerical value is representative of the accurate angular position of the rotor independent of power supply and temperature variations.
The present invention is also directed to a compensating circuit for accurately determining the angular position of a rotor with a magnetic position sensor independent of power supply and temperature variations. The circuit includes means for adding rotor angle-related linearly variable output signals from first and second sensor means of the magnetic position sensor and means for subtracting the rotor angle-related linearly variable output signals from the first and second sensor means of the magnetic position sensor. Moreover, the circuit includes means for dividing the added output signals by the subtracted output signals to produce a numerical value representative of the accurate angular position of the rotor independent of power supply and temperature variations.
Finally, the present invention is directed to a method for accurately determining the angular position of a rotor with a magnetic position sensor in a manner independent of power supply and temperature variations. The method includes the steps of adding rotor angle-related linearly variable output signals from first and second sensor means of the magnetic position sensor and subtracting the rotor angle-related linearly variable output signals from the first and second sensor means of the magnetic position sensor. Additionally, the method includes the step of dividing the added output signals by the subtracted output signals to produce a numerical value representative of the accurate angular position of the rotor independent of power supply and temperature variations.
Still other objects, advantages and features of the present invention will be appreciated from a consideration of the following specification taken in conjunction with the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is an end elevational view illustrating a power and temperature independent magnetic position sensor for a rotor in accordance with the present invention;
FIG. 2 is a front elevational view of the position sensor illustrated in FIG. 1;
FIG. 3 is a schematic of a compensating circuit for the position sensor illustrated in FIG. 1;
FIG. 4 is an elevational view of an alternative embodiment of power and temperature independent magnetic position sensor for a rotor; and
FIG. 5 is a schematic of a compensating circuit for the position sensor illustrated in FIG. 4.
Detailed Description of the Preferred Embodiments
With reference first to FIG. 1, the reference numeral 10 designates generally a power and temperature independent magnetic position sensor for a rotor (not shown). The position sensor 10 includes first and second magnetic sensing means 12 and 14 for accurately determining the angular position of the rotor, and the first and second magnetic sensing means 12 and 14 include first and second target means 16 and 18 operatively associated with the rotor so as to rotate therewith, first sensor means 20 disposed at a variable distance from the first target means 16 dependent upon the angular position of the rotor to define a first linearly variable air gap 22 therebetween, and second sensor means 24 disposed at a variable distance from the second target means 18 dependent upon the angular position of the rotor to define a second linearly variable air gap 26 therebetween. With this arrangement, the first and second sensor means 20 and 24 cooperate with the first and second target means 16 and 18 to detect magnetic field intensity in the first and second air gaps 22 and 26, respectively (see, also, FIG. 2).
Still referring to FIGS. 1 and 2, the first and second sensor means 20 and 24 produce output signals indicative of the magnetic field intensity in the first and second air gaps 22 and 26. The magnetic field intensity in the first and second air gaps 22 and 26 at any point in time is dependent upon the the length of the first and second air gaps as determined by the position of the first and second sensor means 20 and 24 relative to the first and second target means 16 and 18 at that point in time. In this connection, the output signals change in magnitude in a manner indicative of the magnetic field intensity by reason of changes in the length of the first and second air gaps 22 and 26.
With the arrangement illustrated in FIGS. 1 and 2, the length of the first air gap 22 is always less than the length of the second air gap 26. Thus, the magnitude of the output signal produced by the first sensor means 20 is always greater than the magnitude of the output signal produced by the second sensor means 24. As will be described hereinafter in some detail, this feature is advantageously utilized by compensating means 28 (see FIG. 3).
More specifically, the compensating means 28 is operatively associated with the first and second sensor means 20 and 24 which produce output signals V.sub.S1 and V.sub.S2, respectively. The compensating means 28 includes means 30 for adding the output signals produced by the first and second sensor means 20 and 24, means 32 for subtracting the output signals produced by the first and second sensor means 20 and 24, and means 34 for dividing the added output signals by the subtracted output signals to produce a numerical value V.sub.z representative of the accurate angular position of the rotor. Because of the unique features of the compensating means 28, the numerical value produced by the dividing means 34 is entirely independent of power supply and temperature variations.
Referring once again to FIGS. 1 and 2, the first and second target means 16 and 18 comprise first and second wheels having generally smooth outer surfaces 16a and 18a about the peripheries thereof. The first and second wheels 16 and 18 comprise first and second circular disks (compare FIGS. 1 and 2) having continuously increasing radial dimensions. As shown, the first and second circular disks 16 and 18 have radial offsets 16b and 18b on the outer surfaces 16a and 18a at common points of maximum and minimum radial dimension.
Referring specifically to FIG. 2, the first and second magnetic sensors 20 and 24 are disposed in respective common planes with the first and second circular disks 16 and 18. It will also be seen that the first and second magnetic sensors 20 and 24 are disposed in confronting but radially spaced relation to the outer surfaces 16a and 18a of the first and second circular disks 16 and 18. Moreover, as shown in FIG. 1, the first magnetic sensor 20 is always spaced from the first circular disk 16 by a distance less than the distance the second magnetic sensor 24 is spaced from the second circular disk 18.
Referring once again to FIG. 3, the compensating means 28 comprises an electrical circuit, the adding means 30 comprises an electronic adder in the electrical circuit, the subtracting means 32 comprises an electronic subtractor in the electrical circuit, and the dividing means 34 comprises an electronic divider in the electrical circuit. Further, the electrical circuit 28 preferably includes means for amplifying the output signals V.sub.s1 and V.sub.s2 produced by the first and second sensor means 20 and 24. In particular, the amplifying means includes a first amplifier 36 for receiving the output signal V.sub.s1 produced by the first sensor means 20 and a second amplifier 38 for receiving the output signal V.sub.s2 produced by the second sensor means 24 and, as shown, the first and second amplifiers 36 and 38 are disposed intermediate the first and second sensor means 20 and 24 and the electronic adder and subtractor 30 and 32.
Still further, the electrical circuit 28 includes means for multiplying the amplified and added output signals, i.e., V.sub.s1 '+V.sub.s2 ' and the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ', including a first multiplier 40 for receiving the added output signals, i.e., V.sub.s1 '+V.sub.s2 ' from the electronic adder 30 and a second multiplier 42 for receiving the subtracted output signals i.e., V.sub.s1 '-V.sub.s2 ' from the electronic subtractor 32. As shown, the first and the second multipliers 40 and 42 are disposed intermediate the electronic adder and subtractor 30 and 32 and the electronic divider 34. In a preferred embodiment, the output signal V.sub.s1 received by the first amplifier 36 is amplified by a gain of 10, the output signal V.sub.s2 received by the second amplifier 38 is amplified by a gain of 10, the added output signals, i.e., V.sub.s1 '+V.sub.s2 ' received by the first multiplier 40 are scaled by a factor of 0.2, and the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' received by the second multiplier 42 are scaled by a factor of 1.0.
For the embodiment illustrated in FIGS. 1-3, an example will clearly demonstrate the unique features of the invention. It will be seen that the first and second wheels 16 and 18 are fixed on a shaft 44 and adapted to rotate therewith and with a rotor operatively associated with the shaft (not shown), with the second wheel 18 having a maximum radius greater than the minimum radius of the first wheel 16 but with both the first and second wheels 16 and 18 having linearly increasing radii when rotated in the clockwise direction (or linearly decreasing radii when rotated in the counterclockwise direction). As a result, both of the first and second air gaps 22 and 26 decrease linearly when the first and second wheels 16 and 18 are rotated in the clockwise direction (or increase linearly when the first and second wheels 16 and 18 are rotated in the counterclockwise direction).
For purposes of this example, V.sub.s1 output signals range from 87 mV to 100 mV for 0.degree. through 359.9.degree. of angular rotation of the first wheel 16 and V.sub.s2 output signals range from 47 mV to 64 mV for 0.degree. through 359.9.degree. of angular rotation of the second wheel 18. The output signals V.sub.s1 and V.sub.s2 from the first and second sensors 20 and 24 are amplified by a gain of 10, the amplified output signals V.sub.s1 ' and V.sub.s2 ' are added and subtracted by the electronic adder 30 and electronic subtractor 32 simultaneously, the added output signals, i.e., V.sub.s1 '+V.sub.s2 ' are scaled by a factor of 0.2 and the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' are scaled by a factor of 1.0, after which the scaled outputs are fed into the electronic divider 34. At this stage, the numerical value representative of the accurate angular position of the rotor is determined by the formula: ##EQU1## where 10 V is the reference voltage.
With this formula, V.sub.z is a numerical value representative of the accurate angular position of the rotor. This value which, with the outputs assumed above, ranges from 6.7 at 0.degree. to 8.4 at 360.degree., is a rotor angle-related linearly variable value. Moreover, the numerical value is independent of power supply and temperature variations as will be demonstrated hereinafter.
For instance, for a 10% increase in the output signals V.sub.s1 and V.sub.s2 produced by the first and second sensors 20 and 24, whether due to power supply and/or temperature variations: ##EQU2## As previously mentioned, this is exactly the same numerical value already obtained for 0.degree. and, thus, V.sub.z is independent of power supply and temperature variations.
Referring now to FIGS. 4 and 5, an alternative embodiment of power and temperature independent magnetic sensor 50 for a rotor is illustrated. The position sensor 50 includes first and second magnetic sensing means 52 and 54 for accurately determining the angular position of the rotor 55 including single target means 56 operatively associated with the rotor so as to rotate therewith, first sensor means 58 disposed at a variable distance from the target means 56 dependent upon the angular position of the rotor to define a first linearly variable air gap 60 therebetween, and second sensor means 62 disposed at a variable distance from the target means 56 dependent upon the angular position of the rotor to define a second linearly variable air gap 64 therebetween. As with the embodiment illustrated in FIGS. 1-3, the first and second sensor means 58 and 62 cooperate with the target means 56 to detect magnetic field intensity in the first and second air gaps 60 and 64, respectively.
Also, as before, the first and second sensor means 58 and 62 produce output signals V.sub.s1 and V.sub.s2 indicative of the magnetic field intensity in the first and second air gaps 60 and 64. The magnetic field intensity in the first and second air gaps 60 and 64 at any point in time is dependent upon the length of the first and second air gaps as determined by the position of the first and second sensor means 58 and 62 relative to the target means 56 at that point in time. Further, the output signals V.sub.s1 and V.sub.s2 change in magnitude in a manner indicative of the magnetic field intensity by reason of changes in the length of the first and second air gaps 60 and 64.
With the embodiment illustrated in FIGS. 4 and 5, the length of the first air gap 60 is normally less than the length of the second air gap 64. Thus, the magnitude of the output signal V.sub.s1 produced by the first sensor means 58 is normally greater than the magnitude of the output signal V.sub.s2 produced by the second sensor means 64. As a result, a positive numerical value V.sub.z is normally produced by a compensating means 66 operatively associated with the first and second sensor means 58 and 62 (see FIG. 5).
Still referring to FIG. 5, the compensating means 66 receives the output signals V.sub.s1 and V.sub.s2 from the first and second sensor means 58 and 62. The compensating means 66 includes means 68 for adding the output signals produced by the first and second sensor means 58 and 62, means 70 for subtracting the output signals produced by the first and second sensor means 58 and 62, and means 72 for dividing the added output signals by the subtracted output signals. In this manner, the dividing means 72 produces a numerical value representative of the accurate angular position of the rotor 55 independent of power supply and temperature variations.
As with the embodiment illustrated in FIGS. 1-3, the first and second sensor means 58 and 62 preferably comprise first and second magnetic sensors mounted in fixed positions relative to the target means 56. It will also be appreciated by referring to FIG. 4 that the target means 56 comprises a single wheel having a generally smooth outer surface 56a about the periphery thereof, and the wheel 56 comprises a circular disk having a continuously increasing radial dimension with a radial offset 56b on the outer surface 56a at a common point of maximum and minimum radial dimension. With this arrangement, the first and second magnetic sensors 58 and 62 are disposed in a common plane with the circular disk 56 in confronting but radially spaced relation to the outer surface 56a.
Still referring to FIG. 4, the first and second magnetic sensors 58 and 62 are also disposed in angularly spaced relation to one another by an angle of .theta..degree.. Further, the first magnetic sensor 58 is always spaced from the circular disk 56 by a distance different from the distance the second magnetic sensor 62 is spaced from the circular disk 56. In this manner, the output signals V.sub.s1 and V.sub.s2 supplied to the compensating means 66 will always be of a different numerical value.
Referring now to FIG. 5, the compensating means 66 comprises an electrical circuit, the adding means 68 comprises an electronic adder in the electrical circuit 66, the subtracting means 70 comprises an electronic subtractor in the electrical circuit 66, and the dividing means 72 comprises an electronic divider in the electrical circuit 66. It will also be seen that the electrical circuit 66 includes means for amplifying the output signals V.sub.s1 and V.sub.s2 produced by the first and second sensor means 58 and 62. More particularly, the amplifying means includes a first amplifier 74 for receiving the output signal V.sub.s1 produced by the first sensor means 58 and a second amplifier 76 for receiving the output signal V.sub.s2 produced by the second sensor means 62, and the first and second amplifiers 74 and 76 are disposed intermediate the first and second sensor means 58 and 62 and the electronic adder and subtractor 68 and 70.
As further shown in FIG. 5, the electrical circuit 66 includes switch means comprising a first analog switch 78 and a second analog switch 80. The first analog switch 78 is disposed intermediate the electronic adder 68 and the electronic divider 72 and receives the added output signals directly from the electronic adder 68 as a first input to the first analog switch 78 and indirectly from the electronic adder 68 after the added output signals have been multiplied by a first multiplier 82 as a second input to the first analog switch 78. The second analog switch 80 is disposed intermediate the electronic subtractor 70 and the electronic divider 72 and receives the subtracted output signals directly from the electronic subtractor 70 as a first input to the second analog switch 80 and indirectly from the electronic subtractor 70 after the subtracted output signals have been multiplied by a second multiplier 84 as a second input to the second analog switch 80. As shown, the first and second multipliers 82 and 84 are disposed intermediate the electronic adder and subtractor 68 and 70 and the first and second analog switches 78 and 80, respectively.
Still further, the electrical circuit 66 includes a comparator 86 adapted to receive the subtracted output signals directly from the electronic subtractor 70. The comparator is also operatively associated with the first and second analog switches 78 and 80 to cause either the first inputs or the second inputs to the first and second analog switches 78 and 80 to be received by the electronic divider 72. More specifically, the comparator 86 causes the second inputs to be received by the electronic divider 72 when the subtracted output signals is a negative value.
In a preferred embodiment of the electrical circuit 66, the output signal V.sub.s1 received by the first amplifier 74 is amplified by a gain of 10, the output signal V.sub.s2 received by the second amplifier 76 is amplified by a gain of 10, the added output signals, i.e., V.sub.s1 '+V.sub.s2 ' received by the first multiplier 82 are scaled by a factor of G1, and the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' received by the second multiplier 84 are scaled by a factor of -G2. As will be appreciated, this negative scaling factor changes the sign of the difference to a positive numerical value in the event that V.sub.s2 ' is greater than V.sub.s1 ' which would otherwise cause the difference to be a negative value, and the comparator 86 also multiplies the numerical value produced by dividing the added output signals, i.e., V.sub.s1 '+V.sub.s2 ' or G1 (V.sub.s1 '+V.sub.s2 ') by the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' or -G2 (V.sub.s1 '-V.sub.s2 ') by a reference voltage of 10 volts.
With the embodiment illustrated in FIGS. 4 and 5, the first and second magnetic sensors 58 and 62 are spaced apart by an angle of .theta..degree. and the length of the first and second air gaps 60 and 64 can be designated d.sub.1 and d.sub.2 respectively. Assuming that the minimum value of d.sub.1 is equal to the minimum value of d.sub.2, the output signals of the first and second magnetic sensors 58 and 62, i.e., V.sub.s1 and V.sub.s2, will be exactly the same but slightly displaced in time by the angle .theta..degree. when the circular disk 56 rotates and the first and second magnetic sensors 58 and 62 are stationary (or vise-versa). Assuming also that the circular disk 56 has a linearly increasing radial dimension which means that the lengths d.sub.1 and d.sub.2 of the first and second air gaps 60 and 64 increase linearly, the output signal V.sub.s1 for a given magnetic field strength is proportional to the length d.sub.1 of the first air gap 60. As a result, the output signal V.sub.s1 will increase linearly and, by the same reasoning, the output signal V.sub.s2 will increase linearly; hence, the output signal V.sub.s1 and V.sub.s2 will take on the same values but at different times over one complete revolution.
By way of example, arbitrarily assuming the first and second magnetic sensors 58 and 62 to be angularly displaced by 40.degree.: ##EQU3## Similarly: ##EQU4## where V.sub.s is the power supply voltage to the first and second magnetic sensors 58 and 62.
As will be apprecited, the electrical circuit 66 eliminates any impact of the power supply voltage because: ##EQU5## where V.sub.Ref =the reference voltage of the electronic divider 72. As a result, the power supply voltage has been eliminated from the numerical value V.sub.z.
Similarly, temperature variations have been eliminated by the electrical circuit 66 as having any effect on the numerical value V.sub.z. For instance, assuming that the output signal V.sub.s1 increases (or decreases) by 20% due to a change in temperature, the output signal V.sub.s2 will also increase (or decrease) by 20% because both of the first and second magnetic sensors 58 and 62 are at the same temperature. As a result, if V.sub.s1 =4 mV/V and V.sub.s2 =5 mV/V at a given angle e.g., 120.degree., then V.sub.s1 +20%=4.8 mV/V and V.sub.s2 +20%=6 mV/V and in either case Vz=9 V because ##EQU6## As will be appreciated, the same result will hold true if V.sub.s1 and V.sub.s2 are increased by reason of a power supply variation.
For a given angular displacement .theta..degree., a unique linear relationship exists between the angular position of the rotor and the numerical value V.sub.z. However, the angular displacement .theta..degree. should be sufficiently large so that the signal-to-noise ratio of the difference between V.sub.s1 and V.sub.s2 is sufficiently large to ignore the noise. In particular, the difference should be at least 10% of the maximum output of the first and second magnetic sensors 58 and 62.
As will be appreciated, if the displacement .theta..degree. is 40.degree., a negative numerical value will be obtained when the angular position of the rotor is between 320.degree. and 359.9.degree.. This negative numerical value can be changed to a positive numerical value by means of the unique electrical circuit 66 illustrated in FIG. 5. In other words, the comparator 86 signals the first and second analog switches 78 and 80 to pass the second inputs G1 (V.sub.s1 '+V.sub.s2 ') and -G2 (V.sub.s1 '-V.sub.s2 ') to the electronic divider 72 to insure a positive numerical value V.sub.z.
While it has been assumed that the first and second air gaps 60 and 64 are linearly decreasing in length, this is not essential to the operation of the position sensor 50. However, it is important that the first and second air gaps 60 and 64 decrease (or increase if the motor is reversed) in such a way that the length varies linearly. Further, the first and second magnetic sensors 58 and 62 need not be placed exactly the same distance from the radial offset 56b although this may be selected for purposes of simplicity.
In operation, the addition and subtraction by the electronic adder 68 and the electronic subtractor 70 takes place substantially simultaneously. The added output signals, i.e., V.sub.s1 '+V.sub.s2 ' is fed into the first analog switch 78 directly and also into the multiplier 82 having a gain G1 after which the added and scaled output signals, i.e., G1 (V.sub.s1 '+V.sub.s2 ') is fed into the first analog switch 78. The subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' is also fed into the second analog switch 80 directly and further into the multiplier 84 having a gain -G2 after which the added and scaled output signals, i.e., -G2 (V.sub.s1 '-V.sub.s2 ') is also fed into the second analog switch 80. Moreover, the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' is fed to the comparator 86 which will allow either the first inputs, i.e., V.sub.s1 '+V.sub.s2 ' and V.sub.s1 '-V.sub.s2 ' or the second inputs, i.e., G 1 (V.sub.s1 '+V.sub.s2 ') and -G2 (V.sub.s1 '-V.sub.s2 ') to be fed to the numerator and denominator inputs, respectively, of the electronic divider 72.
Thus, when the subtracted output signals, i.e., V.sub.s1 '-V.sub.s2 ' of the electronic subtractor 70 are positive, e.g., between 0.degree. and 320.degree. where .theta.=40.degree., the comparator 86 will allow the first inputs, i.e., V.sub.s1 '+V.sub.s2 ' and V.sub.s1 '-V.sub.s2 ' to be fed into the electronic divider 72. Further, when the output signals, i.e., V.sub.s1 '-V.sub.s2 ' of the electronic subtractor 70 is negative, e.g., between 320.degree. and 359.9.degree. where .theta.=40.degree., the comparator 86 will allow the second inputs, i.e., G1 (V.sub.s1 '+V.sub.s2 ') and -G2 (V.sub.s1 '-V.sub.s3 ') to be fed into the electronic divider 72.
In a preferred embodiment of the position sensor 50, the multiplier 82 has a gain of G1 and the multiplier 84 has a gain of -G2 in which case: ##EQU7##
When the comparator 86 selects the second inputs, i.e., G1 (V.sub.s1 '+V.sub.s2 ') and -G2 (V.sub.s1 '-V.sub.s2 '), the result is to change a negative numerical value into a positive numerical value. Moreover, the scaling factors G1 and -G2 only serve to change the negative value to a positive value and to change the magnitude of the output by a fixed constant to thereby approximate a linear relationship between the angular position of the rotor and the resulting numerical value V.sub.z. Furthermore, this numerical value V.sub.z is entirely independent of power supply and temperature variations.
As will now be appreciated, the present invention is also directed to a unique compensating circuit 28 or 66 for accurately determining the angular position of a rotor such as 55 with a magnetic position sensor 10 or 50 independent of power supply and temperature variations. The compensating circuit 28 or 66 includes means 30 or 68 for adding rotor angle-related linearly variable output signals V.sub.s1 and V.sub.s2 from first and second sensor means 20 or 58 and 24 or 62 of the respective magnetic position sensors 10 or 50. It also includes means 32 or 70 for subtracting the rotor angle-related linearly variable output signals V.sub.s1 and V.sub.s2 from the first and second sensor means 20 or 58 and 24 or 62 of the respective magnetic position sensors 10 or 50. The compensating circuit 28 or 66 also includes means 34 or 72 for dividing the added output signals, i.e., V.sub.s1 +V.sub.s2 by the subtracted output signals, i.e., V.sub.s1 -V.sub.s2 to produce a numerical value representative of the accurate angular position of the rotor such as 55. By reason of the unique compensating circuit 28 or 66, the numerical value is entirely independent of power supply and temperature variations.
Finally, the present invention is directed to a method for accurately determining the angular position of a rotor such as 55 with a magnetic position sensor 10 or 50 independent of power supply and temperature variations. The method includes the step of adding rotor angle-related linearly variable output signals V.sub.s1 and V.sub.s2 from first and second sensor means 20 or 58 and 24 or 62 of the respective magnetic position sensors 10 or 50. It also includes the step of subtracting the rotor angle-related linearly variable output signals V.sub.s1 and V.sub.s2 from the first and second sensor means 20 or 58 and 24 or 62 of the respective magnetic position sensors 10 or 50. The method further includes the step of dividing the added output signals, i.e., V.sub.s1 and V.sub.s2 by the subtracted output signals, i.e., V.sub.s1 -V.sub.s2 to produce a numerical value representative of the accurate angular position of the rotor such as 55. By following these steps, the method produces a numerical value which is entirely independent of power supply and temperature variations.
While in the foregoing there have been set forth preferred embodiments of the invention, it will be understood that the details herein given may be varied by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.