TEMPERATURE COMPENSATION CIRCUIT FOR A HALL EFFECT ELEMENT

Abstract: A temperature compensation circuit is provided for use in conjunction with a Hall effect element in which the temperature compensating resistors (48, 49), or epitaxial resistors, are not placed in the signal loop as portions of the feedback loops of amplifiers. The circuit therefore permits a higher degree of linearity and temperature compensation without inducing the problems that are normally caused by varying voltage potentials across the epitaxial resistors. One embodiment of the circuit also provides a means for clamping, or truncating the output voltage of the circuit to a preselected percentage of the supply voltage even though the supply voltage may vary during the operation of the device. The circuit utilizes several external trimmable resistors (RN C1, RN C2) to perform final adjustment on the circuit in order to permit individual variations from component to component to be compensated.

Description: TEMPERATURE COMPENSATION CIRCUIT FOR A HALL EFFECT ELEMENT BACKGROUND OF THE INVENTION Field of the Invention: The present invention relates generally to a temperature compensation circuit for a Hall effect element and, more particularly, to a temperature compensation circuit which prevents temperature compensation resistors from having a voltage potential across them which varies when the output of a Hall element changes. Description of the Prior Art: Hall effect elements are well known to those skilled in the art. For example, Hall effect elements have been used for many years in devices which sense the movement of magnetic material through a detection zone. Geartooth sensors and vane sensors have been used in automobiles to monitor the position of rotating objects. Geartooth sensors have been used to monitor the rotation of crank shafts and cam shafts in conjunction with an automobile engine and, in addition, certain types of geartooth sensors have been used in conjunction with automatic braking systems. A problem that exists in the use and application of Hall effect elements biased with a constant voltage is that the Hall output voltage varies over temperature primarily as a function of the temperature coefficient of resistance (TCR) of the material in which the Hall element is formed. For example, the output from a typical Hall effect element formed in the N epitaxy, for a constant magnetic field imposed on it, at 25 degrees centigrade is approximately double its output at 150 degrees centigrade. For uses in applications where changes in temperature are expected, some means must be provided to compensate for this temperature induced change in the Hall output voltage. Known temperature compensation circuits typically use temperature sensitive resistors as part of an amplification circuit to compensate for the change in Hall output voltage as a function of temperature. In certain known temperature compensation circuits, epitaxial resistors are used as part of the feedback circuit of an amplifier. Since epitaxial resistors exhibit a resistance at 150 degrees centigrade which is approximately double their resistance at 25 degrees centigrade, the inverse relationship between the resistance change in an epitaxial resistor and the voltage change in a Hall effect element formed in the same epitaxy can be used as a canceling compensation method. United States Patent 4,760,285, which issued to Nelson on July 26, 1988, discloses a Hall effect device with epitaxial layer resistive means for providing temperature independent sensitivity. In this linear Hall effect integrated circuit, the output signal of the Hall element is amplified by a circuit whose gain is determined by a resistor that is partially formed in the same epitaxial layer as the Hall element. A first amplifier stage is configured as a voltage to current converter and is connected through a current mirror to a second amplifier stage that is configured as a current to voltage converter. United States Patent 4,734,594, which issued to Nelson on March 29, 1988, describes a canceling compensation method for a sensor with temperature dependent sensitivity. The Hall effect device described in this patent has null (i.e. zero magnetic flux density) offset voltage compensation. The output terminals of the Hall effect element, which are formed in an epitaxial layer, are connected to a differential current source. The sum of the first and second currents produced by the source is determined by a resistor formed in the epitaxial layer in which the Hall effect element is formed. It is powered by the same electrical source as the Hall effect element so as to produce a current which tracks the current through the Hall effect element as a function of both temperature and the electrical source. The current through the resistor is split by a pair of trimmable temperature insensitive resistors and supplied to a pair of cross-coupled current mirrors which supply the currents to the output terminals of the Hall effect element. When epitaxial resistors are used in the signal path to compensate for the output voltage changes in a Hall effect element as a function of temperature, an additional problem is introduced into the Hall circuit. Since epitaxial resistors exhibit a change in their resistance as a function of the voltage potential across them, their use in the feedback circuit of an amplifier can introduce errors in the resulting output of the Hall circuit. Although the effect on the resistance of an epitaxial resistor as a function of the voltage potential across it is relatively small, this variability in the resistance can deleteriously impact a Hall effect amplification circuit with an extremely high linearity requirement. In order to avoid this problem that is caused by the change of the resistance in an epitaxial resistor as a function of the applied voltage potential, it would be significantly beneficial if a temperature compensation and amplification circuit could be provided which utilizes the epitaxial resistors in a configuration where the applied voltage potential is constant. SUMMARY OF THE INVENTION In a preferred embodiment of the present invention, a temperature compensation circuit comprises a Hall effect element which has a first output signal that is representative of a magnetic field imposed on the Hall effect element. In addition, it comprises an amplification circuit which has an input connected in signal communication with the first output signal from the Hall effect element. The amplification circuit has a second output which is representative of the magnetic field. In addition, a preferred embodiment of the present invention comprises a temperature compensation circuit which has at least one temperature sensitive resistor connected within the temperature compensation circuit to prevent changes in the first output signal from affecting the voltage potential across the temperature sensitive resistor. The amplification circuit in a preferred embodiment of the present invention comprises a first amplifier and a second amplifier. The first amplifier has a first transistor connected between its output and its inverting input. The second amplifier has a second transistor connected between its output and its inverting input. A resistor is connected between the inverting inputs of the first and second amplifiers. The amplification circuit comprises a third amplifier with its noninverting input connected to an output of the first amplifier and its inverting input connected to an output of the second amplifier. The third amplifier has third and fourth output signals whose difference is representative of the magnetic field imposed on the Hall effect element. A preferred embodiment of the present invention further comprises a fourth amplifier having its noninverting input connected to the third output signal and its inverting input connected to the fourth output signal. The fourth amplifier has a temperature sensitive feedback connected between its output and its inverting input. A fifth amplifier has a temperature sensitive signal connected to its noninverting input and its output is connected to the noninverting input of the fourth amplifier. A particularly preferred embodiment of the present invention further comprises a means for variably adjusting the output of the fourth amplifier, a means for variably adjusting the signal connected to the noninverting input of the fifth amplifier and a sixth amplifier which has its inverting input connected to the output of the fourth amplifier. A means is provided for variably adjusting the inverting input of the sixth amplifier. Although various methods are available to provide the variable adjustability described above, a preferred embodiment of the present invention utilizes trimmable resistors that can be adjusted during the final manufacturing steps in creating a Hall effect element incorporating the present invention. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be more fully understood from a reading of the Description of the Preferred Embodiment in conjunction with the drawings, in which: Figure 1 shows a relationship between a Hall output voltage and a magnetic flux density imposed on the Hall effect element; Figure 2 shows a prior art technique for compensating the output of a Hall device; Figure 3 shows another prior art technique used for providing temperature compensation of a Hall device; Figure 4 shows a Hall element with first, second, and third amplifiers; Figure 5 shows the fourth and fifth amplifiers used in conjunction with the present invention; Figure 6 shows a sixth amplifier used to provide an output of a Hall device and also permit final trim adjustments to improve the linearity of the device; Figure 7 shows an embodiment of the present invention which incorporates a means for clamping the output voltage at a preselected percentage of the supply voltage; Figure 8 shows the relationship of the Hall output voltage to the magnetic flux density in the embodiment of the present invention shown in Figure 7; Figure 9 is a functional block diagram of the present invention; Figure 10 is the quad-Hall input stage of the present invention; Figure 11 shows the primary temperature compensation amplifiers of the present invention; Figure 12 shows the voltage reference and current sources of the present invention; Figure 13 shows the temperature compensation adjustment amplifiers of the present invention; and Figure 14 shows the output amplifiers and clamping stage of the present. DESCRIPTION OF THE PREFERRED EMBODIMENT Throughout the Description of the Preferred Embodiment, like components will be identified by like reference numerals. In the Description of the Preferred Embodiment, components are generally identified by subscripted reference numerals and letters. However, in the drawings those same components are identified similarly, but without the subscripting characteristics. Although the same letters and numerals are used to identify like components, they are shown in an unsubscripted form in the drawings, but in a subscripted form in the specification. This was done to simplify and clarify the illustrations which, in many cases, comprise a large plurality of components that could otherwise lead to possible confusion in their identification if subscripting was used. In addition, many of the circuit elements shown in Figures 9-14 are illustrated individually in the other figures. This is done to permit the individual subcircuits to be described in greater detail while avoiding the need to describe each component in the more complex circuits of Figures 9-14 which do not relate directly to the operation or use of the present invention. Throughout the Description of the Preferred Embodiment, repeated reference is made to the Hall effect element. It should be understood, however, that in most applications of the present invention, a quad-Hall device is actually used in which four individual Hall elements are interconnected. This technique of using four Hall elements for these purposes is well known to those skilled in the art and will not be described in greater detail herein. Figure 1 illustrates the basic problem toward which the present invention is directed. An exemplary relationship between the Hall voltage and the magnetic field imposed on the Hall element is represented by line 10 in Figure 1. As described above, changes in temperature can affect the magnitude of the Hall voltage. This affect can occur in at least two ways. First, the Hall voltage for all values of magnetic field can change, as represented by arrow A, and the result is a relationship represented by line 12. The relationship between the Hall voltage and the magnetic field can also be changed in the manner represented by arrow B which results in the relationship identified by line 14. Arrow B illustrates a change in the sensitivity, or gain, of the Hall element and arrow A represents a change in the offset, or null, value of the device. Reference numeral 20 identifies a first null voltage and reference numeral 22 represents the null voltage that results from a change in temperature. The relationships represented by lines 12 and 14 would cause an erroneous output from the Hall amplifying circuit if some means were not provided to compensate for the temperature change. As described above, it is well known to use epitaxial resistors in a temperature compensation circuit for a Hall element. Figure 2 is a simplified schematic of a known method for temperature compensation. In a manner well known to those skilled in the art, a Hall device 26 is connected between a supply voltage V § and a point of ground potential. When the Hall device is subjected to a magnetic field perpendicular to it, the voltage difference between lines 30 and 32 are representative of the strength of the magnetic field. These voltages are provided, through resistors R^ and Rg, to the noninverting and inverting inputs of an amplifier 34. A bias voltage is provided to the noninverting input of the amplifier 34 through an epitaxial resistor Rgpi and another epitaxial resistor R-EPI is used in the feedback loop of the amplifier 34. As described above, the resistances of the epitaxial resistors change as a function of temperature inversely to the change in the output voltage of the Hall device 26. In this way, the bias and sensitivity of the circuit shown in Figure 2 can be compensated for temperature changes. It should be understood that Figure 2 is a simplified schematic of a temperature compensation circuit and does not illustrate all of the components necessary to provide an actual sensor employing a Hall effect device. Figure 3 shows a temperature compensation circuit that is a simplified representation of the type of circuit described in the United States patents discussed above. The precise relationship of these signals is of course, dependent on the direction of the magnetic field. Two amplifiers, 40 and 42, are connected to the outputs from the Hall device 26 as shown. A resistor R\ is connected between the amplifiers and the outputs of the two amplifiers are connected to a current mirror 44. A temperature sensitive epitaxial resistor is connected across the outputs of the current mirror 44, as shown, and two transistors, 50 and 52, are connected between those outputs of the current mirror 44 and the inputs of an amplifier 56. The amplifier 56 provides an output voltage that is representative of the magnetic field imposed on the Hall device 26 with temperature compensation provided by the epitaxial resistor. The types of circuits shown in Figures 2 and 3 are generally known to those skilled in the art. Figure 4 shows a simplified schematic of a subcircuit of the present invention. A first amplifier Ala and a second amplifier Alb are provided and connected to the output voltages provided on lines 30 and 32. The first amplifier is provided with a feedback loop that comprises transistor Q36. The second amplifier is provided with a feedback loop that comprises transistor Q37. Between the inverting input of the first amplifier Ala and the inverting input of the second amplifier Alb, a resistor R14 is connected. When the voltage on line 30 differs from the voltage on line 32, a current If flows through resistor R14. The bases of transistors Q36 and Q37 are connected to a bias voltage as shown. The current flowing through the emitter of transistor Q36 is equal to 1^1 plus IJJ while the current flowing through the emitter of transistor Q37 is equal to l \ minus IJJ. The polarity of IJJ depends on the polarity of the magnetic field. The outputs of the first and second amplifiers are connected to a third amplifier A2 as shown. A current source is provided which supplies the third amplifier with a current 1^2. The third amplifier A2 has a differential current output which provides two currents, l\ and I2 which are connected through resistors, 60 and 62, to a point of ground potential. This provides voltage potentials of Vj and V2 as shown. The two signals, V\ and V2 with Figure 4 are provided as inputs to a fourth amplifier 70 as shown in Figure 5. The fourth amplifier 70 is provided with a feedback loop that comprises, in addition to resistor 72, two temperature sensitive resistors, R59 and R5 . These temperature sensitive resistors are used to adjust the output of amplifier 70 to compensate for gain changes in signals V\ and V2 as a result of temperature changes affecting the Hall device 26. In order to permit the output Vc to be adjusted for the particular characteristics of each Hall device, trimmable resistors Rsci an( ^ .R.SC2 are provided on an external chip and connected as shown. Resistors 76 and 78 are connected between the inputs of amplifier 70 as shown and the outputs of the third amplifier illustrated in Figure 4. Resistors Rsci an< ^ ^sc2 are external film resistors that exhibit a nearly zero thermal coefficient of resistivity (TCR). With continued reference to Figure 5, a fifth amplifier 80 is provided with its output VNB connected to the noninverting input of the fourth amplifier 70 through R75. The inverting input of the fifth amplifier 80 is connected directly to its output in a voltage follower configuration as shown. The noninverting input of the fifth amplifier 80 is connected to two temperature sensitive resistors, R48 and R49, as shown. Trimmable resistors RN I an( ^ ^NC2 are external film resistors which exhibit a nearly zero thermal coefficient of resistivity (TCR). The external trimmable resistors are used to permit each individual Hall device to be adjusted to suit its own particular characteristics. Temperature sensitive resistors R48 and R49 are used to adjust the circuit output to compensate for offset changes in the device as a result of temperature changes affecting the offset voltages of the Hall device 26 and amplifiers A 1-6. Figure 6 shows the final stage of a temperature compensation circuit made in accordance with the present invention. The output from the circuit in Figure 5, which is identified as Vc is connected as an input to the sixth amplifier 100 shown in Figure 6. The VQ signal is connected to the inverting input of the sixth amplifier 100 through RQ2 > and the noninverting input is connected to the VNB signal identified as the output of the fifth amplifier 80 shown in Figure 5. Trimmable resistors R]sjj , Rrø and R-G2 are provided in order to permit the room temperature transfer function to be adjusted for offset and sensitivity to minimize the minor deviations of a particular Hall effect apparatus from the ideal transfer function. Although the compensation techniques described in conjunction with Figures 2-6 are adequate to compensate the device for the effects of temperature and non-ideal device characteristics, it should be understood that each individual Hall effect apparatus can exhibit some minor deviation about a central mean for any particular characteristic or parameter. The trimmable resistors permit minor modifications to be made which minimize these variations about the central mean. Figure 7 is an illustration of Figure 6 with certain additional components. These additional components relate to the amplifier AMP^i and its related resistors, R64-R67. By comparing Figures 6 and 7, it can be seen that the amplifier AMPd is provided with its output connected to the inverting input of the sixth amplifier 100. The reasons for the additional amplifier in Figure 7 will be explained in conjunction with Figure 8. In Figure 8, the relationship between the Hall circuit output voltage, VQUT' nd the imposed magnetic flux density is represented. Line 10, which is generally analogous to line 10 in Figure 1, represents the relationship between the Hall circuit output voltage and the magnetic field after the signal has been compensated for variations in the previously described manner. Figure 8 shows a constant output voltage which is represented by line 120 for magnetic flux densities above a predetermined magnitude that is represented as Gl in Figure 8. It is well known that output signals can be clamped, or truncated, at a predetermined value. This is done for many reasons and can be accomplished by various known techniques. For example, if a transducer provides an output voltage from zero to ten volts based on a monitored parameter, the output voltage from the transducer can be arbitrarily clamped at, for example, 8.7 volts to suit a particular application of the transducer. The present invention also provides a means by which the output signal of the Hall effect apparatus can be clamped, or truncated, to a predetermined output voltage when the voltage would otherwise exceed that predetermined value. However, in the present invention, the output voltage is clamped to a value that is determined as a percentage of a variable voltage. In other words, a preferred embodiment of the present invention limits the output voltage from the Hall effect device to a magnitude which is 93 percent of the supply voltage, Vg. Therefore, the magnitude of the clamp voltage which is represented by line 120 in Figure 8 is always maintained at a value of 93 percent of the supply voltage, Vg, and the Hall circuit output will not provide a voltage that exceeds that value. Therefore, the output of the Hall device would follow line 10 as a function of the magnetic flux density imposed on the Hall element until the output voltage from the Hall device equals the clamping voltage represented by line 120 which is a function of the possibly varying supply voltage, V$. With reference to Figures 7 and 8, the amplifier, AMPci, shown in Figure 7 is provided with a voltage, at its inverting input, that is determined by resistors R^6 and R57. As can be seen in Figure 7, these two resistors provide a voltage divider that is referenced to the supply voltage, Vg, and which establishes the voltage at the inverting input at a value that will cause amplifier AMPci to provide a signal at the inverting input of the sixth amplifier 100 when the output signal from the sixth amplifier attempts to exceed the preselected clamping voltage magnitude. In this way, the output VQUT from the sixth amplifier 100 can be limited to a preselected ratio of the supply voltage, Vg, and this relationship can be dynamically maintained even when the supply voltage changes. As a result, the circuit shown in Figure 7 will result in a relationship between the output voltage, VQUT > d the magnetic flux density as shown in Figure 8. Figure 9 is a functional block diagram of a circuit made in accordance with the present invention. The illustration shown in Figure 9 is a simplified schematic of the present invention. It shows the various subcircuits that are used to perform the functions described above in conjunction with Figures 4-8. For example, Figure 9 shows the Hall device 26 associated with its two amplifiers that are provided with feedback by transistors Q36 and Q37. In addition, it shows amplifier A2 with its current source and the source of a bias voltage at the bases of the two feedback transistors. Comparing Figures 5 and 9, the fourth amplifier 70 can be seen connected to the outputs, V] and V2, with resistors R59 and R58 and trimmable resistors Rsci nd RSC2- Figure 9 also shows the fifth amplifier 80 associated with resistors R48 and R49. In addition, trimmable resistors R>JC1 nd ^NC2 are provided. The circuit points where the various voltages are externally accessible are labeled in Figure 9 by boxes. The sixth amplifier 100 is shown with resistor RQ\ provided as its feedback and trimmable resistors Rjsji, R 2 > and G2- The sixth amplifier 100 which is shown in the right portion of Figure 9 was described above in greater detail in conjunction with Figure 6. The clamping amplifier AMPci is also shown in Figure 9 in conjunction with its inverting input, that is a ratio of the supply voltage Vg as determined by resistors R^6 and Rβ7, and its noninverting input that is a ratio of the output voltage VQUT as determined by resistors R 4 and R 5. The output of AMPCI is pulled up to Vg through base-pinch resistor R68 shutting off transistor Q 150 until the noninverting input voltage rises to be equal to or greater than the inverting input voltage at which point collector current from Q150 starts to flow into the inverting node of amplifier A4 counteracting the current flow out of the inverting node through RQ due to the magnetic flux density increasing. Therefore the clamp voltage onset occurs when the AMPCI noninverting voltage approximately equals the inverting voltage. Figure 10 is a detailed schematic of the Hall input stage. The voltage at the bottom of R4 is equal to QE(QI O) plus Vgg^Q^) and the voltage at the bottom of R5 is equal to BJYQI j\ plus gg^Q^ Since Q13 is cross-coupled with Q10 then VβE(Qiθ) is equal to BJ?(QI 3) and likewise Q12 is cross-coupled with Ql 1 so VQ£/QI is equal to g^-Q^)- Therefore the voltages at the bottom of R4 and R5 are equal as are their voltages at the top since they are tied together. So R4 and R5 simply act as current dividers. Trimming on R4 decreases the collector current of Q 16 while increasing the collector current of Q17 and vice versa for trimming on R5. The current divided by R4 and R5 is formed by transistors Q1-Q9 and resistors R1-R3, where R3 is an epitaxial resistor. This current is proportional to Vg and inversely proportional to the epitaxial sheet resistance. Therefore this current tracks and cancels the change in Hall resistance due to temperature changes. Likewise, the current tracks and cancels the change in the Hall element offset voltage due to supply voltage, Vg, changes. Figure 11 is a detailed schematic illustration of the primary temperature compensation amplifiers. For example, transistors Q36 and Q37 which are shown in Figure 4 are illustrated in Figure 11 along with the components that provide the amplifiers, A\ a , Aj^, A2, and the components that provide the bias voltage for the bases of transistors Q36 and Q37. Figure 12 is a detailed schematic of the voltage reference and current sources used in the preferred embodiment of the present invention. Figure 13 is a detailed schematic of the temperature compensation adjustment amplifiers that have been described above in conjunction with Figures 5-7. Figure 14 is a detailed schematic of the output amplifiers and the clamp circuit of the present invention. For example, in the left portion of Figure 14, resistors R^β a R67 are shown in conjunction with the individual components that provide the clamping amplifier AMPd • In the description above, Figures 2 and 3 were used to describe the current state of the prior art in temperature compensation circuitry. Figures 4, 5, 6 and 7 show simplified schematic drawings of the subcircuits used to accomplish the overall function of the present invention. Figure 9 shows a functional block diagram of the present invention for the purpose of illustrating the interconnection of the subcircuits. Figures 10-14 are detailed schematics that show the particular components used to accomplish the functions in the subcircuits of Figures 5-7. The most preferred embodiment of the present invention provides a linear Hall sensor that is specifically designed for use in an automotive rotary position sensor. The circuit of the present invention comprises seven main functional blocks: a quad-Hall element with offset trim circuitry, a first stage differential temperature compensating amplifier with input and output offset trim circuitry, a band-gap voltage reference to generate critical supply independent reference currents, an interstage differential amplifier with external resistor control of the gain shift over temperature, a buffer amplifier with external resistor control of the offset (null) shift over temperature, an output stage summing amplifier for room temperature transfer function adjust capability, and a voltage comparator to provide the output clamp function in applications where this feature is desired. The quad-Hall element portion of the present invention is used and located generally in the center of the chip to provide for minimum offset shift due to thermal and stress gradients. It is connected directly across the power supply to provide for ratiometric sensitivity. The Hall element offset voltage is minimized by providing trimmable film resistors that control current source loads on the Hall outputs which track with the supply voltage Vg, and the epitaxial sheet resistance thermal coefficient of resistance (TCR). The initial gain stage is comprised of two differential-to- differential amplifiers. The first amplifier is a frequency compensated current feedback amplifier with approximately 40dB of loop gain. This amplifier compensates for the dependence of the Hall element sensitivity on the epitaxial thermal coefficient of resistance. The second amplifier is an emitter-coupled differential amplifier which compensates for the dependence of the Hall element sensitivity on the temperature coefficient of the Hall effect scattering coefficient. The input offset voltage of the first amplifier is minimized by trimmable film resistors that control the current source loads of the input transistor pair. The differential output current of the second amplifier is converted to a differential voltage across the near zero thermal coefficient of resistance thin film pair of resistors, R50 and R5 ] . Trimming on the near zero thermal coefficient of resistance external film resistors, Rχι and Rχ2 in parallel with the on-chip film resistors, R50 and R51 , allows the amplifier output offset voltage to be minimized at room temperature after the die attachment process is completed. The band-gap voltage reference is used to provide a bias voltage that is temperature stable and independent of the voltage supply. This bias voltage is used to generate the temperature compensating reference currents for 1^1 and 1 2 that are used in the initial gain stage. The PTAT (Proportional To Absolute Temperature) reference currents used in the other operational amplifiers and the output clamping circuit are also generated as a function of the bias voltage. The interstage circuit is comprised of an emitter-follower buffer and a frequency compensated differential-to-single-ended operational amplifier with a loop gain of 11 OdB. The feedback network for this amplifier contains a pair of approximately 3,000 ppm/C implant resistors, R58 and R59, which act as thermistors. Trimming of the near zero thermal coefficient of resistance external film resistors, Rgci and RgC2» in parallel with implant resistors, R58 and R59, allows the slope of the gain shift over temperature to be adjusted slightly positive or negative to provide sensitivity shift compensation for the basic level component. The offset buffer is a frequency compensated differential-to-single-ended operational amplifier with a loop gain of 1 lOdB that is connected for unity gain voltage follower operation. A power supply referenced voltage divider network is formed with a pair of approximately 3000 ppm/C implant resistors, R48 and R49, which act as thermistors. Trimming on the near zero thermal coefficient of resistance external film resistors, RNCl and RNC2 > in parallel with implant resistors, R48 and R49, allows the slope of the offset voltage (null) shift over temperature to be adjusted slightly positive or negative to provide null shift compensation for the basic level component. The output gain stage of the present invention is a frequency compensated differential-to-single-ended operational amplifier with a loop gain of 1 lOdB. It is configured as a summing amplifier with output current source or current sink capability, and rail-to-rail operation is possible because of a common emitter output driver. External frequency compensation is available when driving high capacitive loads. The near zero thermal coefficient of resistance external film resistors in the amplifier feedback network, RQ2 > ^Nl N2' are trimmed during an operation to set the room temperature transfer function which minimizes the effects of package stress on the offset voltage and accounts for variations in the chip and magnetic system on the sensitivity setting. The linear range of the output is to be limited to approximately 93 percent of the power supply voltage in a particularly preferred embodiment of the present invention. A voltage comparator is used to clamp the output. The output voltage is monitored by a 50 percent voltage divider. Another voltage divider connected directly across the power supply establishes a ratiometric 93 percent of supply reference voltage. The center taps of the dividers are connected to the inputs of the comparator. The output of the comparator is a current source that injects current into the summing node of the output amplifier which balances the current drawn from the summing node due to the Hall signal. Clamp stability is tightly coupled with the frequency compensation in the output stage. With reference to the equations shown below, equation 17 represents the transfer function of the present invention. Current I^j is inversely proportional to the epitaxial thermal coefficient of resistance and therefore provides the primary temperature compensation for the Hall effect element. 1^2 and KQQ, the high level injection function, compensate for the temperature coefficient of the Hall scattering coefficient. The ratio of Rgci to RgC2 controls the sensitivity shift compensation for the basic level component and the ratio of RNCI o RNC2 controls the null shift compensation. Resistors Rχι and Rχ2 provide bi-directional amplifier offset voltage balance capability in order to help minimize the interaction between the sensitivity and the offset voltage trims. Resistors Rsj \ and Rrø provide bi-directional trim capability for the output offset voltage. Resistor R 2 provides unidirectional trim capability for the output sensitivity. In order to simplify equations, certain nomenclature is used. For example, the expression RζQ/fRχ means the effective resistance that is obtained by connecting resistor R50 in parallel with resistor Rx. With reference to Figures 4 and 9 and ignoring base currents, the relationships shown in equations 1 and 2 can be stated. IC(Q36) + lBl/2 + I B 2 2 = 1H + Iβ3 + l 0) IC(Q37) + I B2 2 + l B\ /2 = -1H + ! B3 + l A\ ( 2 ) By selecting the current identities shown in equation 2A, the relationships shown in equations 3, 3A and 3B are achieved. ΪB1 = I B2 = IB3 ( 2A ) IC(Q36) = lAl + 1H (3) Ϊ C(Q37) = IAI - 1H (3A) V BE(Q18) = V BE(Q19) (3B) With the relationships from the previous equations and defining the thermal voltage, Vj, as Boltzman's constant times temperature in Kelvin divided by one electronic charge, equations 4, 4A, and 4B can be developed. V TP5 -V TP6 =V T L n (Ic(Q36) I C(Q37)) ( ) τP5-VτP6= τLn((I A l+lHV Al-lH)) (4A) T P5-VTP6= T Ln((l+I H I A lV(l-lH/lAl)) (4B) Using the relationships shown in equations 4B, 5, 6, and 6 A, the relationships of equations 7 and 8 can be developed. V H =V TP1" V TP2 ( 6 ) I^ H/RM ( 6A ) VTP5"VTP6=2 ( T Tanh^dH/lAl)) ( 7 ) V T p5-Vτp 6 =2(V τ Tanh " l(V H /(Rl4lAl))) ( 8 ) With reference to the drawings, current 1^.1 is equal to the voltage at test point TP8 divided by the epitaxial resistor, R44, as represented in equation 9. In order to minimize gain ratiometricity error, current source 1^ . 1 is developed from a band-gap reference voltage V- p7 so that Vjpg is effectively independent of the supply voltage, Vg. In addition, Vjpg is designed to have nearly zero temperature dependence. This results in a current source, l ^ , which is only inversely proportional to the epitaxial thermal coefficient of resistance (TCR). This provides the dominant temperature compensation for the variation in the Hall element sensitivity over temperature. l = T p 8 44 (9) The transfer function for the emitter-coupled differential amplifier A2 is shown in equation 10. Il-l2= - IA2 Tanh ((V TP5 - V TP6 )/2V T ) (10) Combining equations 8 and 10 results in equation 1 1. I 1 -I 2 = (-V H Ri4)(lA2/lAl) (H) The differential current, Ij-I^, is converted to a differential voltage, Vj-V2, by resistors 60 and 62 as shown in Figure 4. Referencing Figure 9, resistor 60 is a parallel combination of film resistor R51 and external film resistor Rχ2- Likewise, resistor 62 is a parallel combination of film resistor R50 and external film resistor Rχι . In the following discussion, the general expression R^ Rβ means the equivalent resistance of resistors R^ and RQ connected in parallel. Using the relationship for resistors 60 and 62 as shown in equation 12, the expression for V1-V2 is shown in equation 12A. R F = (R 50 / χι + R51//RX2) 2 (12) Vi - V 2 = -V H (R F /R 14 ) (IA2 IA1) (13) To minimize gain ratiometricity error, current source 1 ^2 ιs also developed from the band-gap reference voltage, V7P7. The most preferred embodiment of the present invention necessitates bias current levels, 1^ . 1 and 1^2 * through transistors Q36-Q39 that are generally of the order of magnitude where high level injection effects are noticeable in bipolar lateral PNP transistors. For example, for the injected current level, IAI > into the emitters of Q36 and Q37, a larger differential voltage, jp5-Vτp6, is generated than would be predicted by the low level injection equation 4. Similarly, for the injected current level, 1^2, into the emitter of Q38 and Q39, and for a given input differential voltage, jp5-Vχp6, a smaller differential current, Ij-12, is generated than would be predicted by the low level injection equation 10. By design, the bias current levels at room temperature through Q36-Q39 are equal and therefore the net high level injection effects cancel each other such that equation 12A is accurate at room temperature. However, since 1^ . 1 changes substantially over temperature, there is a non-trivial temperature coefficient associated with the net high level injection effects that will be represented as Kog. Including the high level injection effect, KQQ, with equation 12A results in equation 13. Vl-V 2 = -V H (RF/R14)(IA2/IA1) Q B (13) Current 1^2 is used to compensate for the secondary temperature effects such as the Hall scattering coefficient and the high level injection, KQQ. 1^2 may also be used to adjust the temperature response of the Hall circuit sensitivity to better match the temperature response of the magnetic system. It is also worth noting that since both 1^1 and IA2 are independent of the supply voltage, Vg, then so is KQB which helps to minimize gain ratiometricity error. Equation 13 thus describes a differential voltage, Vj-V2, which accurately reflects the change in the applied magnetic flux density and compensates for the Hall effect variations over temperature on average. To allow for individual devices to be temperature compensated for the small residual null shift and sensitivity shift variations, interstage amplifiers A3 and A5 are provided. The transfer function for the interstage amplifiers is shown in equations 14, 15 and l5A. VNB= /(l+(R48/ NClV(R49//RNC2)) 0 4 ) VC=( 1 -V 2 )(1+(R59 SC1)/( 5 RSC2))+VNB (15) c=(Vι-V2)(l+(R 5 9//Rgci)/(R58//RsC2)) (15 A) +V S /(l+(R48/ NCl)/(R49//RNC2)) By design, the pre-trim ratio of sCl^SC2 s he same as the ratio of R59/R58. This produces an amplifier gain which is constant over temperature. Trimming on either RSCI or SC2 changes the ratio of Rgci R C2 wih respect to the ratio of R59/R58 which produces an amplifier gain with a slightly positive or negative temperature coefficient. Likewise, the pre-trim ratio of NC1^NC2 * S e same as the ratio of R48/R49. This produces an offset voltage, V^B * which is constant over temperature. Trimming on either RNCI OΓ NC2 changes the ratio of NC1/^NC2 ith respect to the ratio of 4gR49 which produces an offset voltage, Vjsjβ, which has a slightly negative or positive temperature coefficient. The output amplifier stage, A4, allows the room temperature offset voltage and sensitivity to be adjusted on an individual device basis. The transfer function for the output amplifier is shown in equation 16. VQUT =-V C (RGI/ G2)+ NBRGI(I/RGI + I/RG2 + I/ NI + I/ N2) -Vg(R G1 /R N1 ) (16) The overall transfer function for the Hall circuit that describes the linear (non-clamped) response to a magnetic flux density is shown in equation 17 by combining equations 13- 16. V 0UT = VH(RF/R14)(IA2/IA1)KQB(1 + (R59//RSC1)/( 58/ SC2))(RG1/ G2) + (Vs( 1 +( 48/ R NC 1 )/( 49// NC2)))RG 1 (I R G I+I/RNI+I/RN2) - v s (RGI/RNI) (17) Thus, the present invention avoids the need for placing the voltage sensitive epitaxial resistor in the signal path of the amplifiers. In other words the effect of the epitaxial Thus, the present invention avoids the need for placing the voltage sensitive epitaxial resistor in the signal path of the amplifiers. In other words the effect of the epitaxial resistor controls I^l which provides the dominant temperature compensation for sensitivity, but the epitaxial resistor itself is not influenced by the signal path. Coupled with the circuitry for individual device compensation of the residual null shift and sensitivity shift, this invention provides the ability to mimmize the temperature induced shifts while maintaining a very high degree of linearity. The resistance and capacitances in Figures 9-14 are identified in Table I. TABLE I Although the present invention has been described in considerable detail and illustrated with particular specificity to show a preferred embodiment of the present invention, alternative embodiments are within its scope.

Claims: The embodiments of the invention in which an exclusive property or right is claimed are defined as follows: 1. A temperature compensation circuit, comprising: a Hall effect element having a first output signal which is representative of a magnetic field imposed on said Hall effect element; an amplification circuit having an input connected in signal communication with said first output signal, said amplification circuit having a second output which is representative of said magnetic field; and a temperature compensation circuit having at least one temperature sensitive resistor, said temperature sensitive resistor being connected within said temperature compensation circuit to prevent changes in said first output signal from affecting the voltage potential across said temperature sensitive resistor. 2. The circuit of claim 1, wherein: said amplification circuit comprises a first amplifier and a second amplifier, said first amplifier having a first transistor connected between its output and its inverting input, said second amplifier having a second transistor connected between its output and its inverting input; and a resistor connected between the inverting inputs of said first and second amplifiers. 3. The circuit of claim 2, wherein: said amplification circuit comprises a third amplifier with its noninverting input connected to an output of said first amplifier and its inverting input connected to an output of said second amplifier, said third amplifier having third and fourth output signals whose difference is representative of said magnetic field. 4. The circuit of claim 3, further comprising: a fourth amplifier having its noninverting input connected to said third output signal and its inverting input connected to said fourth output signal, said fourth amplifier having a temperature sensitive feedback connected between its output and its inverting input. 5. The circuit of claim 4, further comprising: a fifth amplifier having a temperature sensitive signal connected to its noninverting input, said fifth amplifier having its output connected to said noninverting input of said fourth amplifier. 6. The amplifier of claim 5, further comprising: means for variably adjusting the output of said fourth amplifier. 7. The amplifier of claim 6, further comprising: means for variably adjusting said signal connected to said noninverting input of said fifth amplifier. 8. The amplifier of claim 7, further comprising: a sixth amplifier having its inverting input connected to said output of said fourth amplifier. 9. The amplifier of claim 8, further comprising: means for variably adjusting said inverting input of said sixth amplifier. 10. A temperature compensation circuit, comprising: a Hall effect element having a first output signal which is representative of a magnetic field imposed on said Hall effect element; an amplification circuit having an input connected in signal communication with said first output signal, said amplification circuit having a second output which is representative of said magnetic field, said amplification circuit comprising a first amplifier and a second amplifier, said first amplifier having a first transistor connected between its output and its inverting input, said second amplifier having a second transistor connected between its output and its inverting input; and a temperature compensation circuit having at least one temperature sensitive resistor, said temperature sensitive resistor being connected within said temperature compensation circuit to prevent changes in said first output signal from affecting the voltage potential across said temperature sensitive resistor. 11. The circuit of claim 10, further comprising: a resistor connected between the inverting inputs of said first and second amplifiers. 12. The circuit of claim 11 , wherein: said amplification circuit comprises a third amplifier with its noninverting input connected to an output of said first amplifier and its inverting input connected to an output of said second amplifier, said third amplifier having third and fourth output signals whose difference is representative of said magnetic field. 13. The circuit of claim 12, further comprising: a fourth amplifier having its noninverting input connected to said third output signal and its inverting input connected to said fourth output signal, said fourth amplifier having a temperature sensitive feedback connected between its output and its inverting input. 14. The circuit of claim 13, further comprising: a fifth amplifier having a temperature sensitive signal connected to its noninverting input, said fifth amplifier having its output connected to said noninverting input of said fourth amplifier. 15. The amplifier of claim 14, further comprising: means for variably adjusting the output of said fourth amplifier. 16. The amplifier of claim 15, further comprising: means for variably adjusting said signal connected to said noninverting input of said fifth amplifier. 17. The amplifier of claim 16, further comprising: a sixth amplifier having its inverting input connected to said output of said fourth amplifier. 18. The amplifier of claim 17, further comprising: means for variably adjusting said inverting input of said sixth amplifier. 19. A temperature compensation circuit, comprising: a Hall effect element having a first output signal which is representative of a magnetic field imposed on said Hall effect element; an amplification circuit having an input connected in signal communication with said first output signal, said amplification circuit having a second output which is representative of said magnetic field, said amplification circuit comprising a first amplifier and a second amplifier, said first amplifier having a first transistor connected between its output and its inverting input, said second amplifier having a second transistor connected between its output and its inverting input, said amplification circuit comprising a third amplifier with its noninverting input connected to an output of said first amplifier and its inverting input connected to an output of said second amplifier, said third amplifier having third and fourth output signals whose difference is representative of said magnetic field; a temperature compensation circuit having at least one temperature sensitive resistor, said temperature sensitive resistor being connected within said temperature compensation circuit to prevent changes in said first output signal from affecting the voltage potential across said temperature sensitive resistor; a resistor connected between the inverting inputs of said first and second amplifiers; a fourth amplifier having its noninverting input connected to said third output signal and its inverting input connected to said fourth output signal, said fourth amplifier having a temperature sensitive feedback connected between its output and its inverting input; a fifth amplifier having a temperature sensitive signal connected to its noninverting input, said fifth amplifier having its output connected to said noninverting input of said fourth amplifier; and means for variably adjusting the output of said fourth amplifier. 20. The amplifier of claim 19, further comprising: means for variably adjusting said signal connected to said noninverting input of said fifth amplifier; a sixth amplifier having its inverting input connected to said output of said fourth amplifier; and means for variably adjusting said inverting input of said sixth amplifier.

Inventors: KIRKPATRICK RICHARD A II, KIRKPATRICK, RICHARD, A., II
Applicants: HONEYWELL INC, HONEYWELL INC.
Application year: 1995
Main classification: G01R33
IPC codes: G01D5, G01R33