Sensor output compensation circuit

By combining differential amplification and bias circuits with various compensation circuits, the problem of residual magnetic field influence in the sensor was solved, achieving accurate compensation of the sensor output and improving detection accuracy.

CN117043618BActive Publication Date: 2026-11-17MURATA MFG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202280015884.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-04-07
Filing Date
2022-03-11
Publication Date
2026-11-17
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

Existing sensor output compensation circuits cannot effectively remove the influence of residual magnetic fields in the sensor, resulting in inaccurate detection of physical quantities.

Method used

By employing a combination of differential amplifier circuit and bias circuit, the influence of residual magnetic field is counteracted by arranging the sensor at a relative position and applying voltage in opposite directions. At the same time, by combining linear compensation, sensitivity compensation, sensitivity temperature characteristic compensation and offset compensation circuits, accurate compensation of sensor output is achieved.

Benefits of technology

It effectively removes the influence of residual magnetic fields in the sensor, ensuring the accuracy of physical quantity detection, and achieves linearity and temperature characteristic compensation of the sensor output, thereby improving detection accuracy and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117043618B_ABST
    Figure CN117043618B_ABST
Patent Text Reader

Abstract

This invention provides a sensor output compensation circuit capable of accurately detecting physical quantities by removing the influence of residual magnetic fields remaining in the sensor from the sensor output. A differential amplifier circuit (3) amplifies the sensor output derived from the differential voltage of the outputs of a first synthesis circuit (13) and a second synthesis circuit (14) based on a given detection voltage appearing at each detection signal output terminal (2c, 2d) of a pair of TMR sensors (2). A pair of TMR sensors (2) are used, arranged side-by-side at relative positions where the influence of residual magnetic fields remaining in each TMR sensor (2) cancels each other out, and voltages are applied in opposite orientations. The first synthesis circuit (13) adds the detection voltages appearing in one phase at each detection signal output terminal (2c) of one of the pair of TMR sensors (2). Furthermore, the second synthesis circuit (14) adds the detection voltages appearing in another phase at each detection signal output terminal (2d) of the other of the pair of TMR sensors (2).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a sensor output compensation circuit for compensating the output of a sensor formed by bridging sensor elements. Background Technology

[0002] Conventionally, such sensor output compensation circuits include, for example, the sensor output compensation circuit in the magnetoresistive element amplifier circuit disclosed in Patent Document 1.

[0003] This magnetoresistive amplifier circuit uses a magnetoresistive element as a sensor, formed by bridging four strongly magnetic magnetoresistive elements in a pattern. A differential amplifier circuit is connected to a pair of output terminals of this magnetoresistive element to differentially amplify its output voltage. The differential amplifier circuit includes a deflection adjustment circuit that uses a variable resistor to adjust the midpoint potential of the amplified output voltage to a given potential. A temperature compensation circuit is provided after this circuit to compensate for fluctuations in the output voltage amplitude caused by temperature changes.

[0004] Prior art literature

[0005] Patent documents

[0006] Patent Document 1: Japanese Patent Application Publication No. 11-194160 Summary of the Invention

[0007] The problem the invention aims to solve

[0008] However, the sensor output compensation circuit disclosed in the aforementioned prior art patent document 1 can only compensate for sensor offset and fluctuations in output voltage amplitude. In sensors that detect physical quantities, residual magnetic fields sometimes accumulate due to the influence of the applied magnetic field. For such sensors, the aforementioned prior art sensor output compensation circuit cannot remove the influence of the residual magnetic field remaining in the sensor from the sensor output, thus failing to accurately detect the physical quantity.

[0009] Technical solutions for solving the problem

[0010] This invention was made to solve the following problem and includes:

[0011] A differential amplifier circuit amplifies the sensor output, corresponding to the physical quantity detected by the sensors, derived from a given detection voltage appearing at each detection signal output terminal of a pair of sensors. The pair of sensors are constructed by bridging sensor elements whose resistance values ​​vary according to the detected physical quantity, and are positioned relative to each other to eliminate the influence of residual magnetic fields.

[0012] The bias circuit applies the voltage to a pair of power supply terminals of one of the sensors in an orientation opposite to the voltage applied to the pair of power supply terminals of the other sensor in the pair.

[0013] This constitutes the sensor output compensation circuit.

[0014] According to this structure, the influence of the residual magnetic field remaining in the sensor can be canceled out without improving the sensor itself by arranging a pair of sensors at relative positions that eliminate the influence of the residual magnetic field, and applying voltages to a pair of power supply terminals of each sensor in opposite orientations via a bias circuit. The sensor output corresponding to the physical quantity detected by the sensor is derived based on a given detection voltage appearing at each detection signal output terminal of the pair of sensors and amplified by a differential amplifier circuit. Therefore, it becomes possible to remove the influence of the residual magnetic field remaining in the sensor from the sensor output, and the physical quantity can be accurately detected by the sensor output compensation circuit.

[0015] Invention Effects

[0016] Therefore, according to the present invention, a sensor output compensation circuit can be provided that can accurately detect physical quantities by removing the influence of residual magnetic fields remaining in the sensor from the sensor output. Attached Figure Description

[0017] Figure 1 This is a circuit diagram showing the overall schematic structure of the sensor output compensation circuit according to the first embodiment of the present invention.

[0018] Figure 2 It is used for explanation Figure 1 The circuit diagram shown illustrates the function of the linear compensation circuit in the sensor output compensation circuit.

[0019] exist Figure 3 In the diagram, (a) is a graph showing the change of the sensor output relative to the magnetic field, and (b) is a graph showing the distortion of the sensor output, which appears non-linearly.

[0020] exist Figure 4 In the diagram, (a) is a graph showing the control signal output from the linear compensation circuit to change the resistance value of the variable resistor R4, and (b) is a graph showing the distortion of the sensor output after compensation by the linear compensation circuit.

[0021] Figure 5 It is used for explanation Figure 1 The circuit diagram shown illustrates the function of the sensitivity temperature compensation circuit in the sensor output compensation circuit.

[0022] exist Figure 6In the figure, (a) is a graph showing the results of measuring the temperature characteristics of the sensor output sensitivity, and (b) is a graph showing the rate of change of the output voltage from the sensor output compensation circuit relative to the ambient temperature.

[0023] exist Figure 7 In the figure, (a) is a graph showing the temperature characteristics of the sensor output sensitivity after compensation by the sensitivity temperature compensation circuit, and (b) is a graph showing the voltage characteristics of the ambient temperature used for sensitivity temperature compensation.

[0024] Figure 8 It is used for explanation Figure 1 The circuit diagram shown illustrates the function of the offset temperature compensation circuit in the sensor output compensation circuit.

[0025] exist Figure 9 In the figure, (a) is a graph showing the temperature characteristics of the rate of change of the offset voltage, and (b) is a graph showing the temperature characteristics of the rate of change of the offset voltage after compensation by the offset temperature compensation circuit.

[0026] Figure 10 This is an explanation Figure 1 The diagram shows the layout of a pair of TMR sensors in the sensor output compensation circuit.

[0027] Figure 11 This is a circuit diagram showing the overall schematic structure of the sensor output compensation circuit according to the second embodiment of the present invention.

[0028] Figure 12 This is a circuit diagram showing the overall schematic structure of the sensor output compensation circuit according to the third embodiment of the present invention. Detailed Implementation

[0029] Next, the manner in which the sensor output compensation circuit is used to implement the present invention will be described.

[0030] Figure 1 This is a circuit diagram showing the overall schematic structure of the sensor output compensation circuit according to the first embodiment of the present invention.

[0031] The sensor output compensation circuit is an IC that compensates for various aspects of the output of a pair of TMR (Tunneling Magneto-Resistive) sensors 2. Each TMR sensor 2 is constructed by bridging TMR elements whose resistance changes according to the magnetic field, which is the detected physical quantity. It operates by applying a given voltage to a pair of power supply terminals 2a and 2b. The magnetic field detected by each TMR sensor 2 appears as a voltage difference between the pair of detection signal output terminals 2c and 2d. The voltage difference appearing in one TMR sensor 2 is provided to the signal input terminals 1a and 1b of the sensor output compensation IC1, and the voltage difference appearing in the other TMR sensor 2 is provided to the signal input terminals 1c and 1d of the sensor output compensation IC1. Such TMR sensors 2 are used, for example, to monitor the current supplied to the motor of a hybrid electric vehicle.

[0032] Regarding TMR sensor 2, if the applied magnetic field becomes stronger, a residual magnetic field accumulates inside the sensor, causing hysteresis in the detected magnetic field due to the influence of this residual magnetic field. Therefore, in this embodiment, a pair of TMR sensors 2 are used, such as... Figure 10 As shown, each TMR sensor 2 is arranged side-by-side in a relative position where the effects of the residual magnetic field remaining on each TMR sensor 2 cancel each other out. That is, a bias voltage Vbias is provided to one power supply terminal 2a of one TMR sensor 2 via a reference voltage circuit 10 (described later), which constitutes the bias circuit, while the other power supply terminal 2b is grounded to GND. Furthermore, the direction of the current flowing through the bridged magnetoresistive element patterns r1, r2, r3, and r4 according to the detected magnetic field is set to a downward orientation H1 in the same figure. For the other TMR sensor 2, one power supply terminal 2a is grounded to GND, and a bias voltage Vbias is provided to the other power supply terminal 2b via the reference voltage circuit 10. Furthermore, the direction of the current flowing through the bridged magnetoresistive element patterns r1, r2, r3, and r4 according to the detected magnetic field is set to an upward orientation H2, 180° opposite to orientation H1. In this way, the direction of the current flowing through each TMR sensor 2 becomes opposite, thereby making it possible to cancel out the hysteresis characteristics of each TMR sensor 2.

[0033] The differential amplifier circuit 3 amplifies the sensor output corresponding to the magnetic field detected by the TMR sensor 2, which is derived based on a given detection voltage appearing at each of the detection signal output terminals 2c and 2d of the pair of TMR sensors 2. In this embodiment, the differential amplifier circuit 3 amplifies the differential voltage of the output of the first synthesis circuit 13 and the output of the second synthesis circuit 14 as the sensor output.

[0034] The first synthesizing circuit 13 includes an adder circuit connected to operational amplifier 34 with resistors R11, R12, and R13. A reference voltage VREF3 is applied from regulator circuit 10 to the inverting input terminal of operational amplifier 34. This first synthesizing circuit 13 adds the detection voltages that appear in one phase at the detection signal output terminals 2c of one of the pair of TMR sensors 2. Furthermore, the second synthesizing circuit 14 includes an adder circuit connected to operational amplifier 35 with resistors R14, R15, and R16. A reference voltage VREF4 is applied from regulator circuit 10 to the inverting input terminal of operational amplifier 35. This second synthesizing circuit 14 adds the detection voltages that appear in another phase at the detection signal output terminals 2d of the other of the pair of TMR sensors 2.

[0035] Furthermore, in this embodiment, the first synthesis operation circuit 13 and the second synthesis operation circuit 14 are described as including addition circuits, but it is also possible to include averaging circuits that average the detection voltages appearing in one phase at each detection signal output terminal 2c and the detection voltages appearing in another phase at each detection signal output terminal 2d. In addition, regarding the gain Av of each operational amplifier 34 and 35 in the first synthesis operation circuit 13 and the second synthesis operation circuit 14, since the subsequent differential amplifier circuit 3 includes an instrumentation amplifier and has good CMRR (in-phase rejection ratio), it is preferable to set it to 1 or less (Av≤1) so as not to unnecessarily amplify the offset voltage of each TMR sensor 2.

[0036] Among the various compensations performed by the sensor output compensation IC1 are linearity compensation, sensitivity compensation, temperature coefficient of sensitivity (TCS, hereinafter referred to as "temperature coefficient of sensitivity compensation"), offset compensation, and temperature characteristic of offset (TCO, hereinafter referred to as "temperature characteristic of offset compensation") of the sensor output. Furthermore, it also includes compensation for deviations caused by these various compensations for each individual component of the TMR sensor 2.

[0037] Linear compensation eliminates nonlinear components in the sensor output to ensure linearity. Offset compensation eliminates the offset voltage appearing at the pair of detection signal output terminals 2c and 2d when none of the TMR sensors 2 detects a magnetic field. Offset temperature compensation eliminates temperature variations in the offset voltage. Furthermore, sensitivity compensation eliminates deviations caused by individual TMR sensors 2 regarding their sensitivity. The sensitivity of the pair of TMR sensors 2 is the output span voltage obtained by subtracting the offset voltage from the rated output voltage of the sensor output compensation IC1 and dividing by the rated magnetic field; it represents the change in output voltage per unit magnetic field. Sensitivity temperature compensation eliminates temperature variations that indicate the degree of maximum change in the output span voltage at the compensation temperature.

[0038] The sensor output compensation IC1 includes a differential amplifier circuit 3 containing an instrumentation amplifier and a compensation amplifier circuit 4 for compensating the output of the differential amplifier circuit 3. The differential amplifier circuit 3 includes operational amplifiers 31 and 32 that amplify the output of the first synthesis operation circuit 13 and the output of the second synthesis operation circuit 14, respectively, and an operational amplifier 33 that differentially amplifies each amplified output. The differential voltage between the output of the first synthesis operation circuit 13 and the output of the second synthesis operation circuit 14 is treated as the actual sensor output. If the resistors connected to each operational amplifier 31 to 33 and their resistance values ​​are set as R0, R1, R2, R3, R1', R2' and R3' as shown in the figure, the differential amplifier circuit 3 outputs an output A that amplifies the sensor output with an amplification rate α as expressed by the following equation (1).

[0039] α=(R3 / R2)×{1+(2×R1) / R0}…(1)

[0040] Where R1 = R1', R2 = R2', R3 = R3', and R0 is a variable resistor.

[0041] The sensitivity of the sensor output is adjusted by making the variable resistor R0 variable, thereby compensating for deviations caused by each individual TMR sensor 2. Furthermore, a variable voltage source VREF1 is connected to the non-inverting input terminal of the operational amplifier 33 via resistor R3'. The offset voltage of the sensor output is adjusted by making the output voltage of this variable voltage source VREF1 variable, and is adjusted so that the output voltage VOUT appearing at the output terminal OUT of the sensor output compensation IC1 becomes zero when no magnetic field is detected by each TMR sensor 2.

[0042] The compensation amplifier circuit 4 includes an operational amplifier 41 connected to variable resistors R4 and R5. The output B obtained by inverting and amplifying the output A of the differential amplifier circuit 3 is output as the output voltage VOUT to the output terminal OUT of the sensor output compensation IC1. As a result, the sensor output is amplified by the amplification rate β shown in equation (2) below.

[0043] β = α × (R5 / R4)

[0044] =(R3 / R2)×{1+(2×R1) / R0}×(R5 / R4)…(2)

[0045] The amplification ratio (R5 / R4) of the compensation amplifier circuit 4 is varied by changing the resistance value of the connected variable resistors R4 or R5. In this embodiment, the connection between the multiple resistors (not shown) is switched by multiple switches, thereby changing the combined resistance value of the multiple resistors, and thus the individual resistance values ​​of the variable resistors R4 and R5 are variable.

[0046] The sensor output compensation IC1 of this embodiment includes a linear compensation circuit 5 for compensating for the linearity of the sensor output, a sensitivity temperature compensation circuit 6 for compensating for the sensitivity temperature characteristics of the sensor output, and an offset temperature compensation circuit 7 for compensating for the temperature characteristics of the offset voltage of the sensor output. These differential amplifier circuit 3, compensation amplifier circuit 4, linear compensation circuit 5, sensitivity temperature compensation circuit 6, offset temperature compensation circuit 7, first synthesis operation circuit 13, and second synthesis operation circuit 14 constitute the compensation module 8 of the sensor output compensation IC1.

[0047] Furthermore, the sensor output compensation IC1 includes a regulator circuit (VREG) 9, a reference voltage circuit (VREF) 10, and a temperature sensor circuit 11. The regulator circuit 9 generates a reference voltage based on the voltage input to the power supply terminal VDD. The reference voltage circuit 10 generates reference voltages for each value used in the sensitivity temperature compensation circuit 6, the offset temperature compensation circuit 7, etc., and a bias voltage Vbias applied to each TMR sensor 2 as a bias circuit, based on the reference voltage generated by the regulator circuit 9. The temperature sensor circuit 11 detects the ambient temperature using a diode and outputs the detected ambient temperature as a voltage to the sensitivity temperature compensation circuit 6 and the offset temperature compensation circuit 7. Additionally, each TMR sensor 2 and the sensor output compensation IC1 are positioned close to each other, so the ambient temperature detected by the temperature sensor circuit 11 is detected as the ambient temperature of each TMR sensor 2.

[0048] Furthermore, the sensor output compensation IC1 includes an EEPROM 12 whose stored contents can be rewritten by the user. The user writes setting data to this EEPROM 12 from the data terminal DATA. Based on this setting data, the compensation actions performed by various compensation circuits in the compensation module 8 are adjusted, and the temperature detection settings in the temperature sensor circuit 11 are also adjusted.

[0049] In this embodiment, the compensations performed by the linear compensation circuit 5 and the sensitivity temperature compensation circuit 6 are made possible by varying the amplification ratio (R5 / R4) of the compensation amplifier circuit 4, as described later. This amplification ratio (R5 / R4) is varied by switching the connection states between the resistors constituting the variable resistors R4 and R5 using multiple switches based on setting data written to the EEPROM 12. The compensation performed by the offset temperature compensation circuit 7 is also performed by adjusting the connection states of the switches 75 and 76 (see reference 75) according to the setting data written to the EEPROM 12. Figure 8 The connection state is switched. In addition, the temperature sensor circuit 11 is adjusted according to the setting data written to the EEPROM 12 so that it outputs a voltage of 1 [V] when the ambient temperature is 25°C.

[0050] Figure 2 It is used for explanation Figure 1 The circuit diagram shown illustrates the function of the linear compensation circuit 5 in the sensor output compensation IC1. In the same diagram, for... Figure 1 Identical or equivalent parts are labeled with the same reference numerals, and their descriptions are omitted.

[0051] The linear compensation circuit 5 includes multiple comparators 51, 52, 53, ..., 5n. The output voltage of the differential amplifier circuit 3 is input to one common input terminal of each comparator 51, 52, 53, ..., 5n, and a given reference voltage VREF_L1, VREF_L2, VREF_L3, ..., VREF_Ln output from the reference voltage circuit 10 is input to another input terminal. These reference voltages VREF_L1, VREF_L2, VREF_L3, ..., VREF_Ln correspond to the respective sensor outputs that cause given distortions appearing nonlinearly at the sensor outputs, and are preset according to setting data written to the EEPROM 12.

[0052] Based on the comparison results between these multiple reference voltages and the output voltage of the differential amplifier circuit 3, the linear compensation circuit 5 switches multiple switches constituting the variable resistor R4 so that the resistance value of the variable resistor R4 can be changed, thereby making the amplification rate (R5 / R4) of the compensation amplifier circuit 4 change to an amplification rate that cancels out the distortion.

[0053] Furthermore, the following situation will be explained here: the resistance value of the variable resistor R4 can be changed by switching multiple switches constituting the variable resistor R4, thereby making the amplification (R5 / R4) of the compensation amplifier circuit 4 variable. However, it is also possible to set the structure such that the resistance value of the variable resistor R5 can be changed by switching multiple switches constituting the variable resistor R5, thereby making the amplification (R5 / R4) of the compensation amplifier circuit 4 variable.

[0054] Figure 3 (a) is a graph showing an example of the relationship between the magnetic field provided to a pair of TMR sensors 2 and the sensor output as a differential voltage between the output of the first synthesis circuit 13 and the output of the second synthesis circuit 14 when each magnetic field is provided to the pair of TMR sensors 2. The horizontal axis of the graph is the magnetic field [mT] provided to the pair of TMR sensors 2, and the vertical axis is the sensor output [mV]. In addition, the characteristic line y represents the change of the sensor output with respect to each magnetic field when the ambient temperature of the sensor output compensation IC1 is 25°C, showing the linearity of the sensor output. This characteristic line y can be expressed as a polynomial of the following equation (3) with the magnetic field x as a variable.

[0055] y = -6.469e -0.7 x 3 -1.512e -0.6 x 2 +2.175e -0.2 x + 4.306e -0.3 …(3)

[0056] In the illustration of the same curve, at first glance, the characteristic line y appears to be a straight line, but it contains the non-linear components shown in the first and second terms on the right side of equation (3). If the straight-line component of the third term on the right side is removed to represent the relationship between the magnetic field and the sensor output, it becomes Figure 3 The graph shown in (b) illustrates this. The horizontal axis of the graph represents the magnetic field [mT] provided to the pair of TMR sensors 2, but the vertical axis represents the sensor output [mV] after removing the linear component. Furthermore, the characteristic line y' represents the distortion of the sensor output, which appears non-linearly. This distortion affects the magnetic field detection accuracy of the TMR sensor 2, and is therefore compensated for by the linear compensation circuit 5.

[0057] According to the curve, the distortion exists in the magnetic field region above approximately +8 [mT] and below approximately -8 [mT]. Therefore, when a sensor output relative to a predetermined magnetic field is obtained in these magnetic field regions, the amplification rate of the compensation amplifier circuit 4 is made variable by the linear compensation circuit 5, thereby canceling the distortion.

[0058] Figure 4Figure (a) is a graph showing an example of the control signal v provided by each switch of the variable resistor R4 from the linear compensation circuit 5. The horizontal axis of the graph represents the magnetic field [mT] provided to the pair of TMR sensors 2, and the vertical axis represents the voltage [V] of the control signal v. Furthermore, characteristic lines c, d, e, and f represent the... Figure 3 (b) shows control signals v1, v2, v3, and v4 that correct for distortion in the sensor output at approximately +8 [mT] or higher in the positive magnetic field. Characteristic lines g, h, i, and j represent control signals v5, v6, v7, and v8 that correct for distortion in the sensor output at approximately -8 [mT] or lower in the negative magnetic field. Each control signal v1 to v8 varies between a high level of +5 [V] and a low level of 0 [V]. For example, if it changes to a low level, each switch sw1 to sw8 is closed.

[0059] In the same curve, regarding the distortion of the sensor output in the magnetic field region above approximately +8 [mT], under a magnetic field of approximately +7 [mT], the switch sw1 is closed by lowering the control signal v1, represented by characteristic line c. As a result, the resistance value of the variable resistor R4 changes, thereby changing the amplification of the compensation amplifier circuit 4 to the amplification that cancels out the distortion under the magnetic field at this time. Furthermore, in a magnetic field of approximately +10 [mT], switch sw2 is closed by lowering the control signal v2, represented by characteristic line d; in a magnetic field of approximately +13 [mT], switch sw3 is closed by lowering the control signal v3, represented by characteristic line e; and in a magnetic field of approximately +15 [mT], switch sw4 is closed by lowering the control signal v4, represented by characteristic line f. Thus, the resistance value of variable resistor R4 becomes variable, thereby changing the amplification rate of the compensation amplifier circuit 4 to an amplification rate that cancels out distortion under each magnetic field.

[0060] Regarding the distortion of the sensor output in the magnetic field region below approximately -8 [mT], similarly, the switches sw5 to sw8 are closed by the control signals v5 to v8, which are represented as characteristic lines g to j. As a result, the resistance value of the variable resistor R4 is changed, thereby changing the amplification of the compensation amplifier circuit 4 to an amplification that cancels out the distortion under each magnetic field.

[0061] Figure 4(b) is a graph showing the distortion of the sensor output after compensation for the nonlinearity of the sensor output by the resistance value control of the variable resistor R4 performed by the linear compensation circuit 5. The horizontal axis of the graph represents the magnetic field [mT] provided to the TMR sensor 2, and the vertical axis represents the proportion [%] of the distortion component contained in the output voltage VOUT output to the output terminal OUT of the sensor output compensation IC1. In addition, the characteristic line k represents the variation of the distortion component contained in the output voltage VOUT with respect to changes in the magnetic field.

[0062] Distortion of sensor output in magnetic field regions of approximately +8 [mT] and above, such as Figure 3 As shown in (b), the distortion decreases to the right relative to the increase of the magnetic field. However, according to the characteristic line k, it can be understood that at magnetic fields of approximately +7 [mT], approximately +10 [mT], approximately +13 [mT], and approximately +15 [mT], at each timing when the control signals v1, v2, v3, and v4 are successively low, the amplification of the compensation amplifier circuit 4 increases, thereby increasing the proportion of the distortion component to the right, thus playing a role in... Figure 3 The distortion reduction effect shown in (b) is offset.

[0063] Distortion of sensor output in magnetic field regions below approximately -8 [mT] is as follows Figure 3 As shown in (b), the increase rises to the left relative to the decrease in magnetic field. However, according to characteristic line k, it can also be understood that, according to the decrease in magnetic field, at each timing when the control signals v5 to v8 are successively low, the amplification of the compensation amplifier circuit 4 decreases, thereby reducing the proportion of distortion components to the left, thus enhancing the performance of the compensation amplifier circuit. Figure 3 The effect of the increased distortion shown in (b) is offset.

[0064] Furthermore, after the proportion of distortion components increases to the right in the positive magnetic field region, due to... Figure 3 (b) shows a temporary decrease in distortion to the right, following a decrease to the left. Furthermore, in the negative magnetic field region, after a decrease to the left, due to... Figure 3 (b) shows an increase in the original distortion, which temporarily rises to the left. Therefore, the characteristic line k is as follows: Figure 4 As shown in (b), the distortion component fluctuates up and down in a sawtooth pattern, but the fluctuation range of the distortion component is suppressed to less than ±0.1%, which ensures the linearity of the sensor output.

[0065] In this way, according to the sensor output compensation IC1 based on this embodiment, the connection between the multiple resistors connected to the compensation amplifier circuit 4 as variable resistors R4 is switched by the control of multiple switches through the linear compensation circuit 5, thereby changing the combined resistance value of the multiple resistors, and thus the amplification rate of the compensation amplifier circuit 4 is variable. Furthermore, if the output voltage of the differential amplifier circuit 3 is compared with a plurality of preset reference voltages VREF_L1, VREF_L2, VREF_L3, ..., VREF_Ln and becomes the voltage corresponding to the output voltage of each sensor corresponding to the magnetic field causing each given distortion, then the switch is switched. Through this switch switching, the amplification rate of the compensation amplifier circuit 4 becomes, based on the output voltage of the differential amplifier circuit 3, an amplification rate that cancels out the given distortions from the output of the differential amplifier circuit 3, thus ensuring the linearity of the sensor output.

[0066] That is, according to the sensor output compensation IC1 based on this embodiment, the amplification rate of the compensation amplifier circuit 4, which compensates for the output of the differential amplifier circuit 3, can be changed to an amplification rate that cancels out the distortion by the linear compensation circuit 5. This allows compensation for distortion in the sensor output that occurs non-linearly with respect to changes in the magnetic field. Therefore, unlike conventional non-linear compensation circuits (see Japanese Patent Application Laid-Open No. 2003-248017), sensor output distortion can be compensated without feedback to the sensor output. Consequently, the circuit response speed is faster, enabling high-speed non-linear compensation of the sensor output. Furthermore, unlike conventional sensor output compensation circuits, which require an adder circuit, the circuit size of the sensor output compensation IC1 can be reduced.

[0067] Figure 5 It is used for explanation Figure 1 The circuit diagram shown illustrates the function of the sensitivity temperature compensation circuit 6 in the sensor output compensation IC1. In the same diagram, for... Figure 1 Identical or equivalent parts are labeled with the same reference numerals, and their descriptions are omitted.

[0068] The sensitivity temperature compensation circuit 6 includes multiple comparators 61, 62, 63, ..., 6n. At one input terminal of each comparator 61, 62, 63, ..., 6n, the ambient temperature detected as a voltage by the temperature sensor circuit 11 is input; at another input terminal, a given reference voltage VREF_T1, VREF_T2, VREF_T3, ..., VREF_Tn output from the reference voltage circuit 10 is input. These reference voltages VREF_T1, VREF_T2, VREF_T3, ..., VREF_Tn correspond to voltages that cause given variations in ambient temperature based on the sensitivity of the sensor output, and are preset according to setting data written to the EEPROM 12.

[0069] The sensitivity temperature compensation circuit 6 switches multiple switches constituting the variable resistor R5 based on the comparison results of these multiple reference voltages and the ambient temperature detected by the temperature sensor circuit 11 as voltage, so that the resistance value of the variable resistor R5 is variable. This makes the amplification rate (R5 / R4) of the compensation amplifier circuit 4 so as to compensate for the change in sensitivity of the sensor output relative to the change in ambient temperature.

[0070] Furthermore, although the following situation is explained here, namely, the resistance value of the variable resistor R5 is changed by switching multiple switches constituting the variable resistor R5, thereby making the amplification (R5 / R4) of the compensation amplifier circuit 4 changeable, it is also possible to set it as follows, namely, the resistance value of the variable resistor R4 is changed by switching multiple switches constituting the variable resistor R4, thereby making the amplification (R5 / R4) of the compensation amplifier circuit 4 changeable.

[0071] Figure 6 (a) is a graph showing the results of measuring the temperature characteristics of the sensor output sensitivity for multiple pairs of TMR sensors 2. The horizontal axis of the graph represents the ambient temperature [°C] of the TMR sensor 2, and the vertical axis represents the rate of change [%] of sensitivity at each ambient temperature, with the sensor output sensitivity at an ambient temperature of 25°C as a reference. In addition, each characteristic line shows the temperature characteristics of the sensitivity of each of the multiple pairs of TMR sensors 2.

[0072] As shown in the graph, in temperature regions where the ambient temperature is lower than 25°C, the rate of change of sensitivity increases linearly towards the positive side as the temperature decreases. On the other hand, in temperature regions where the ambient temperature is higher than 25°C, the rate of change of sensitivity increases non-linearly towards the negative side as the temperature increases.

[0073] Figure 6 (b) is a graph showing the following: based on the temperature characteristic of the sensitivity shown in (a), the amplification of the compensation amplifier circuit 4 is varied according to the ambient temperature at which a given change in sensitivity occurs, thereby causing the output voltage VOUT of the sensor output compensation IC1 to change to what extent. The horizontal axis of the graph represents the ambient temperature [°C], and the vertical axis represents the rate of change of the output voltage VOUT [%]. The characteristic line m represents the change in the rate of change of the output voltage VOUT relative to the ambient temperature.

[0074] According to characteristic curve m, in temperature regions where the ambient temperature is lower than 25°C, the rate of change of the output voltage VOUT decreases linearly towards the negative side and to the left as the ambient temperature decreases, thus playing a role in making the output voltage VOUT decrease. Figure 6The rate of change of sensitivity shown in (a) increases linearly to the left, offsetting the change in sensitivity. Furthermore, in temperature regions where the ambient temperature is higher than 25°C, the rate of change of the output voltage VOUT increases non-linearly to the right with increasing ambient temperature, thus playing a role in... Figure 6 The rate of change of sensitivity shown in (a) decreases nonlinearly to the right, offsetting the sensitivity.

[0075] Figure 7 (a) is a graph showing the temperature characteristics of the sensor output sensitivity after compensation using the aforementioned sensitivity temperature compensation. The horizontal axis of the graph represents the ambient temperature [°C] of the TMR sensor 2, and the vertical axis represents the rate of change [%] of sensitivity at various ambient temperatures, based on the sensor output sensitivity at an ambient temperature of 25°C. Characteristic line n shows... Figure 6 The rate of change of the output voltage VOUT shown in (b) is compensated for the sensor output sensitivity temperature characteristic. As shown in the graph, the rate of change of the compensated sensor output sensitivity converges to a small range of +0.04% to -0.02%.

[0076] Figure 7 (b) is a graph showing the voltage characteristics of the ambient temperature used in the above-described sensitivity temperature compensation. The horizontal axis of the graph represents the ambient temperature [°C] of the sensor output compensation IC1, and the vertical axis represents the output voltage [V] of the temperature sensor circuit 11 at each ambient temperature. Characteristic line o shows the temperature characteristics of the output voltage of the temperature sensor circuit 11.

[0077] In this way, according to the sensor output compensation IC1 based on this embodiment, the connection between multiple resistors connected to the compensation amplifier circuit 4 as variable resistors R5 is switched by controlling multiple switches through the sensitivity temperature compensation circuit 6, thereby changing the combined resistance value of the multiple resistors and thus making the amplification rate of the compensation amplifier circuit 4 variable. Furthermore, if the ambient temperature detected by the temperature sensor circuit 11 as a voltage is compared with a plurality of preset reference voltages VREF_T1, VREF_T2, VREF_T3, ..., VREF_Tn to become a voltage corresponding to the ambient temperature causing a given change, then the switch is switched. Through this switch switching, the amplification rate of the compensation amplifier circuit 4 becomes an amplification rate from the output of the differential amplifier circuit 3 that cancels out the given changes in sensitivity caused by the ambient temperature, thus compensating for the sensitivity temperature characteristics of the sensor output.

[0078] That is, according to the sensor output compensation IC1 based on this embodiment, the amplification rate of the compensation amplifier circuit 4, which compensates for the output of the differential amplifier circuit 3, can be changed to an amplification rate that cancels out the change by the sensitivity temperature compensation circuit 6. This allows for compensation of changes in the sensitivity of the sensor output caused by variations in ambient temperature. Therefore, unlike the conventional temperature compensation circuit disclosed in Patent Document 1, which can only perform temperature compensation dependent on the characteristics of the thermistor, the temperature range for temperature compensation becomes unrestricted, allowing for sensitivity temperature compensation of the sensor output sensitivity with respect to a wider range of ambient temperature variations. Furthermore, the deviation of the thermistor element in the temperature compensation characteristics is eliminated as in the past, enabling high precision in sensitivity temperature compensation. Moreover, the sensor output compensation circuit can be constructed even without using a thermistor element in the temperature compensation circuit, thus enabling IC-based sensor output compensation circuits, and making them smaller and cheaper.

[0079] Figure 8 It is used for explanation Figure 1 The circuit diagram shown illustrates the function of the offset temperature compensation circuit 7 in the sensor output compensation IC1. In the same diagram, for... Figure 1 Identical or equivalent parts are labeled with the same reference numerals, and their descriptions are omitted.

[0080] The offset temperature compensation circuit 7 references the ambient temperature detected by the temperature sensor circuit 11, and inputs a reference voltage VREF2, which cancels the change in the offset voltage of the sensor output due to the change in ambient temperature, to the reference voltage terminal of the compensation amplifier circuit 4.

[0081] The temperature variation of the offset voltage output by the sensor is shown in Figure 9 The graph shown in (a) illustrates this. The horizontal axis of the graph represents the ambient temperature [°C] of the sensor output compensation IC1, and the vertical axis represents the rate of change [%] of the offset voltage at each ambient temperature, based on the offset voltage at an ambient temperature of 25°C. Furthermore, each characteristic line shows the temperature characteristics of each offset voltage for multiple pairs of TMR sensors 2. As shown in the graph, the temperature characteristics of each offset voltage exhibit a linear variation with a first-order slope. The offset temperature compensation circuit 7 inputs the reference voltage VREF2, which cancels out this variation, to the non-inverting input terminal, i.e., the reference voltage terminal, of the operational amplifier 41 in the compensation amplifier circuit 4.

[0082] In this embodiment, the offset Winter compensation circuit 7 includes a first inverting amplifier circuit 72 containing an operational amplifier 71, a second inverting amplifier circuit 74 containing an operational amplifier 73, a first switch 75, and a second switch 76.

[0083] The first inverting amplifier circuit 72 is constructed by connecting resistor R7 and variable resistor R8 to operational amplifier 71, and a reference voltage VREF21 is provided at the non-inverting input terminal of operational amplifier 71. This first inverting amplifier circuit 72 amplifies the ambient temperature detected by temperature sensor circuit 11 as a voltage with an amplification ratio (R8 / R7) corresponding to the rate of change of the offset voltage. The rate of change of the offset voltage is equivalent to... Figure 9 The slopes of the characteristic lines in the curve shown in (a) are matched with the rate of change of the offset voltage by adjusting the resistance value of the variable resistor R8.

[0084] Furthermore, the second inverting amplifier circuit 74 is configured by connecting resistor R9 and variable resistor R10 to operational amplifier 73, and a reference voltage VREF22 is provided at the non-inverting input terminal of operational amplifier 73. This second inverting amplifier circuit 74 inverts the output of the first inverting amplifier circuit 72 by amplification ratio (R10 / R9), thereby reversing its polarity. This amplification ratio (R10 / R9) is essentially set to 1 by adjusting the resistance value of variable resistor R10. Additionally, the second switch 76 is closed when the deviation voltage changes with the ambient temperature in a manner that increases with the increase of the ambient temperature, causing the output of the second inverting amplifier circuit 74 to be input as the reference voltage VREF2 to the reference voltage terminal of operational amplifier 41.

[0085] Therefore, the temperature characteristics of the offset voltage are, for example, determined by... Figure 9 In the curve shown in (a), the characteristic line p represents a rightward-rising straight line that increases with the increase of ambient temperature. The voltage represented by the rightward-falling straight line, which decreases with the increase of ambient temperature, is initially transformed by the first inverting amplifier circuit 72 in the offset temperature compensation circuit 7 into a voltage with a rightward-rising characteristic, where the slope is the same as the rate of change of the offset voltage of characteristic line p and the polarity of the slope is reversed. Then, the second switch 76 is closed, and this voltage is transformed by the second inverting amplifier circuit 74 into a reference voltage VREF2 with a rightward-falling characteristic, where the polarity of the slope is reversed. Therefore, the compensation amplifier circuit 4 amplifies the output voltage from the differential amplifier circuit 3, which includes the offset voltage represented by the rightward-rising straight line characteristic line p, based on this reference voltage VREF2, thereby canceling out the variation caused by the temperature characteristics of the offset voltage.

[0086] Figure 9 (b) is a graph showing the temperature characteristics of each offset voltage of the four pairs of TMR sensors 2 after compensation by the offset temperature compensation circuit 7. The horizontal and vertical axes of the graph are the same as those of the offset temperature compensation circuit 7. Figure 9In (a), the horizontal and vertical axes are the same. Figure 9 The curve shown in (b) illustrates the characteristic line p before compensation. The temperature characteristics of the offset voltage of the pair of TMR sensors 2 with this characteristic line p are compensated to have a temperature characteristics with a roughly flat slope by the offset compensation described above, which is shown as the arrow in the dotted line.

[0087] Furthermore, the first switch 75 is closed when the variation of the offset voltage relative to the ambient temperature decreases with increasing ambient temperature, causing the output of the first inverting amplifier circuit 72 to be input as a reference voltage VREF2 to the reference voltage terminal of the operational amplifier 41. Therefore, the temperature characteristics of the offset voltage of the pair of TMR sensors 2 are, for example, determined by… Figure 9 In the curve shown in (a), the characteristic line q represents a rightward decreasing straight line that decreases with increasing ambient temperature. Because the first switch 75 is closed, the voltage represented by the rightward decreasing straight line characteristic line output from the temperature sensor circuit 11, which decreases with increasing ambient temperature, is transformed by the first inverting amplifier circuit 72 in the offset temperature compensation circuit 7 into a reference voltage VREF2 with a rightward increasing characteristic line, whose slope is the same as the rate of change of the offset voltage of characteristic line q and whose slope polarity is reversed. Therefore, the compensation amplifier circuit 4 amplifies the output voltage from the differential amplifier circuit 3, which includes the offset voltage represented by the rightward decreasing straight line characteristic line q, based on this reference voltage VREF2, thereby achieving a rightward increasing characteristic line. Figure 9 As shown in graph (b), the variation caused by the temperature characteristics of the offset voltage is offset.

[0088] In this manner, according to the sensor output compensation IC1 based on this embodiment, when the change in offset voltage relative to the ambient temperature increases with the increase in ambient temperature, the output of the second inverting amplifier circuit 74 is input to the reference voltage terminal of the compensation amplifier circuit 4 via the second switch 76. Therefore, the ambient temperature detected as a voltage by the temperature sensor circuit 11 is inverted and amplified by the first inverting amplifier circuit 72 with an amplification ratio (R8 / R7) corresponding to the rate of change of the offset voltage, and its polarity is reversed by the second inverting amplifier circuit 74. Thus, the ambient temperature inverted signal, where the rate of change of the offset voltage decreases with the increase in ambient temperature, is used as the reference voltage VREF2 and input from the second inverting amplifier circuit 74 to the reference voltage terminal of the operational amplifier 41. Therefore, the compensation amplifier circuit 4 amplifies the output of the differential amplifier circuit 3 based on this ambient temperature inverted signal, thereby obtaining a sensor output from the compensation amplifier circuit 4 where the temperature change of the offset voltage is canceled.

[0089] Furthermore, when the change in offset voltage relative to ambient temperature decreases as ambient temperature increases, the output of the first inverting amplifier circuit 72 is input to the reference voltage terminal of the operational amplifier 41 via the first switch 75. Therefore, the ambient temperature inverted signal, which is amplified by the first inverting amplifier circuit 72 at an amplification ratio (R8 / R7) corresponding to the rate of change of offset voltage, and whose rate of change of offset voltage increases with increasing ambient temperature, is used as the reference voltage VREF2 and input from the first inverting amplifier circuit 72 to the reference voltage terminal of the operational amplifier 41. Therefore, the compensation amplifier circuit 4 amplifies the output of the differential amplifier circuit 3 based on this ambient temperature inverted signal, thereby obtaining a sensor output from the compensation amplifier circuit 4 where the change in offset voltage relative to ambient temperature is canceled out.

[0090] That is, according to the sensor output compensation IC1 based on this embodiment, the compensation amplifier circuit 4, which compensates for the output of the differential amplifier circuit 3, amplifies the output of the differential amplifier circuit 3 based on the reference voltage VREF2 input from the offset temperature compensation circuit 7 to the reference voltage terminal of the operational amplifier 41. This can cancel out the variation in the offset voltage of the sensor output caused by changes in ambient temperature. Therefore, the offset voltage can be compensated with high precision and simplicity in a single compensation operation. Thus, unlike the conventional offset adjustment circuit disclosed in Patent Document 1, which adjusts the offset of the sensor output by adjusting the midpoint potential of the differential amplifier circuit output using a variable resistor, temperature compensation of the offset voltage of the sensor output becomes simple and accurate.

[0091] Furthermore, in the sensor output compensation IC1 based on this embodiment, each circuit constituting the sensor output compensation circuit is mounted on the same IC. Therefore, deviations arising from differences in wiring between the circuits constituting the sensor output compensation circuit and differences in the mounting of components constituting each circuit are reduced. Thus, the sensor output compensation IC1 can perform each compensation of the sensor output with high precision. Furthermore, it becomes possible to mount all compensation functions on the IC. Moreover, by monitoring the sensor outputs of the pair of TMR sensors 2 being compensated, it becomes possible to perform each compensation with high precision for each pair of TMR sensors 2 with a relatively simple circuit structure. Furthermore, in the compensation adjustment of each compensation circuit, by selecting the setting data written to the EEPROM 12, the compensation value can be easily and selectively selected.

[0092] Furthermore, by mounting the temperature sensor circuit 11 on the same IC as the other circuits constituting the sensor output compensation circuit, the relative position of the temperature sensor circuit 11 to the other circuits remains constant. Therefore, the error between the ambient temperature detected by the temperature sensor circuit 11 and the ambient temperature of the other circuits is reduced. Moreover, when the temperature sensor circuit 11 is set up independently of the other ICs, no error occurs between the ambient temperature detected by the temperature sensor circuit 11 and the ambient temperature used in the IC due to parasitic resistance components of the wiring connections that connect the temperature sensor circuit 11 and the IC via lead bonding. As a result, according to the sensor output compensation IC1 based on this embodiment, temperature compensation for sensor sensitivity and offset voltage can be performed with high accuracy.

[0093] Furthermore, according to the sensor output compensation IC1 based on this embodiment, the influence of the residual magnetic field remaining in the TMR sensor 2 can be offset without improving the sensor itself in the following manner, i.e., as follows: Figure 10 As shown, a pair of TMR sensors 2 are arranged in relative positions to eliminate the influence of the residual magnetic field from each other, and a bias voltage Vbias is applied to a pair of power supply terminals 2a, 2b of each TMR sensor 2 in opposite orientations via a reference voltage circuit 10. Furthermore, the sensor output corresponding to the magnetic field detected by the pair of TMR sensors 2 is derived based on a given detection voltage appearing at each detection signal output terminal 2c, 2d of the pair of TMR sensors 2; that is, it is derived based on each detection voltage appearing at one detection signal output terminal 2c of each TMR sensor 2 and each detection voltage appearing at the other detection signal output terminal 2d of each TMR sensor 2, and is amplified by the differential amplifier circuit 3. Therefore, it becomes possible to remove the influence of the residual magnetic field remaining in each TMR sensor 2 from the sensor output and suppress hysteresis, and it becomes possible to accurately detect the magnetic field via the sensor output compensation IC1.

[0094] Furthermore, according to the sensor output compensation IC1 based on this embodiment, the sensor output is derived as a differential voltage, which is the voltage output from the first synthesis circuit 13 after adding or averaging the detection voltages appearing in one phase at the detection signal output terminals 2c of one of the pair of TMR sensors 2 and adding or averaging the detection voltages appearing in another phase at the detection signal output terminals 2d of the other of the pair of TMR sensors 2 and output from the second synthesis circuit 14, and is amplified by the differential amplifier circuit 3. Therefore, since the sensor output is derived based on the differential voltage of the outputs of the pair of TMR sensors 2, it becomes possible to obtain a sensor output that averages the deviation of each TMR sensor 2, resulting in a circuit structure that can cope with the deviation of each TMR sensor 2, and thus enabling more accurate detection of the magnetic field.

[0095] Furthermore, as a secondary effect, by using multiple TMR sensors 2, it becomes easier to determine if the TMR sensor 2 is faulty. If the TMR sensor 2 is faulty, it ceases to operate proportionally to the external magnetic field, and the output voltage value of the pair of TMR sensors 2 remains constant relative to the change in the external magnetic field. By detecting this state, it becomes possible to determine whether the TMR sensor 2 is faulty.

[0096] Figure 11 This is a circuit diagram showing a schematic overall structure of the sensor output compensation IC1A constituting the sensor output compensation circuit according to the second embodiment of the present invention. In the same figure, for... Figure 1 Identical or equivalent parts are labeled with the same reference numerals, and their descriptions are omitted.

[0097] The sensor output compensation IC1A according to the second embodiment differs from the sensor output compensation IC1 according to the first embodiment in that it only uses the detection voltages appearing at the detection signal output terminals 2c and 2d of one of the pair of TMR sensors 2, and does not have the first synthesis operation circuit 13 and the second synthesis operation circuit 14.

[0098] In other words, in the sensor output compensation IC1A according to the second embodiment, the differential amplifier circuit 3 directly inputs the detection voltages appearing at a pair of detection signal output terminals 2c and 2d of a TMR sensor 2 to the respective inverting input terminals of operational amplifiers 31 and 32 via input terminals 1a and 1b for amplification, and then performs differential amplification of the amplified detection voltages by operational amplifier 33. That is, the differential amplifier circuit 3 amplifies the differential voltage of the detection voltages appearing at the detection signal output terminals 2c and 2d of one of the pair of TMR sensors 2 and uses it as the sensor output.

[0099] A load (not shown) with the same input impedance as that appearing between the input terminals 1a and 1b is connected between the unused detection signal output terminals 2c and 2d of the other TMR sensor 2, thereby achieving load balance with the one TMR sensor 2 being used. Furthermore, the TMR sensor 2 used can be either one of a pair.

[0100] Even in the sensor output compensation IC1A according to the second embodiment, as Figure 10As shown, a pair of TMR sensors 2 are configured, and a bias voltage Vbias is applied to a pair of power supply terminals 2a, 2b of each TMR sensor 2 in opposite orientations via a reference voltage circuit 10. Furthermore, the sensor output corresponding to the magnetic field detected by the pair of TMR sensors 2 is derived based on a given detection voltage appearing at each detection signal output terminal 2c, 2d of the pair of TMR sensors 2; that is, it is derived based on each detection voltage appearing at each detection signal output terminal 2c, 2d of one TMR sensor 2, and is amplified by the differential amplifier circuit 3. Therefore, according to this sensor output compensation IC1A based on the second embodiment, the structure of the sensor output compensation IC1A can be simplified, and the magnetic field can be accurately detected while reducing the circuit area and making it inexpensive.

[0101] Figure 12 This is a circuit diagram showing a schematic overall structure of the sensor output compensation IC1B, which constitutes the sensor output compensation circuit according to the third embodiment of the present invention. In the same figure, for... Figure 1 Identical or equivalent parts are labeled with the same reference numerals, and their descriptions are omitted.

[0102] The sensor output compensation IC1B according to the third embodiment differs from the sensor output compensation IC1 according to the first embodiment in that it only uses the detection voltage appearing at the detection signal output terminal 2c of one of the pair of TMR sensors 2 and the detection voltage appearing at the detection signal output terminal 2d of the other TMR sensor 2 in the pair of TMR sensors 2, and does not have the first synthesis operation circuit 13 and the second synthesis operation circuit 14.

[0103] In other words, in the sensor output compensation IC1B according to the third embodiment, the differential amplifier circuit 3 directly inputs the detection voltage appearing at one detection signal output terminal 2c of one TMR sensor 2 to the inverting input terminal of the operational amplifier 31 via the input terminal 1a and amplifies it. Furthermore, the detection voltage appearing at the other detection signal output terminal 2d of the other TMR sensor 2 is directly input to the inverting input terminal of the operational amplifier 32 via the input terminal 1d and amplified. Moreover, the operational amplifier 33 differentially amplifies each amplified detection voltage. That is, the differential amplifier circuit 3 amplifies the differential voltage between the detection voltage appearing in one phase at one detection signal output terminal 2c of one TMR sensor 2 and the detection voltage appearing in another phase at the other detection signal output terminal 2d of the other TMR sensor 2, and uses it as the sensor output.

[0104] Connect loads (not shown) to the unused detection signal output terminals 2d and 2c of each TMR sensor 2 to achieve load balance among the TMR sensors 2.

[0105] Even in the sensor output compensation IC1B according to the third embodiment, the influence of the residual magnetic field remaining in the TMR sensor 2 can be offset without improving the sensor itself, as follows: Figure 10 As shown, a pair of TMR sensors 2 are arranged at relative positions to eliminate the influence of the residual magnetic field from each other, and a bias voltage Vbias is applied to a pair of power supply terminals 2a, 2b of each TMR sensor 2 in opposite orientations via a reference voltage circuit 10. Furthermore, the sensor output is derived as a differential voltage, consisting of a detection voltage appearing in one phase at a detection signal output terminal 2c of one TMR sensor 2 and a detection voltage appearing in another phase at a detection signal output terminal 2d of the other TMR sensor 2, and is amplified by a differential amplifier circuit 3.

[0106] Therefore, according to the sensor output compensation IC1B based on the third embodiment, similarly to the sensor output compensation IC1A based on the second embodiment, the structure of the sensor output compensation IC1B can be simplified, and the influence of residual magnetic fields remaining in the TMR sensor 2 can be removed from the sensor output while reducing the circuit area and making it inexpensive, thereby accurately detecting the magnetic field. Furthermore, according to the sensor output compensation IC1B based on the third embodiment, similarly to the sensor output compensation IC1 based on the first embodiment, the sensor output is derived based on the differential voltage of the outputs of each pair of TMR sensors 2. Therefore, a sensor output that averages the deviation of each TMR sensor 2 can be obtained, resulting in a circuit structure capable of handling the deviation of each TMR sensor 2, and thus enabling more accurate detection of the magnetic field.

[0107] Explanation of reference numerals in the attached figures

[0108] 1, 1A, 1B: Sensor output compensation ICs;

[0109] 2: TMR sensor;

[0110] 2a, 2b: A pair of power supply terminals for TMR sensor 2;

[0111] 2c, 2d: A pair of detection signal output terminals of TMR sensor 2;

[0112] 3: Differential amplifier circuit;

[0113] 4: Compensation amplifier circuit;

[0114] 5: Linear compensation circuit;

[0115] 51, 52, 53, ..., 5n: comparators;

[0116] 6: Sensitivity temperature compensation circuit;

[0117] 61, 62, 63, ..., 6n: comparators;

[0118] 7: Offset Winter compensation circuit;

[0119] 72: First inverting amplifier circuit;

[0120] 74: Second inverting amplifier circuit;

[0121] 75: First switch;

[0122] 76: Second switch;

[0123] 13: First synthetic operational circuit;

[0124] 14: Second synthetic operation circuit.

Claims

1. A sensor output compensation circuit, characterized by, have: A differential amplifier circuit amplifies the sensor output corresponding to the physical quantity detected by the sensors, which is derived based on a given detection voltage appearing at each detection signal output terminal of a pair of sensors. The pair of sensors are configured by bridging sensor elements whose resistance values ​​vary according to the detected physical quantity and are arranged in relative positions to eliminate the influence of residual magnetic fields. A biasing circuit applies a voltage to a pair of power supply terminals of one of the sensors in an orientation opposite to that applied to a pair of power supply terminals of the other sensor in the pair. The first synthesis circuit adds or averages the detection voltages that appear in one phase at the detection signal output terminals of one of the pairs of sensors; and The second synthesis circuit adds or averages the detection voltages that appear in another phase at the detection signal output terminals of the other of the pair of sensors. The differential amplifier circuit amplifies the differential voltage of the output of the first synthesis circuit and the output of the second synthesis circuit and uses it as the sensor output.

2. The sensor output compensation circuit according to claim 1, characterized in that, The sensor element is a TMR element.

Citation Information

Patent Citations

  • Amplifying circuit for reluctance element

    JP1999194160A

  • Sensor circuit

    JP2003248017A

  • Magnetic detector

    JP2006194837A

  • Magnetic rotating angle detector

    WO2008130002A1