Offset Correction Circuit
By designing the first and second correction voltage generation circuits with opposite temperature coefficients, the temperature drift problem is solved, high-precision offset voltage correction is achieved, and component costs are reduced.
Patent Information
- Application Number
- CN201880099495.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-19
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2038-11-19
AI Technical Summary
The prior art is difficult to achieve a completely temperature-independent voltage source and resistive element without increasing component cost, and the use of temperature-dependent voltage source and resistive element will cause temperature drifting problems of offset voltages.
The first correction voltage generation circuit and the second correction voltage generation circuit have been designed, and the temperature coefficient of the first correction voltage and the temperature coefficient of the second correction voltage are set to opposite polarity, thereby suppressing temperature drift and realizing correction of the offset voltage. Function.
Even if the temperature-dependent component is used, temperature drift can be effectively suppressed, correction accuracy of offset voltage can be improved, and component cost can be reduced.
Smart Images

Figure CN113016137B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to offset correction circuits. Background Art
[0002] In recent years, with the development of IoT (Internet of Things) technology, the demand for high-precision sensors and sensor interface technology has continued to grow. Specifically, the following system technology is needed: by accurately receiving information from sensor devices at the input stage of operational amplifiers and comparators and performing analog signal processing or digital signal processing, the information detected by the sensor can be used to connect people and objects.
[0003] At this time, there is a growing demand for operational amplifiers and comparators suitable for digital signal processing that have low offset voltage and are as high-precision as bipolar processes on CMOS (Complementary Metal Oxide Semiconductor) processes.
[0004] As an offset correction circuit for achieving a low offset voltage, the following structure is described in Japanese Patent Gazette No. 2017-169092 (Patent Document 1): in an amplifier circuit including a differential pair of transistors and active load transistors connected to each of the differential pair transistors, a plurality of offset correction current sources and a plurality of offset correction switches are also connected in parallel to each of the active load transistors.
[0005] In such a structure, the offset voltage is corrected by selectively operating a plurality of offset correction current sources by controlling a plurality of offset correction switches to generate a desired correction current value according to an offset voltage generated by element variation, etc. In particular, in Patent Document 1, each offset correction current source is constituted by a current source having a stable current value with respect to temperature and a resistance element having a stable resistance value with respect to temperature, that is, a current source and a resistance element that are not temperature-dependent, thereby suppressing temperature drift and correcting the offset voltage.
[0006] Prior art literature
[0007] Patent Literature
[0008] Patent Document 1: Japanese Patent Application Publication No. 2017-169092
[0009] Non-patent literature
[0010] Non-Patent Document 1: Alice Wang, Benton Highsmith Calhoun, Anantha P. Chandrakasan, “Sub-threshold Design for Ultra Low-Power Systems”, page 30, Springer, 2006. Summary of the invention
[0011] Technical issues to be solved by the invention
[0012] However, it is difficult to manufacture a voltage source and a resistance element that are completely independent of temperature, and there is a concern that the cost of components may increase due to the use of a voltage source and a resistance element with sufficiently low temperature dependence.
[0013] The present invention has been made to solve such a problem, and an object of the present invention is to provide an offset correction circuit that allows the use of a temperature-dependent element and has a function of correcting an offset voltage that suppresses temperature drift.
[0014] Technical solutions for solving technical problems
[0015] In one aspect of the present invention, an offset correction circuit includes a first correction voltage generating circuit and a second correction voltage generating circuit. The first correction voltage generating circuit outputs a first correction voltage for correcting the positive or negative input voltage. The second correction voltage generating circuit outputs a second correction voltage based on the first correction voltage. The second correction voltage is a voltage of the same polarity as the first correction voltage and has a second temperature coefficient of opposite polarity to the first temperature coefficient of the first correction voltage.
[0016] Effects of the Invention
[0017] According to the present invention, by setting the first temperature coefficient of the first correction voltage and the second temperature coefficient of the second correction voltage to opposite polarities, even if the first and second correction voltage generating circuits are composed of temperature-dependent elements, it is possible to achieve a correction function for the offset voltage that suppresses temperature drift by suppressing the change in the sum of the first correction voltage and the second correction voltage with respect to temperature changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 The following is a schematic block diagram for explaining an example of the overall configuration of a system in which an operational amplifier to which the offset correction circuit according to the present embodiment is applied is used as a sensor interface.
[0019] Figure 2 This is a block diagram for explaining a configuration example of an operational amplifier to which the offset correction circuit according to the first embodiment is applied.
[0020] Figure 3 For explanation Figure 2 2 is a circuit diagram of a configuration example of a first correction voltage generating circuit.
[0021] Figure 4 for Figure 3 FIG. 2 is an equivalent circuit diagram of a first correction voltage generating circuit.
[0022] Figure 5 For explanation Figure 2 A circuit diagram of a configuration example of a second correction voltage generating circuit and an output stage shown.
[0023] Figure 6 A graph for explaining the operation of the first and second correction voltage generating circuits.
[0024] Figure 7 This is a first graph for explaining an example of the correction operation of the offset voltage.
[0025] Figure 8 The second graph is a graph for explaining an example of the correction operation of the offset voltage.
[0026] Fig. 9 A conceptual diagram for explaining the temperature characteristics of the first and second correction voltages of the first and second correction voltage generating circuits.
[0027] Fig.10 This is a conceptual diagram showing the output voltage characteristics of an operational amplifier to which the offset correction circuit according to the first embodiment is applied.
[0028] Fig.11 A circuit diagram for explaining a first configuration example of a current source according to a variation of the first embodiment.
[0029] Fig.12 This is a circuit diagram for explaining a second configuration example of the current source according to the modification example of the first embodiment.
[0030] Fig.13 This is a block diagram for explaining a configuration example of an operational amplifier to which the offset correction circuit according to the second embodiment is applied.
[0031] Fig.14 For explanation Fig.13 A circuit diagram of a configuration example of a temperature detection circuit shown in FIG.
[0032] Fig.15 For explanation Fig.14 The conceptual diagram of the operation of the temperature detection circuit shown.
[0033] Fig.16 This is a flowchart for explaining the flow of processing for predetermining the pattern of a control signal for offset correction in an operational amplifier to which the offset correction circuit according to the second embodiment is applied.
[0034] Fig.17 This is a flowchart for explaining a process of setting a control signal for offset correction in the operation of an operational amplifier to which the offset correction circuit according to the second embodiment is applied.
[0035] Fig.18 A conceptual diagram for explaining an operation example of the offset correction circuit according to the second embodiment.
[0036] Fig.19 This is a conceptual diagram showing the output voltage characteristics of an operational amplifier to which the offset correction circuit according to the second embodiment is applied.
[0037] Fig. 20 This is a circuit diagram for explaining a configuration example of a second correction voltage generating circuit according to the third embodiment.
[0038] Fig.21 A conceptual graph for explaining the nonlinear temperature dependence of a resistor element and its compensation.
[0039] Fig. 22 This is a conceptual graph for explaining the change in resistance value in a high temperature region and its compensation when a diffused resistor on a semiconductor substrate is used as a resistance element.
[0040] Fig.23 A first circuit diagram for explaining another modified example of the current source according to the modified example of the first embodiment.
[0041] Fig.24 A second circuit diagram for explaining another modified example of the current source according to the modified example of the first embodiment.
[0042] Reference numerals
[0043] 100: operational amplifier; 110: first correction voltage generating circuit; 111-113, 121-123, 121x, 121y: current sources; 120: second correction voltage generating circuit; 124x, 124y: bias resistor variable circuit; 125N, 125P: variable resistor; 150: output stage; 151, 152, TN15, TN16, TP1, TP2, TP11-TP16, TP21-TP24, TPN, TPP: transistors; 153: capacitor; 160: controller; 180: temperature detection circuit; 185: comparator; 500: sensor; 700: digital signal processing circuit; B11-B14, B21-B24: control signal (first correction voltage generating circuit); BN0-BN3, BN00-BN03, BN10-BN13, BN20-BN23, BN30-BN33, BP0-BP3, BP00-BP03, BP10-BP13, BP20-BP23, BP30-BP33: control signal (second correction voltage generating circuit); D0: diode; N10-N13, N15-N17, N21~N25, Ni1, Ni2: nodes; Ng: reference voltage node; No: output node; Np: power supply node; RN0~RN3, RN00~RN03, RN10~RN13, RN20~RN23, RN30~RN33, RP0~RP3, RP00~RP03, RP10~RP13, RP20~RP23, RP30~RP33, Rbias, RbiasN, RbiasP, RbN0~RbN3, RbP0~RbP3, Rd1~Rd3: resistor elements; SP11 ~SP14, SP21~SP24: switches; STD: temperature detection signal (temperature detection circuit); SWN0~SWN3, SWN00~SWN03, SWN10~SWN13, SWN20~SWN23, SWN30~SWN33, SWP0~SWP3, SWP00~SWP03, SWP10~SWP13, SWP20~SWP23, SWP30~SWP33: bypass switches; SWbN, SWbN0~SWbN3, SWbP, SWbP0~SWbP3: switching switches. DETAILED DESCRIPTION
[0044] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In addition, the same reference numerals are attached to the same or corresponding parts in the drawings below, and the description thereof will not be repeated in principle.
[0045] Implementation method 1.
[0046] Figure 1The following is a schematic block diagram for explaining an example of the overall configuration of a system in which an operational amplifier to which the offset correction circuit according to the present embodiment is applied is used as a sensor interface.
[0047] Figure 1 The system shown includes an operational amplifier 100 , a sensor 500 , an ADC (Analog to Digital Converter) 600 , and a digital signal processing circuit 700 .
[0048] The sensor 500 is, for example, a temperature sensor or a displacement sensor, and outputs a voltage value (sensor voltage value) that changes according to a physical quantity such as the temperature or displacement of the object to be measured. The operational amplifier 100 receives the sensor voltage value from the sensor 500 as an input voltage VIN at the first input terminal, and receives the reference voltage VRIN at the second input terminal. The operational amplifier 100 operates as a differential amplifier, and outputs an output voltage VOUT obtained by amplifying the power difference between the input voltage VIN and the reference voltage VRIN at the output terminal. For example, the operational amplifier 100 can operate as a so-called voltage follower circuit in which the output terminal and the second input terminal are connected, thereby outputting the sensor voltage value as the output voltage VOUT.
[0049] The ADC 600 samples the output voltage VOUT (analog voltage) of the operational amplifier 100 and performs digital conversion. The digital signal processing circuit 700 performs predetermined operation processing on the digital signal obtained by the ADC 600. Figure 1 In the system shown, it is possible to control devices and the like using the detection value obtained by the sensor 500 .
[0050] In recent years, with the progress of high-precision sensor 500, it is possible to detect the physical quantity of the measured object with high precision. On the other hand, there is a concern that the overall detection accuracy may be reduced due to the accuracy of the sensor interface for extracting the sensor voltage value, typically due to the influence of the offset voltage in the operational amplifier 100. Therefore, the offset correction circuit of this embodiment is applied to the operational amplifier 100.
[0051] Figure 2 This is a block diagram for explaining a configuration example of an operational amplifier to which the offset correction circuit according to the first embodiment is applied.
[0052] Reference Figure 2 The operational amplifier 100 includes a first correction voltage generating circuit 110, a second correction voltage generating circuit 120, an output stage 150, and a controller 160. The controller 160 outputs control signals B11 to B14 and B21 to B24 to the first correction voltage generating circuit 110. Similarly, the controller 160 outputs control signals BP0 to BP3 and BN0 to BN3 to the second correction voltage generating circuit 120.
[0053] The control signals B11 to B14, B21 to B24, BP0 to BP3, and BN0 to BN3 are preset and stored in the controller 160. In addition, the controller 160 may not be integrally formed with the operational amplifier 100. That is, the control signals B11 to B14, B21 to B24, BP0 to BP3, and BN0 to BN3 may be input from outside the operational amplifier 100.
[0054] The first correction voltage generating circuit 110 outputs a first voltage V1 (V1=VIN+ΔV1) obtained by adding an offset correction voltage ΔV1 to an input voltage VIN to the operational amplifier 100. As will be apparent from the following description, the offset correction voltage ΔV1 can be adjusted to any voltage between a positive voltage (ΔV1>0) and a negative voltage (ΔV1<0) according to control signals B11 to B14, B21 to B24. That is, the control signals B11 to B14, B21 to B24 correspond to an embodiment of the "first control signal".
[0055] The second correction voltage generating circuit 120 generates a second voltage V2 (V2=VIN+ΔV1+ΔV2) obtained by adding an offset correction voltage ΔV2 controlled by control signals BN0-BN3, BP0-BP3 to the first voltage V1 from the first correction voltage generating circuit 110. As will be seen in the following description, the offset correction voltage ΔV2 can also be adjusted to any voltage between a positive voltage (ΔV2>0) and a negative voltage (ΔV2<0). That is, the control signals BN0-BN3, BP0-BP3 correspond to an embodiment of the "second control signal".
[0056] Furthermore, the second correction voltage generating circuit 120 outputs the second voltage V2 and the reference voltage VRIN ( Figure 1 The output stage 150 generates an output voltage VOUT based on the voltage Vamp output from the second correction voltage generating circuit 120. The output voltage VOUT is input to Figure 1 ADC 600 is shown.
[0057] In the present embodiment, it is assumed that the operational amplifier 100 is Figure 2 In the structure of , VRIN=VOUT is set, and the circuit operates as a voltage follower circuit. Therefore, the voltage Vamp from the second correction voltage generating circuit 120 is equal to the second voltage V2 (V2=VIN+ΔV1+ΔV2).
[0058] The following detailed description Figure 2 Configuration examples of each circuit in .
[0059] Figure 3 2 is a circuit diagram for explaining a configuration example of the first correction voltage generating circuit 110.
[0060] Reference Figure 3 The first correction voltage generating circuit 110 has current sources 111 to 113, a plurality of transistors TP11 to TP14 connected in parallel, switches SP11 to SP14 configured in each of the plurality of transistors TP11 to TP14, a plurality of transistors TP21 to TP24 connected in parallel, and switches SP21 to SP24 configured in each of the plurality of transistors TP21 to TP24.
[0061] The current source 111 is connected between the power supply node Np supplying the power supply voltage VDDA and the node N11, and outputs a constant current Ibias11. The plurality of transistors TP11 to TP14 are composed of p-type field effect transistors and are connected in parallel between the node N11 and the node N12. The current source 112 is connected between the node N12 and the reference voltage node Ng, and outputs a constant current Ibias12. The reference voltage node Ng supplies, for example, a ground voltage GNDA.
[0062] Similarly, a plurality of transistors TP21 to TP24 are composed of p-type field effect transistors and are connected in parallel between the node N11 and the node N13 to which the first voltage V1 is output. The current source 113 is connected between the node N13 and the reference voltage node Ng, and outputs a constant current Ibias13. The current sources 112 and 113 are configured so that the output currents are equal. That is, the relationship Ibias12=Ibias13=(Ibias11) / 2 holds.
[0063] The gates of the plurality of transistors TP11 to TP14 are connected to a node N10 to which an input voltage VIN is input and a power supply node Np via switches SP11 to SP14 controlled by control signals B11 to B14. Therefore, the gates of the transistors TP11 to TP14 are input with the input voltage VIN or the power supply voltage VDDA according to the control signals B11 to B14. Each of the transistors TP11 to TP14 is biased to operate in a subthreshold region.
[0064] Similarly, the gates of the plurality of transistors TP21 to TP24 are connected to the node N13 and the power supply node Np via switches SP21 to SP24 controlled by control signals B21 to B24. Thus, the gates of the transistors TP21 to TP24 are input with the power supply voltage VDDA or connected to the node N13 according to the control signals B21 to B24. Each of the transistors TP21 to TP24 is also biased to operate in the subthreshold region.
[0065] The transistors whose gates are input with the power supply voltage VDDA among the plurality of transistors TP11 to TP14 cannot form a current path between the node N11 and the node N12 or the node N13. Therefore, the plurality of transistors TP11 to TP14 can be used to form a transistor TP1 whose transistor size is variably controlled according to the control signals B11 to B14. Similarly, the plurality of transistors TP21 to TP24 can be used to form a transistor TP2 whose transistor size is variably controlled according to the control signals B21 to B24. In addition, regarding the number of transistors connected in parallel to form the transistors TP1 and TP2, Figure 3 In the example, 4 are used, but any number can be used.
[0066] Figure 4 2 is an equivalent circuit diagram of the first correction voltage generating circuit 110 using the transistors TP1 and TP2.
[0067] Reference Figure 4 By making transistors TP1 and TP2 operate in the subthreshold region, the gate-source voltage VGS1 of transistor TP1 and the gate-source voltage VGS2 of transistor TP2 are used between the first voltage V1 of node N13 and the input voltage VIN of node N10, and the following equation (1) holds.
[0068] V1=VIN+VGS1-VGS2……(1)
[0069] On the other hand, between the gate-source voltage VGS and the drain current IDS of a transistor in a subthreshold region, as shown in Non-Patent Document 1, the following equation holds true.
[0070] IDS=I0·M·exp((VGS-Vth) / (η·VT))......(2)
[0071] In the above formula, I0 is a constant determined by process information such as the mobility of the transistor and the thickness of the gate oxide film, M is the transistor size, Vth is the threshold voltage of the transistor, VT is the thermal voltage, and η is a subthreshold constant determined by the process value. In particular, the thermal voltage at the known absolute temperature T is shown as VT = k·T / q (k: Boltzmann coefficient, q: electron charge).
[0072] Solving equation (2) with respect to VGS yields the following equation (3).
[0073] VGS=η·VT·ln(IDS / (I0·M))+Vth……(3)
[0074] Using the variable k1 controlled by the control signals B11 to B14, the transistor size of the transistor TP1 is shown as M=k1·(W / L). Similarly, using the variable k2 controlled by the control signals B21 to B24, the transistor size of the transistor TP2 is shown as M=k2·(W / L). Based on equation (3), VGS1 of the transistor TP1 and VGS2 of the transistor TP2 are shown by the following equations (4) and (5), respectively.
[0075] VGS1=η·VT·ln(IDS / (I0·k1·(W / L))+Vth…… (4)
[0076] VGS2=η·VT·ln(IDS / (I0·k2·(W / L))+Vth…… (5)
[0077] Here, when the current Ibias12 of the current source 112 is designed to be equal to the current Ibias13 of the current source 113, the IDS in equations (4) and (5) are equal. At this time, according to equations (4) and (5), (VGS1-VGS2) = η·VT·ln(k2 / k1). When this is substituted, equation (1) is transformed into equation (6) with (k2 / k1) as a variable.
[0078] V1=VIN+η·VT·ln(k2 / k1)……(6)
[0079] By setting the thermal voltage VT=k·T / q in the equation (6), the correction voltage ΔV1 of the first correction voltage generating circuit 110 is expressed by the following equation (7).
[0080] ΔV1=η·(k·T / q)·ln(k2 / k1)......(7)
[0081] By combining the control signals B11 to B14 and B21 to B24 , it is possible to change (k2 / k1 ) which corresponds to the ratio of the transistor sizes of the transistors TP1 and TP2 .
[0082] When (k2 / k1)>1, that is, the transistor size of transistor TP2 is larger than the transistor size of transistor TP1, since ln(k2 / k1)>0, ΔV1>0 can be made. Conversely, when (k2 / k1)<1, that is, the transistor size of transistor TP1 is larger than the transistor size of transistor TP2, since ln(k2 / k1)<0, ΔV1<0. Furthermore, when k1=k2, since ln(k2 / k1)=0, ΔV1=0 can be made.
[0083] Thus, in the first correction voltage generating circuit 110 , the correction voltage ΔV1 adjustable to any value of positive, negative, and zero is added to the input voltage VIN by the combination of the control signals B11 to B14 and B21 to B24 to output the first voltage V1 .
[0084] The temperature dependency of the correction voltage ΔV1 of the first correction voltage generating circuit 110 is represented by the temperature coefficient of the first correction voltage ΔV1 of the following equation (8) obtained by differentiating equation (7) with respect to temperature (absolute temperature) T.
[0085] d(ΔV1) / dT=η·(k / q)·ln(k2 / k1)......(8)
[0086] According to formula (8), it is understood that the sign (polarity) of the temperature coefficient of ΔV1 is determined in conjunction with the sign of ln(k2 / k1), that is, the sign (polarity) of ΔV1. In other words, it is understood that when ΔV1>0 is set, d(ΔV1) / dT>0, that is, the temperature dependence is "positive", and when ΔV1<0 is set, d(ΔV1) / dT<0, that is, the temperature dependence is "negative".
[0087] exist Figure 3 as well as Figure 4 In the embodiment, transistor TP1 corresponds to an embodiment of a "first field effect transistor", transistor TP2 corresponds to an embodiment of a "second field effect transistor", and current sources 111 to 113 correspond to an embodiment of a "first current source group". Furthermore, switches SP11 to SP14 and SP21 to SP24 arranged corresponding to the plurality of transistors connected in parallel constituting transistors TP1 and TP2 correspond to an embodiment of a "transistor size ratio control mechanism".
[0088] Figure 5 1 is a circuit diagram for explaining a configuration example of the second correction voltage generating circuit 120 and the output stage 150.
[0089] Reference Figure 5 The second correction voltage generating circuit 120 includes current sources 121 to 123, variable resistors 125P and 125N, and transistors TPP and TPN. The transistors TPP and TPN are set to operate in a subthreshold region or a saturation region.
[0090] The current source 121 is connected between the power supply node Np supplying the power supply voltage VDDA and the node N21, and outputs a constant current Ibias21. The variable resistor 125P is connected between the node N21 and the node N24. The transistor TPP is composed of a p-type field effect transistor and is connected between the node N24 and the node N22. Similarly, the variable resistor 125N is connected between the node N21 and the node N25. The transistor TPN is composed of a p-type field effect transistor and is connected between the node N25 and the node N23.
[0091] The current source 122 is connected between the node N22 and the reference voltage node Ng, and outputs a constant current Ibias22. The current source 123 is connected between the node N23 and the reference voltage node Ng, and outputs a constant current Ibias23. The current sources 122 and 123 are configured to have equal output current characteristics, so that their respective output currents are equal. That is, the relationship Ibias22=Ibias23=(Ibias21) / 2 holds.
[0092] The variable resistor 125P includes a plurality of resistor elements RP0 to RP3 connected in series between a node N24 and a node N21, and bypass switches SWP0 to SWP3 connected in parallel to each of the plurality of resistor elements RP0 to RP3. In addition, the resistance values of the resistor elements RP0 to RP3 are also described as RP0 to RP3 below. The bypass switches SWP0 to SWP3 are opened and closed according to control signals BP0 to BP3. Therefore, the resistance value Rp between the node N24 and the node N21 of the variable resistor 125P is controlled by the control signals BP0 to BP3.
[0093] Similarly, the variable resistor 125N has a plurality of resistor elements RN0 to RN3 connected in series between the node N21 and the node N25 and bypass switches SWN0 to SWN3 connected in parallel to each of the plurality of resistor elements RN0 to RN3. In addition, the resistance values of the resistor elements RN0 to RN3 are also recorded as RN0 to RN3 below. The bypass switches SWN0 to SWN3 are opened and closed according to the control signals BN0 to BN3. Therefore, the resistance value Rn between the node N25 and the node N21 of the variable resistor 125N is controlled by the control signals BN0 to BN3.
[0094] The first voltage V1 from the first correction voltage generating circuit 110 is input to the gate of the transistor TPP. The reference voltage VRIN input to the operational amplifier 100 is input to the gate of the transistor TPN. Therefore, a voltage obtained by differentially amplifying the voltage difference between the first voltage V1 and the reference voltage VRIN is output to the node N22.
[0095] At this time, by setting a difference between the resistance value Rp of the variable resistor 125P in the current path including the transistor TPP and the resistance value Rn of the variable resistor 125N in the current path including the transistor TPN, it is possible to equivalently perform a differential amplification between the voltage (VIN+ΔV1+ΔV2) obtained by further adding the second offset correction voltage ΔV2 based on the above resistance difference to the first voltage V1 and the reference voltage VRIN.
[0096] In particular, to eliminate the offset of differential amplification, the voltage difference between the gate voltage (V1+ΔV1) of the transistor TPP and the voltage (Vtail) of the node N21 and the voltage difference between the gate voltage of the transistor TPN and Vtail can be equalized so that ΔV1=ΔV2.
[0097] For example, when the first correction voltage is positive (ΔV1>0), Rp>Rn is set so that the voltage drop of the variable resistor 125P is greater than the voltage drop of the variable resistor 125N by ΔV2, thereby generating a correction voltage ΔV2 (ΔV2>0) for the positive correction voltage ΔV1, so that Vtail-(VIN+ΔV1+ΔV2)=Vtail-VRIN.
[0098] On the other hand, when the first correction voltage is negative (ΔV1<0), Rn>Rp is set so that the voltage drop in the variable resistor 125N is greater than the voltage drop in the variable resistor 125P by ΔV2, thereby being able to generate a correction voltage ΔV2 with a polarity opposite to that when ΔV1>0 for the negative correction voltage ΔV1, so that Vtail-(VIN+ΔV1)=Vtail+ΔV2-VRIN.
[0099] When the correction voltage ΔV2 is defined as the subtraction value of the voltage drop in the variable resistor 125N from the voltage drop in the variable resistor 125P, ΔV2 = (Rp-Rn) · (Ibias21) / 2. Since the resistance difference (Rp-Rn) can be set to any value of positive, negative, and zero by the combination of control signals BP0-BP3 and BN0-BN3, the correction voltage ΔV2 can also be controlled to any state of ΔV2>0, V2<0, and ΔV2=0. In this way, in the second correction voltage generating circuit 120, the second voltage V2=VIN+ΔV1+ΔV2 can be equivalently output at the output stage 150.
[0100] In particular, when the control signals BP0-BP3 and BN0-BN3 are adjusted so that VOUT=VIN in the voltage follower connection, the over-offset can be corrected according to VOUT=VIN+ΔV1+ΔV2. In other words, for the offset voltage Voffset of the operational amplifier 100, the second correction voltage generating circuit 120 can generate a correction voltage ΔV2 according to the first correction voltage ΔV1 so that ΔV1+ΔV2=-Voffset.
[0101] In the second correction voltage generating circuit 120, the plurality of resistance elements RP0 to RP3 included in the variable resistor 125P are formed of resistance elements having a negative temperature coefficient. Typically, in a CMOS process, semiconductor materials such as non-silicided P-type polysilicon resistors or non-silicided N-type polysilicon resistors can be used, or non-silicided P-type polysilicon high resistors or non-silicided N-type polysilicon high resistors can be used as materials with a large negative temperature coefficient, and further, a resistance element having a negative temperature coefficient can be formed by using a combination of these.
[0102] In contrast, the plurality of resistor elements RN0 to RN3 included in the variable resistor 125N are composed of resistor elements having a positive temperature coefficient. Typically, metal materials such as polyresistors (POLY resistors), P+ diffused resistors, N+ diffused resistors, etc. can be used, and combinations thereof can be used to form resistor elements having a positive temperature coefficient. Alternatively, a resistor element having a positive temperature coefficient can be formed by combining a resistor having a large positive temperature coefficient with a resistor having a small negative temperature coefficient. Similarly, a resistor element having a negative temperature coefficient can be formed by combining a resistor having a large negative temperature coefficient with a resistor having a small positive temperature coefficient.
[0103] In the second correction voltage generating circuit 120, when generating the positive second correction voltage ΔV2 (ΔV2>0), the bypass switches SWN0~SWN3 are all turned on (closed), and at least a part of the bypass switches SWP0~SWP3 are turned off (opened), so that Rp>Rn. According to this, at least a part of the resistor elements RP0~RP3 having a negative temperature coefficient is included in the current path, and the resistor elements RN0~RN3 having a positive temperature coefficient are not included in the current path. As a result, when ΔV2>0 is set, the resistance value Rp of the variable resistor 125P decreases as the temperature rises, so that ΔV2 also decreases. That is, the temperature coefficient of ΔV2 can be made "negative".
[0104] On the contrary, when a negative second correction voltage ΔV2 is generated (ΔV2<0), by turning on (closing) all of the bypass switches SWP0 to SWP3 and turning off (opening) at least a portion of the bypass switches SWN0 to SWN3, Rn>Rp can be achieved. As a result, at least a portion of the resistor elements RN0 to RN3 having a positive temperature coefficient is included in the current path, while the resistor elements RP0 to RP3 having a negative temperature coefficient are not included in the current path. As a result, when ΔV2<0 is set, the resistance value Rn of the variable resistor 125N increases as the temperature rises, thereby increasing ΔV2. That is, the temperature coefficient of ΔV2 can be made "positive".
[0105] In addition, Figure 5 In the configuration example, although the number of resistor elements constituting the variable resistors 125P and 125N is set to four, the variable resistors 125P and 125N may be constituted by any number of resistor elements.
[0106] The output stage 150 includes transistors 151 and 152 and a capacitor 153. The transistor 151 is a P-type field effect transistor, and is connected between the power supply node Np and the output node No of the operational amplifier 100. The transistor 151 outputs a constant current when a constant bias voltage Vbias is input to the gate.
[0107] The transistor 152 is composed of an N-type field effect transistor and is connected between the output node No and the reference voltage node Ng. The capacitor 153 is connected between the output node No and the gate of the transistor 152. The gate of the transistor 152 is connected to the node N22 of the second correction voltage generating circuit 120. Accordingly, the output voltage VOUT is output to the output node No, wherein the output voltage VOUT is based on a voltage (Vamp) obtained by differentially amplifying a voltage obtained by adding the first correction voltage ΔV1 and the second correction voltage ΔV2 to the input voltage VIN and the reference voltage VRIN. In particular, when the operational amplifier 100 operates as a voltage follower circuit, VOUT=VIN+ΔV1+ΔV2.
[0108] exist Figure 5In the embodiment, transistor TPP corresponds to an embodiment of a "third field effect transistor", transistor TPN corresponds to an embodiment of a "fourth field effect transistor", variable resistor 125P corresponds to an embodiment of a "first variable resistor", and variable resistor 125N corresponds to an embodiment of a "second variable resistor". In addition, node N21 corresponds to an embodiment of a "first node", node N22 corresponds to an embodiment of a "second node", node N23 corresponds to an embodiment of a "third node", and current sources 121 to 123 correspond to an embodiment of a "second current source group". Furthermore, a plurality of bypass switches SWP0 to SWP3, SWN0 to SWN3 respectively arranged in a plurality of resistance elements constituting variable resistors 125P and 125N correspond to an embodiment of a "resistance difference variable mechanism".
[0109] Figure 6 Graphs illustrating the operation states of the first and second correction voltage generating circuits are shown in FIG.
[0110] Reference Figure 6 For example, when the control signals B11~B14, B21~B24 and BP0~BP3, BN0~BN3 are set so that both the first correction voltage ΔV1 and the second correction voltage ΔV2 are zero (ΔV1=ΔV2=0), the offset voltage Voffset of the operational amplifier 100 can be measured as the difference between the input voltage and the output voltage of the operational amplifier 100 connected as a voltage follower (Voffset=VIN-VOUT).
[0111] When the offset voltage is positive (Voffset>0), the offset voltage can be corrected by setting the first correction voltage ΔV1 and the second correction voltage ΔV2 to negative so that Voffset+ΔV1+ΔV2=0. Conversely, when the offset voltage is negative (Voffset<0), the offset voltage can be corrected by setting the first correction voltage ΔV1 and the second correction voltage ΔV2 to positive so that Voffset+ΔV1+ΔV2=0.
[0112] Thus, in the second correction voltage generating circuit 120, the control signals BN0 to BN3 and BP0 to BP3 are set so that the polarities (positive / negative) of the first correction voltage ΔV1 and the second correction voltage ΔV2 of the first correction voltage generating circuit 110 are the same. For example, the first correction voltage ΔV1 and the second correction voltage ΔV2 can be set to be equal (ΔV1=ΔV2=-Voffset / 2).
[0113] As described above, in the first correction voltage generating circuit 110, the positive / negative of the first correction voltage ΔV1 is the same as the polarity (positive / negative) of its temperature coefficient, and in the second correction voltage generating circuit 120, the positive / negative of the second correction voltage ΔV2 is opposite to the positive / negative of its temperature dependency. As a result, it is understood that the temperature coefficient of ΔV1 and the temperature coefficient of ΔV2 are opposite in polarity in any case when ΔV1 and ΔV2 are positive or when ΔV1 and ΔV2 are negative. In addition, the temperature coefficient of ΔV1 corresponds to the "first temperature coefficient", and the temperature coefficient of ΔV2 corresponds to the "second temperature coefficient".
[0114] Next use Figure 7 as well as Figure 8 , an example of the correction work of the offset voltage is described. Figure 7 Graphs for explaining the operation of the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120 when the offset voltage is negative (Voffset<0) are shown in FIG.
[0115] Reference Figure 7 , when Voffset=0[mv], ΔV1=ΔV2=0 (positive side correction level=“0”), and when Voffset=-2[mv], the offset voltage is corrected by making ΔV1=ΔV2=1[mv] (positive side correction level=“1”). Similarly, when Voffset=-4[mv], the offset voltage can be corrected by making ΔV1=ΔV2=2[mv] (positive side correction level=“2”), and when Voffset=-6[mv], the offset voltage can be corrected by making ΔV1=ΔV2=3[mv] (positive side correction level=“3”).
[0116] Here, set Figure 3 In the first correction voltage generating circuit 110, W / L of the transistors TP11 and TN11 is designed to be 1000, and W / L of each of the transistors TP12, TP13, TP14 and TN12, TN13, TN14 is designed to be 25.
[0117] When the positive side correction level = "3", the control signals B11 to B14 are set such that the input voltage VIN is input to the gate of the transistor TP11 and the power supply voltage VDDA is input to the gates of the transistors TP12 to TP14. In contrast, the control signals B21 to B24 are set such that the gates of the transistors TP21 to TP24 are connected to the node N13.
[0118] at this time, Figure 4The W / L of transistor TP1 is 1000, and the W / L of transistor TP2 is 1075, so (k2 / k1) = 1.075. In addition, when T = 300 [K], the thermal voltage VT (VT = k·T / q) is about 26 [mv]. Therefore, in equations (7) and (8), when η is set to 1.66 according to the process value, according to equation (7), ΔV1≈3 [mV], and according to equation (8), d(ΔV1) / dT≈600μ [V / deg].
[0119] When the positive side correction level = "1", compared with the positive side correction level = "3", the power supply voltage VDDA is input to the gates of two of the transistors TP22 to TP24, so that W / L of the transistor TP2 = 1025 relative to W / L of the transistor TP1 = 1000. As a result, ΔV1≈1[mV] can be made relative to (k2 / k1)=1.025, and according to formula (8), d(ΔV1) / dT≈200μ[V / deg].
[0120] Similarly, when the positive side correction level = "2", compared with the positive side correction level = "3", by inputting the power supply voltage VDDA to the gate of one of the transistors TP22 to TP24, W / L of the transistor TP2 is set to 1050 with respect to W / L of the transistor TP1 = 1000. As a result, ΔV1≈2[mV] can be set with respect to (k2 / k1)=1.050, and according to formula (8), d(ΔV1) / dT≈400μ[V / deg].
[0121] On the other hand, Figure 5 In the second correction voltage generating circuit 120, the temperature dependency of the current sources 121 to 123 is suppressed, and Ibias22 = Ibias23 = 100 [nA] is designed, that is, the output current Ibias21 of the current source 121 = 200 [nA]. Furthermore, the resistance value of the resistor elements RP0 to RP3 and RN0 to RN3 can be set to 10 [kΩ].
[0122] When the positive side correction level = "1", by connecting (closing) the bypass switches SWN0~SWN3, SWP1~SWP3 and only disconnecting (opening) the bypass switch SWP0, Rp=10[kΩ] in the variable resistor 125P (on the other hand, Rn=0), ΔV1=100[nA]×10[kΩ]=1[mV] can be generated.
[0123] Similarly, when the positive side correction level = "2", by turning on (closing) the bypass switches SWN0 to SWN3, SWP2 to SWP3, and turning off (opening) the bypass switches SWP0 and SWP1, Rp = 20 [kΩ] in the variable resistor 125P (on the other hand, Rn = 0), ΔV1 = 100 [nA] × 20 [kΩ] = 2 [mV] can be generated. In addition, when the positive side correction level = "3", by turning on (closing) the bypass switches SWN0 to SWN3, SWP3, and turning off (opening) the bypass switches SWP0 to SWP2, Rp = 30 [kΩ] in the variable resistor 125P (on the other hand, Rn = 0), ΔV1 = 100 [nA] × 30 [kΩ] = 3 [mV] can be generated.
[0124] The temperature coefficient of the second correction voltage ΔV2 in the second correction voltage generating circuit 120 is set to cancel the temperature coefficient of the first correction voltage ΔV1 in the first correction voltage generating circuit 110. That is, the temperature coefficient [Ω / deg] of the resistor element RP0 through which the current flows when the positive side correction level = "1" is determined so that when ΔV2 = 1 [mv], that is, when the positive side correction level = "1", the temperature coefficient of ΔV2 is -200 μ [V / deg].
[0125] Similarly, the temperature coefficient [Ω / deg] of the resistor element RP1 is set taking into account the temperature coefficient of the above-mentioned resistor element RP0, so that when ΔV2 = 2 [mv], that is, the positive side correction level = "2", the temperature coefficient of ΔV2, which depends on the average value of the temperature coefficients of the resistor elements RP0 and RP1 through which the current passes, is -400μ [V / deg].
[0126] In addition, considering the temperature coefficients of the above-mentioned resistor elements RP0 and RP1, the temperature coefficient [Ω / deg] of the resistor element RP2 is determined to be -600μ[V / deg] when ΔV2=3[mv], that is, the positive side correction level = "3". The temperature coefficient of ΔV2, which depends on the average value of the temperature coefficients of the current passing through the resistor elements RP0~RP2, is determined to be -600μ[V / deg].
[0127] When the positive correction level = "0", in the first correction voltage generating circuit 110, the control signals B11 to B14 and B21 to B24 are set so that (k2 / k1) = 1.0, and ΔV1 = 0. In the second correction voltage generating circuit 120, the control signals BP0 to BP3 and BN0 to BN3 are set so that the bypass switches SWP0 to SWP3 and SWN0 to SWN3 are turned on (closed), thereby setting Rn = Rp = 0, and ΔV2 = 0.
[0128] As a result, when the positive side correction level = "1", ΔV1 = ΔV2 = 1 [mv], the total correction voltage (ΔV1 + ΔV2) = 2 [mV], so Voffset = -2 [mv] can be corrected. Similarly, when the positive side correction level = "2" (ΔV1 = ΔV2 = 2 [mv]), since the total correction voltage (ΔV1 + ΔV2) = 4 [mV], Voffset = -4 [mv] can be corrected. In addition, when the positive side correction level = "3" (ΔV1 = ΔV2 = 3 [mv]), since the total correction voltage (ΔV1 + ΔV2) = 6 [mV], Voffset = -6 [mv] can be corrected.
[0129] Next, Figure 8 Graphs for explaining the operation of the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120 when the offset voltage is positive (Voffset>0) are shown in FIG.
[0130] Reference Figure 8 When Voffset = 0 [mv], ΔV1 = ΔV2 = 0 (negative correction level = "0"), and when Voffset = 2 [mv], ΔV1 = ΔV2 = -1 [mv] (negative correction level = "1") is set, so that the offset voltage is corrected. Similarly, when Voffset = 4 [mv], ΔV1 = ΔV2 = -2 [mv] (negative correction level = "2") is set, and when Voffset = 6 [mv], ΔV1 = ΔV2 = -3 [mv] (negative correction level = "3") is set, so that the offset voltage can be corrected.
[0131] When the negative side correction level = "3", the control signals B11 to B14 are set so that the input voltage VIN is input to each gate of the transistors TP11 to TP14, in contrast to the positive side correction level = "3". Furthermore, the control signals B21 to B24 are set so that the gate of the transistor TP21 is connected to the node N13 and the power supply voltage VDDA is input to each gate of the transistors TP22 to TP24.
[0132] Accordingly, Figure 4 The W / L of transistor TP1 is 1075, and the W / L of transistor TP2 is 1000, so (k2 / k1) is 1 / 1.075. ln(1 / 1.075) is -ln(1.075), so the polarity is reversed compared to when the positive side correction level is "3", ΔV1 ≈ -3 [mV], and d(ΔV1) / dT ≈ -600 μ [V / deg].
[0133] Similarly, when the negative side correction level = "1", the control signals B11 to B14, B21 to B24 are set so that the W / L of transistor TP1 is 1025 relative to the W / L of transistor TP2 is 1000, so that (k2 / k1) = 1 / 1.025 and ln(k2 / k1) = -ln(1.025). As a result, the polarity is reversed from that when the positive side correction level = "1", and ΔV1 ≈ -1 [mV] and d(ΔV1) / dT ≈ -200μ [V / deg].
[0134] In addition, when the negative side correction level = "2", the control signals B11 to B14, B21 to B24 are set so that the W / L of the transistor TP1 is 1050 relative to the W / L of the transistor TP2 is 1000, so that (k2 / k1) = 1 / 1.05 and ln(k2 / k1) = -ln(1.05). As a result, the polarity is reversed from that when the positive side correction level = "2", and ΔV1 ≈ -2 [mV] and d(ΔV1) / dT ≈ -400μ [V / deg].
[0135] On the other hand, Figure 5 In the second correction voltage generating circuit 120, when the negative side correction level = "1", the bypass switches SWP0~SWP3, SWN1~SWN3 are turned on (closed), and only the bypass switch SWN0 is turned off (opened), so that Rn=10[kΩ] in the variable resistor 125N (on the other hand, Rp=0), and ΔV1=-1[mV] can be generated due to the passage of Ibias23=100[nA].
[0136] In addition, when the negative side correction level = "2", the bypass switches SWP0~SWP3, SWN2~SWN3 are turned on (closed), and the bypass switches SWN0 and SWN1 are turned off (opened), so that Rn=20[kΩ] in the variable resistor 125N (on the other hand, Rp=0), and ΔV1=-2[mV] can be generated due to the passage of Ibias23=100[nA].
[0137] Similarly, when the negative side correction level = "3", the bypass switches SWP0~SWP3 and SWN3 are turned on (closed), and the bypass switches SWN0~SWN2 are turned off (open), so that Rn=30[kΩ] in the variable resistor 125N (on the other hand, Rp=0), and ΔV1=-3[mV] can be generated due to the passage of Ibias23=100[nA].
[0138] The temperature coefficient [Ω / deg] of the resistor RN0 can be determined so that when the negative correction level = "1", the temperature coefficient of ΔV2 is 200μ [V / deg]. Furthermore, the temperature coefficient of the resistor RN1 can be determined in consideration of the temperature coefficient of the resistor RN0 so that when the negative correction level = "2", the temperature coefficient of ΔV2 that depends on the average value of the temperature coefficients of the resistors RN0 and RN1 through which the current passes is 400μ [V / deg]. Similarly, the temperature coefficient of the resistor RN2 can be determined in consideration of the temperature coefficients of the resistors RN0 and RN1 so that when the negative correction level = "3", the temperature coefficient of ΔV2 that depends on the average value of the temperature coefficients of the resistors RN0 to RN2 through which the current passes is 600μ [V / deg].
[0139] Note that the operations of the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120 when the negative correction level = "0" are the same as when the positive correction level = "0", and therefore detailed descriptions thereof will not be repeated.
[0140] As a result, when the negative correction level = "1", ΔV1 = ΔV2 = -1 [mv], the total correction voltage (ΔV1 + ΔV2) = -2 [mV], so Voffset = 2 [mv] can be corrected. Similarly, when the negative correction level = "2" (ΔV1 = ΔV2 = -2 [mv]), the total correction voltage (ΔV1 + ΔV2) = -4 [mv], so Voffset = 4 [mv] can be corrected. In addition, when the negative correction level = "3" (ΔV1 = ΔV2 = -3 [mv]), the total correction voltage (ΔV1 + ΔV2) = -6 [mv], so Voffset = 6 [mv] can be corrected.
[0141] pass Figure 7 as well as Figure 8 At each correction level on the positive side and the negative side, the temperature coefficient of the first correction voltage ΔV1 and the temperature coefficient of the second correction voltage ΔV2 are controlled to have the same absolute value and opposite polarities.
[0142] The first and second correction voltages ΔV1 and ΔV2 have the following characteristics: Fig. 9 Temperature characteristics shown. Fig. 9 2 shows an example in which the offset voltage Voffset<0 and the first correction voltage ΔV1 and the second correction voltage ΔV2 are positive.
[0143] Reference Fig. 9 , the control signals B11 to B14, B21 to B24 of the first correction voltage generating circuit 110 and the control signals BP0 to BP3, BN0 to BN3 of the second correction voltage generating circuit 120 are set so that Figure 7In the offset correction operation described in , at the temperature Tr during adjustment, ΔV1=ΔV2 and ΔV1+ΔV2+Voffset=0.
[0144] When the control signals B11 to B14, B21 to B24 and the control signals BP0 to BP3, BN0 to BN3 are fixed, the first correction voltage ΔV1 and the second correction voltage ΔV2 are changed according to the temperature. Figure 7 The voltage varies with the temperature coefficient [V / deg] described in the figure.
[0145] like Figure 7 As described above, the temperature coefficient of the first correction voltage ΔV1 and the temperature coefficient of the second correction voltage ΔV2 are set to have the same absolute value and opposite polarity. Therefore, the change in the first correction voltage ΔV1 and the change in the second correction voltage ΔV2 due to temperature change are offset, so that the total correction voltage (ΔV1+ΔV2) can be maintained constant with respect to temperature change.
[0146] Fig.10 2 is a conceptual diagram showing the output voltage characteristics of an operational amplifier to which the offset correction circuit according to the first embodiment is applied.
[0147] Reference Fig.10 The relatively small offset voltage Voffset in the operational amplifier 100 is Fig. 9 The total correction voltage (ΔV1+ΔV2) shown is corrected. As a result, for example, in the operational amplifier 100 connected as a voltage follower, the influence of the offset voltage Voffset can be eliminated so that VOUT=VIN can be maintained in accordance with temperature changes.
[0148] At this time, since the temperature coefficient of the first correction voltage ΔV1 of the first correction voltage generating circuit 110 and the temperature coefficient of the second correction voltage ΔV2 of the second correction voltage generating circuit 120 are set to opposite polarities, even if the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120 are composed of temperature-dependent elements, it is possible to achieve an offset correction function for suppressing temperature drift by suppressing the change of ΔV1+ΔV2 relative to temperature changes.
[0149] and Fig. 9 and Fig.10 On the contrary, even in the case of offset voltage Voffset>0, by Figure 8 In the offset correction operation described in the above, ΔV1+ΔV2+Voffset=0 (ΔV1<0, ΔV2<0) is also satisfied at the temperature during adjustment, and the temperature coefficient of the first correction voltage ΔV1 and the temperature coefficient of the second correction voltage ΔV2 can be set to have the same absolute value and opposite polarity. As a result, Fig. 9 and Fig.10 Similarly, offset voltage correction is performed to suppress temperature drift.
[0150] In addition, if Fig. 9 As shown, the offset voltage Voffset is corrected by setting ΔV1=ΔV2=-Voffset / 2 (ΔV1:ΔV2=0.5:0.5) so that the absolute values of the temperature coefficients of ΔV1 and ΔV2, which have opposite polarities, are the same. This allows ΔV1+ΔV2 to be a constant value with respect to temperature changes, thereby suppressing temperature drift.
[0151] On the other hand, even if x≠0.5 is set in ΔV1:ΔV2=x:(1-x), the temperature drift can be suppressed in the same manner. Specifically, by setting the absolute value of the temperature coefficient of ΔV1:the absolute value of the temperature coefficient of ΔV2=(1-x):x, that is, the inverse ratio of ΔV1:ΔV2, ΔV1+ΔV2 can be maintained constant with respect to the temperature change, thereby suppressing the temperature drift.
[0152] A variation of implementation example 1.
[0153] In a modification of the first embodiment, the second correction voltage generating circuit 120 ( Figure 5 ) is described with reference to a preferred structural example of the current source 121.
[0154] Fig.11 A circuit diagram for explaining a first configuration example of a current source according to a variation of the first embodiment.
[0155] Reference Fig.11 The current source 121 includes transistors TP15, TP16, TN15, TN16 and a bias resistor element Rbias. Hereinafter, the resistance value (bias resistor value) of the bias resistor element Rbias is also referred to as Rbias.
[0156] Each of the transistors TP15 and TP16 is formed of a p-type field effect transistor. The transistor TP15 is connected between the power supply node Np and the node N15. The transistor TP16 is connected between the power supply node Np and the node N16. The gates of the transistors TP15 and TP16 are commonly connected to the node N15.
[0157] The transistors TN15 and TN16 are each formed by an n-type field effect transistor. The transistor TN15 and the resistor Rbias are connected in series between the node N15 and the node N21 ( Figure 5 ). The transistor TN16 is connected between the node N16 and the reference voltage node Ng (GNDA), and the bias resistor element Rbias is connected between the node N17 and the node N21. The gate of the transistor TN15 is connected to the node N16, and the gate of the transistor TN16 is connected to the node N17.
[0158] Fig.11 The output current Ibias21 of the current source 121 is proportional to (VB1 / Rbias) indicated by the voltage VB1 of the node N17 and the bias resistance value Rbias. The bias resistance element Rbias is formed by an element having a low TCR (temperature coefficient of resistance) with suppressed temperature dependence, such as Figure 5 As shown, the temperature coefficient of the second correction voltage ΔV2 of the second correction voltage generating circuit 120 can be appropriately set by adjusting only the temperature dependencies of the resistance elements RP0 to RP3 and RN0 to RN3.
[0159] Or, by replacing Fig.11 The current source 121 is used Fig.23 The current source 121 x shown can also output a temperature-dependent output current Ibias21 to the node N21 .
[0160] When the general Fig.23 and Fig.11 In comparison, Fig.23 The current source 121x shown in Fig.11 In the current source 121, a bias resistance variable circuit 124x is provided instead of the bias resistance element Rbias.
[0161] The bias resistor variable circuit 124x includes a resistor element RbiasP having a negative temperature coefficient, a resistor element RbiasN having a positive temperature characteristic, and switches SWbP and SWbN. The resistance values of the resistor elements RbiasP and RbiasN are Fig.11 The resistor elements RbiasP and RbiasN are connected in parallel between the nodes N17 and N21 via the switching switches SWbP and SWbN.
[0162] By selectively turning on the switches SWbP and SWbN according to the control signals BP and BN, one of the resistor elements RbiasP and RbiasN can be used as Fig.11 The bias resistor element Rbias in is selectively connected between nodes N17 and N21. Specifically, when the first correction voltage is positive (ΔV1>0) and the temperature coefficient of the first correction voltage ΔV1 is positive, the switching switch SWbP is turned on, and the resistor element RbiasP having a negative temperature coefficient is used as the bias resistor element Rbias, so that the output current Ibias21 of the current source 121x based on (VB1 / Rbias) can have a negative temperature coefficient.
[0163] On the contrary, when the first correction voltage is negative (ΔV1<0) and the temperature coefficient of the first correction voltage ΔV1 is negative, the switching switch SWbN is turned on and the resistance element RbiasN with a positive temperature coefficient is used as the bias resistance element Rbias, so that the output current Ibias21 of the current source 121x can have a positive temperature coefficient.
[0164] In this way, the current source 121x can supply a current having a temperature coefficient with a polarity opposite to that of the first correction voltage ΔV1 to the node N21 according to the polarity of the first correction voltage ΔV1. Fig.11 The current source 121 is used Fig.24 The current source 121 y shown can also variably control both the polarity and the absolute value of the temperature coefficient of the output current Ibias21 output to the node N21 .
[0165] Fig.24 The current source 121y shown in Fig.11 In the current source 121, a bias resistance variable circuit 124y is provided instead of the bias resistance element Rbias.
[0166] The bias resistor variable circuit 124y includes resistor elements RbP0 to RbP3 having negative temperature coefficients, resistor elements RbN0 to RbN3 having positive temperature characteristics, and switches SWbP0 to SWbP3 and SWbN0 to SWbN3. The resistor elements RbP0 to RbP3 and RbN0 to RbN3 are connected in parallel between nodes N17 and N21 via switches SWbP0 to SWbP3 and SWbN0 to SWbN3.
[0167] The resistance values of the resistor elements RbP0 to RbP3 and RbN0 to RbN3 are Fig.11 On the other hand, the resistor elements RbP0 to RbP3 are configured so that the absolute values of the temperature coefficients (negative) are different from each other. Similarly, the resistor elements RbN0 to RbN3 are configured so that the absolute values of the temperature coefficients (positive) are different from each other.
[0168] For example, by selectively turning on one of the switches SWbP0 to SWbP3 and SWbN0 to SWbN3 according to the control signals BP0 to BP3 and BN0 to BN3, one of the resistor elements RbP0 to RbP3 and RbN0 to RbN3 can be used as Fig.11 The bias resistor element Rbias in is selectively connected between the nodes N17 and N21.
[0169] Specifically, when the first correction voltage is positive (ΔV1>0) and the temperature coefficient of the first correction voltage ΔV1 is positive, by turning on one of the switching switches SWbP0~SWbP3, one of the resistor elements RbP0~RbP3 having a negative temperature coefficient is used as the bias resistor element Rbias, so that the output current Ibias21 of the current source 121y based on (VB1 / Rbias) can have a negative temperature coefficient. In addition, according to the selection of the resistor elements RbP0~RbP3, the absolute value of the temperature coefficient (negative) can also be variably controlled. For example, Figure 7 As shown, as the absolute value of the correction voltage ΔV1 (ΔV1>0) increases, a resistor element having a larger absolute value of a temperature coefficient (negative) can be selected as the bias resistor element Rbias.
[0170] On the contrary, when the first correction voltage is negative (ΔV1<0) and the temperature coefficient of the first correction voltage ΔV1 is negative, by turning on one of the switching switches SWbN0~SWbN3, one of the resistor elements RbN0~RbN3 having a positive temperature coefficient is used as the bias resistor element Rbias, so that the output current Ibias21 of the current source 121y can have a positive temperature coefficient. In addition, according to the selection of the resistor elements RbN0~RbN3, the absolute value of the temperature coefficient (positive) can also be variably controlled. For example, Figure 8 As shown, as the absolute value of the correction voltage ΔV1 (ΔV1<0) increases, a resistor element having a larger absolute value of a temperature coefficient (positive) can be selected as the bias resistor element Rbias.
[0171] exist Fig.23 as well as Fig.24 In the embodiment of the invention, the bias resistor variable circuits 124x and 124y correspond to an embodiment of the "bias resistor variable mechanism". In addition, the current sources 121x and 121y correspond to the "first current source". Figure 5 The current sources 122 and 123 correspond to the “second current source” and the “third current source”, respectively.
[0172] In addition, when the above-mentioned current sources 121x and 121y are used, the variable resistors 125P and 125N ( Figure 5 ), each resistor element RN0 to RN3, RP0 to RP3 can be formed by a low TCR (temperature coefficient of resistance) with suppressed temperature dependence. In this case, the variable resistors 125P and 125N are dedicated to the function of adjusting the magnitude of the correction voltage ΔV2 according to the resistance difference (Rn-Rp).
[0173] Fig.12 This is a circuit diagram for explaining a second configuration example of the current source according to the modification example of the first embodiment.
[0174] Fig.12The current source 121 shown is Fig.11 Compared with the structure of FIG. 1 , the connection destinations of the gates of the transistors TN15 and TN16 are different. Specifically, the gates of the transistors TN15 and TN16 are commonly connected to the node N16.
[0175] Fig.12 The output current Ibias21 of the current source 121 is proportional to (VB1 / Rbias 2) indicated by the voltage VB2 of the node N16 and the bias resistance value Rbias. In this way, since the output current Ibias21 changes inversely proportional to the square of the bias resistance value Rbias, the change amount of the output current Ibias21 becomes larger than the change amount of the bias resistance value Rbias. Therefore, when Fig.12 When the current source 121 of the structure is applied to the second correction voltage generating circuit 120, the temperature coefficient of the second correction voltage ΔV2 can be increased by using a resistor element having a positive or negative temperature coefficient to constitute the bias resistor element Rbias.
[0176] exist Fig.12 In the structure of , the bias element resistor Rbias of the current source 121 can also be replaced by a bias resistor variable circuit 124x ( Fig.23 ) or 124y( Fig.24 ). In this manner, the variable control range of the bias resistance value Rbias can be expanded in conjunction with the polarity and absolute value of the first correction voltage ΔV1.
[0177] Implementation method 2.
[0178] In the first embodiment, it is assumed that the offset voltage Voffset of the operational amplifier 100 is constant with respect to temperature changes ( Fig.10 ), so the combination of the control signals B11 to B14, B21 to B24 of the first correction voltage generating circuit 110 and the control signals BP0 to BP3, BN0 to BN3 of the second correction voltage generating circuit 120 is fixed to one type. As a result, it is possible to achieve high-precision offset voltage correction that suppresses temperature drift with a relatively simple structure and without the need for dynamic control.
[0179] On the other hand, in the field of sensor interfaces in recent years, there is a tendency for an increase in systems that require 0.1 [mV] level accuracy including temperature fluctuations regarding the offset voltage of the operational amplifier 100. As a result, there is a concern that the accuracy may be insufficient in offset correction based on the premise that the offset voltage Voffset is a constant value. In the second embodiment, a configuration of an offset correction circuit for further correcting the temperature dependency of the offset voltage is described.
[0180] Fig.13This is a block diagram for explaining a configuration example of an operational amplifier to which the offset correction circuit according to the second embodiment is applied.
[0181] Reference Fig.13 In the second embodiment, the operational amplifier 100 has Figure 2 The configuration of the first embodiment further includes a temperature detection circuit 180. Furthermore, in the controller 160, a combination of a plurality of patterns of control signals B11 to B14, B21 to B24 and control signals BP0 to BP3, BN0 to BN3 is determined in advance.
[0182] The controller 160 selects one of the above-mentioned multiple modes according to the output of the temperature detection circuit 180, outputs control signals B11~B14, B21~B24 to the first correction voltage generating circuit 110, and outputs control signals BP0~BP3, BN0~BN3 to the second correction voltage generating circuit 120.
[0183] Fig.14 2 shows a configuration example of the temperature detection circuit 180.
[0184] Reference Fig.14 The temperature detection circuit 180 includes resistance elements Rd1 to Rd3, a diode D0, and a comparator 185. Hereinafter, the resistance values of the resistance elements Rd1 to Rd3 are also simply described as Rd1 to Rd3.
[0185] The resistance elements Rd1 and Rd2 are connected in series between the power supply node Np and the reference voltage node Ng via the node Ni1. The resistance elements Rd1 and Rd2 are formed using elements of the same material, for example, so as to have the same temperature characteristics.
[0186] The resistor element Rd3 and the diode D0 are connected in series between the power supply node Np and the reference voltage node Ng via the node Ni2 .
[0187] The node Ni1 and the node Ni2 are connected to two input terminals of the comparator 185, respectively. The comparator 185 outputs a temperature detection signal STD representing a comparison result of a voltage at one input terminal (node Ni1) and a voltage at another input terminal (node Ni2). When the voltage VR at the node Ni1 is higher than the voltage VD at the node Ni2, the temperature detection signal STD is set to a logic high level (hereinafter also simply recorded as "H level"). On the other hand, when VR<VD, the temperature detection signal STD is set to a logic low level (hereinafter also simply recorded as "L level").
[0188] Fig.15 2 is a conceptual diagram illustrating an operation example of the temperature detection circuit 180 .
[0189] Reference Fig.15 , the voltage VR of the node Ni1 is equivalent to the divided voltage of the power supply voltage VDDA based on the resistor elements Rd1 and Rd2. Since the resistor elements Rd1 and Rd2 have the same temperature characteristics, the resistance values Rd1 and Rd2 change in unison with temperature changes, so the voltage division ratio of the two is maintained constant. That is, the voltage VR is constant with respect to temperature changes.
[0190] In contrast, by designing the temperature dependency of the resistor Rd3 to be higher than the temperature dependency of the diode current, the voltage VD of the node Ni2 can be changed with respect to the temperature change. For example, by using an element having a positive temperature coefficient whose resistance increases as the temperature rises as the resistor Rd3, the voltage VD of the node Ni2 decreases as the temperature rises.
[0191] Therefore, by comparing the voltage VR that is constant with respect to temperature changes with the voltage VD that changes with temperature changes, it is possible to detect whether the temperature To of the operational amplifier 100 (hereinafter also referred to as the operational amplifier temperature To) is higher or lower than the reference temperature TR corresponding to the voltage VR. Fig.15 In the example of , in the region of To<TR, VD>VR, so the temperature detection signal STD is set to the H level. On the other hand, in the region of To>TR, VD<VR, so the temperature detection signal STD is set to the L level.
[0192] By changing the voltage division ratio of the resistor elements Rd1 and Rd2, the voltage VR can be freely set. For example, when VR = V1 to V3, it can be set to TR = TR1 to TR3 respectively. Therefore, by configuring N (N: natural number) temperature detection circuits 180 with different reference temperatures TR, it is possible to check which of the (N+1) temperature regions the operational amplifier temperature To enters. The following assumes that one temperature detection circuit 180 is configured to check which of the normal temperature region and the high temperature region the operational amplifier temperature To enters.
[0193] Fig.16 , a flowchart for explaining a process flow for predetermining a pattern of a control signal for offset correction in an operational amplifier to which the offset correction circuit according to the second embodiment is applied is shown. Fig.16 The flowchart shown determines the patterns of the control signals B11 to B14 , B21 to B24 and the control signals BP0 to BP3 , BN0 to BN3 in each of the normal temperature region and the high temperature region before the operational amplifier 100 operates online.
[0194] In step S100 , the offset voltage Voffset of the operational amplifier 100 at room temperature is measured. As described above, the offset voltage Voffset can be measured from the voltage difference (VOUT−VIN) between the input voltage VIN and the output voltage VOUT of the operational amplifier 100 connected via a voltage follower.
[0195] In accordance with Figure 7 as well as Figure 8 When the control signals B11~B14, B21~B24 and the control signals BP0~BP3, BN0~BN3 are set to work with the correction level of the positive side or the negative side = "0", the controller 160 can perform the processing of step S100 based on the detection values of the voltage sensor (not shown) that detects the input voltage VIN and the output voltage VOUT.
[0196] In step S110, it is determined whether the measured offset voltage Voffset is within a predetermined allowable range. If the offset voltage Voffset is not within the allowable range (no in S110), steps S120 and S130 for offset correction are executed.
[0197] In step S120 , the control signals B11 to B14 and B21 to B24 of the first correction voltage generating circuit 110 are set so as to generate a first correction voltage ΔV1 for correcting half of the measured offset voltage Voffset. The controller 160 outputs the set control signals B11 to B14 and B21 to B24 to the first correction voltage generating circuit 110 .
[0198] As described above, the positive / negative and magnitude of the first correction voltage ΔV1 are adjusted by the control signals B11 to B14 and B21 to B24. Figure 4 Therefore, by setting the control signals B11 to B14 and B21 to B24 in a voltage follower connection so that (VOUT-VIN) changes from Voffset to Voffset / 2, the first correction voltage ΔV1 = -Voffset / 2 can be generated.
[0199] At this time, it is possible to Figure 7 as well as Figure 8 The initial value table of the control signals B11 to B14, B21 to B24 corresponding to the offset voltage Voffset measured in step S100 is prepared in advance as described in the correction level. In step S120, the control signals B11 to B14, B21 to B24 can be adjusted from the initial values so that the measured value of (VOUT-VIN) when the correction voltage ΔV1 is generated is (Voffset / 2).
[0200] In step S130, the controller 160 further outputs control signals BP0 to BP3, BN0 to BN3 for making ΔV2 = -Voffset / 2 to the second correction voltage generating circuit 120. Specifically, the control signals BP0 to BP3, BN0 to BN3 can be adjusted so that the measured value of (VOUT-VIN) is zero in a state where the correction voltage ΔV2 is generated in addition to the correction voltage ΔV1 adjusted to (Voffset / 2). Accordingly, ΔV1 = ΔV2 and ΔV1+ΔV2 = -Voffset can be made.
[0201] Furthermore, as described above, the second correction voltage generating circuit 120 is configured to generate the second correction voltage ΔV2 with the same polarity as the first correction voltage ΔV1, and the temperature coefficient of the second correction voltage ΔV2 has a polarity opposite to that of the first correction voltage ΔV1 of the first correction voltage generating circuit 110.
[0202] In step S130, an initial value table corresponding to the measured offset voltage Voffset (S100) can also be prepared in advance for the control signals BP0-BP3, BN0-BN3. That is, in step S130, the control signals BP0-BP3, BN0-BN3 can be adjusted from the initial values so that the measured value of (VOUT-VIN) when the correction voltage ΔV2 is generated is zero.
[0203] The control signals B11 to B14 , B21 to B24 (first correction voltage generating circuit 110 ) and the control signals BP0 to BP3 , BN0 to BN3 (second correction voltage generating circuit 120 ) after the processing in steps S120 and S130 are stored in the controller 160 as patterns in the normal temperature region.
[0204] Next, in step S200, the operational amplifier 100 is set to a high temperature state by a test device (not shown) or the like, and the offset voltage Voffset of the operational amplifier 100 is measured. In step S200, the controller 160 can output control signals B11 to B14, B21 to B24 (first correction voltage generating circuit 110) and control signals BP0 to BP3, BN0 to BN3 (second correction voltage generating circuit 120) stored as control signals in the normal temperature region.
[0205] In this state, when the offset voltage Voffset is within the allowable range (when S210 is judged as yes), the processing is advanced to step S300, and the control signals B11 to B14, B21 to B24 (first correction voltage generating circuit 110) and the control signals BP0 to BP3, BN0 to BN3 (second correction voltage generating circuit 120) stored as the mode in the normal temperature region are determined as the mode of the control signals shared by the normal temperature region and the high temperature region, so that the common control signals are used in the normal temperature region and the high temperature region.
[0206] On the other hand, in the high temperature region, when the offset voltage Voffset is outside the allowable range (when S210 is judged as No), the control signals BP0~BP3, BN0~BN3 are adjusted through S220 to change the temperature coefficient of the second correction voltage ΔV2 of the second correction voltage generating circuit 120.
[0207] For example, in order to increase the absolute value of the second correction voltage ΔV2 at high temperature, the control signals BP0 to BP3, BN0 to BN3 are adjusted from the mode in the normal temperature region so that the bypass switch of the resistor element with a relatively large absolute value of the temperature coefficient is alternatively opened. Or conversely, in order to reduce the absolute value of the second correction voltage ΔV2 at high temperature, the control signals BP0 to BP3, BN0 to BN3 are adjusted from the mode in the normal temperature region so that the bypass switch of the resistor element with a relatively small absolute value of the temperature coefficient is alternatively opened. On the other hand, the control signals B11 to B14, B21 to B24 of the first correction voltage generating circuit 110 can be maintained in the mode stored in the normal temperature region.
[0208] The offset voltage Voffset is measured and the determination of step S210 is performed while the controller 160 outputs the control signal in step S220. When the determination in step S210 is No, the process of S220 can be repeatedly performed until the offset voltage Voffset is within the allowable range.
[0209] When the offset voltage Voffset is within the allowable range (S210 is determined to be YES), the control signals BP0 to BP3, BN0 to BN3 (second correction voltage generation circuit 120) at that time point are determined as the mode in the high temperature region. On the other hand, among the control signals B11 to B14, B21 to B24 of the first correction voltage generation circuit 110, the same mode as that in the normal temperature region is determined as the mode in the high temperature region.
[0210] As a result, the modes in the normal temperature region and the high temperature region are determined for both the control signals B11 to B14, B21 to B24 (the first correction voltage generating circuit 110) and the control signals BP0 to BP3, BN0 to BN3 (the second correction voltage generating circuit 120). Based on this, the processing of the control signal for offset correction of the operational amplifier 100 is completed.
[0211] Fig.16 The process shown can be executed as a test mode program as follows: a test device (not shown) of the operational amplifier 100 receives detection values from a voltage sensor (not shown) of the input voltage VIN and the output voltage VOUT of the operational amplifier 100, and outputs an instruction to change the control signal to the controller 160. A plurality of patterns of these determined control signals are input to the controller 160 and stored.
[0212] Alternatively, the voltage sensor of the input voltage VIN and the output voltage VOUT may be configured so that the input voltage is input to the controller 160 and the controller 160 executes the test program. In this case, a start command of the test program is input to the controller 160.
[0213] Fig.17 This is a flowchart for explaining a process of setting a control signal for offset correction in the operation of an operational amplifier to which the offset correction circuit according to the second embodiment is applied. Fig.17 The illustrated process is performed by controller 160 .
[0214] Reference Fig.17 , the controller 160 performs step S410 based on the temperature detection circuit ( Fig.13 ) is used to determine the temperature region. When STD=H level (when S410 is determined as No), in step S420, control signals B11 to B14, B21 to B24 and control signals BP0 to BP3, BN0 to BN3 are output to the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120, respectively, according to the mode of the normal temperature region among the modes of the normal temperature region and the high temperature region stored in the controller 160.
[0215] On the other hand, when STD=L level (S410 is determined to be YES), the controller 160 outputs control signals B11 to B14, B21 to B24 and control signals BP0 to BP3, BN0 to BN3 to the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120, respectively, according to the high temperature range mode in step S430. As a result, the temperature coefficient of the second correction voltage ΔV2 changes between the normal temperature range and the high temperature range.
[0216] Fig.182 shows a conceptual diagram for explaining an operation example of the offset correction circuit according to the second embodiment. Fig.19 2 is a conceptual diagram showing the output voltage characteristics of an operational amplifier to which the offset correction circuit according to the second embodiment is applied.
[0217] Reference Fig.18 as well as Fig.19 In the second embodiment, the offset voltage Voffset has temperature dependence. Fig. 9 As described in , between the first correction voltage ΔV1 and the second correction voltage ΔV2 and the offset voltage Voffset, ΔV1+ΔV2+Voffset=0, whereby the offset voltage is corrected.
[0218] like Fig.18 As shown in FIG. 1 , in order to correct the offset voltage Voffset<0, the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120 are controlled so that ΔV1>0 and ΔV2>0. The first correction voltage ΔV1 and the second correction voltage ΔV2 (solid line) of ΔV1+ΔV2+Voffset=0 at the temperature Tr set to the normal temperature range have the same Fig. 9 The same temperature characteristics as described in .
[0219] exist Fig.18 In the example, the absolute value of the offset voltage Voffset (Voffset<0) increases as the temperature rises. Therefore, in the high temperature region, the value of |ΔV1+ΔV2+Voffset| increases according to ΔV1+ΔV2 (dashed line) set in the normal temperature region, and the accuracy of offset correction decreases.
[0220] Therefore, in the high temperature range, the control signals BP0 to BP3, BN0 to BN3 (second correction voltage generating circuit 120) are switched from the normal temperature range mode (S420) to the high temperature range mode (S430). Thus, by generating the second correction voltage ΔV2 according to the temperature characteristic shown by the dotted line in the figure, the value of |ΔV1+ΔV2+Voffset| can be made close to 0 even in the high temperature range, and the offset can be corrected with high accuracy.
[0221] As a result, if Fig.19 As shown, even when there is temperature dependency in which the absolute value of the negative offset voltage increases as the temperature rises, for example, in the operational amplifier 100 connected as a voltage follower, the influence of the offset voltage Voffset can be eliminated so as to maintain VOUT=VIN in accordance with the temperature change.
[0222] In addition, Fig.16 as well as Fig.18In the example described above, the first correction voltage ΔV1 is common between the normal temperature region and the high temperature region, and only the temperature coefficient of the second correction voltage ΔV2 is changed. However, it is also possible to switch between the correction voltage ΔV1 and the correction voltage ΔV2 in each of the normal temperature region and the high temperature region. In this case, Fig.16 In the processing, when S210 is judged as no, by executing the same processing as S120 and S130, the modes of the control signals B11~B14, B21~B24 (first correction voltage generating circuit 110) and the control signals BP0~BP3, BN0~BN3 (second correction voltage generating circuit 120) can be set individually in each area of the normal temperature area and the high temperature area.
[0223] In addition, in the second embodiment, an example of switching the control signal by dividing into two temperature regions (normal temperature region / high temperature region) is described, but the number of divisions of the temperature region can also be set to three or more. In this case, it is necessary to predetermine the pattern of the control signals B11 to B14, B21 to B24 (first correction voltage generating circuit 110) and the control signals BP0 to BP3, BN0 to BN3 (second correction voltage generating circuit 120) for each of the three or more temperature regions and store them in the controller 160. In addition, as described above, by increasing the number of temperature detection circuits 180 with different reference temperatures TR, it is possible to check which region of the further refined temperature region the operational amplifier temperature To enters. Therefore, even in the case of dividing into three or more temperature regions, it is possible to selectively output the control signal corresponding to the current temperature region to the first correction voltage generating circuit 110 and the second correction voltage generating circuit 120 from the pattern of the plurality of (three or more) control signals based on the temperature detection signals STD from the plurality of temperature detection circuits 180.
[0224] Implementation method 3.
[0225] In the third embodiment, a modification example of the configuration of the second correction voltage generating circuit 120 will be described.
[0226] Reference Fig. 20 , the second correction voltage generating circuit 120 of the third embodiment and Figure 5 Compared with the structure shown, the structures of the variable resistors 125P and 125N are different. Fig. 20 The other parts of the second correction voltage generating circuit 120 are similar to those shown in FIG. Figure 5 It is the same, so the detailed description will not be repeated.
[0227] The variable resistor 125P includes n×m (n, m: natural numbers greater than or equal to 2) resistance elements connected in series and parallel between the node N21 and the node N24. Fig. 20 In the structural example, four (n=4) resistance elements RP00 to RP03, RP10 to RP13, RP20 to RP23, and RP30 to RP33 are connected in series and connected in parallel between a node N21 and a node N24 (m=4).
[0228] The bypass switches SWP00 to SWP03, SWP10 to SWP13, SWP20 to SWP23, and SWP30 to SWP33 are connected in parallel to the resistor elements RP00 to RP03, RP10 to RP13, RP20 to RP23, and RP30 to RP33. The bypass switches SWP00 to SWP03, SWP10 to SWP13, SWP20 to SWP23, and SWP30 to SWP33 are opened and closed according to the control signals BP00 to BP03, BP10 to BP13, BP20 to BP23, and BP30 to BP33 from the controller 160, respectively. Hereinafter, the control signals BP00 to BP03, BP10 to BP13, BP20 to BP23, and BP30 to BP33 are also collectively referred to as the control signal BP.
[0229] Similarly, the variable resistor 125N has n×m resistance elements connected in series and parallel between the node N21 and the node N25. Fig. 20 In the configuration example, four (n=4) resistor elements RN00 to RN03, RN10 to RN13, RN20 to RN23, and RN30 to RN33 are connected in series and connected in parallel between a node N21 and a node N25 (m=4).
[0230] The bypass switches SWN00 to SWN03, SWN10 to SWN13, SWN20 to SWN23, and SWN30 to SWN33 are connected in parallel to the resistor elements RN00 to RN03, RN10 to RN13, RN20 to RN23, and RN30 to RN33. The bypass switches SWN00 to SWN03, SWN10 to SWN13, SWN20 to SWN23, and SWN30 to SWN33 are opened and closed according to the control signals BN00 to BN03, BN10 to BN13, BN20 to BN23, and BN30 to BN33 from the controller 160, respectively. Hereinafter, the control signals BN00 to BN03, BN10 to BN13, BN20 to BN23, and BN30 to BN33 are also collectively referred to as the control signal BN.
[0231] exist Fig. 20In the second correction voltage generating circuit 120, a difference is set between the voltage drop amount in the variable resistor 125P and the voltage drop amount in the variable resistor 125N by turning on (closing) all the bypass switches in one of the variable resistors 125P and 125N and turning off (opening) at least some of the bypass switches in the other, thereby generating the second correction voltage ΔV2.
[0232] In addition, the resistance values and temperature coefficients of the (n×m) resistors of the variable resistors 125P and 125N can be freely combined. For example, it is not necessary to use elements with negative temperature coefficients to constitute all (n×m) resistors in the variable resistor 125P, and some of them can be constituted by elements with positive temperature coefficients. Similar to the first embodiment, when the second correction voltage ΔV2>0, in order to set the polarity of the temperature coefficient of the second correction voltage ΔV2 to be opposite to the polarity (positive) of the first correction voltage ΔV1, at least part of the bypass switch in the variable resistor 125P is disconnected (opened). At this time, it is necessary to set the control signal BP so that the bypass switch is disconnected (opened) so that the temperature coefficient of the combined resistance value of the resistor group through which the current passes is negative.
[0233] Similarly, it is not necessary to constitute all (n×m) resistor elements in the variable resistor 125N with elements having a positive temperature coefficient, and some of them may be constituted with elements having a negative temperature coefficient. As in the first embodiment, when the second correction voltage ΔV2 is less than 0, in order to set the polarity of the temperature coefficient of the second correction voltage ΔV2 to be opposite to the polarity (negative) of the first correction voltage ΔV1, at least some of the bypass switches in the variable resistor 125N are disconnected (opened). At this time, it is necessary to set the control signal BP so that the bypass switch is disconnected (opened) so that the temperature coefficient of the combined resistance value of the resistor element group through which the current passes is positive.
[0234] exist Fig. 20 In the embodiment, the resistor elements RP00~RP03, RP10~RP13, RP20~RP23 and RP30~RP33 correspond to an embodiment of “multiple first resistor elements”, the bypass switches SWP00~SWP03, SWP10~SWP13, SWP20~SWP23 and SWP30~SWP33 correspond to an embodiment of “multiple first bypass switches”, and the control signals BP00~BP03, BP10~BP13, BP20~BP23 and BP30~BP33 correspond to an embodiment of “multiple first bypass switch control signals”.
[0235] Similarly, resistance elements RN00~RN03, RN10~RN13, RN20~RN23 and RN30~RN33 correspond to an embodiment of “multiple second resistance elements”, bypass switches SWN00~SWN03, SWN10~SWN13, SWN20~SWN23 and SWN30~SWN33 correspond to an embodiment of “multiple second bypass switches”, and control signals BN00~BN03, BN10~BN13, BN20~BN23 and BN30~BN33 correspond to an embodiment of “multiple second bypass switch control signals”.
[0236] In the second correction voltage generating circuit 120 of the third embodiment, the temperature characteristics of the resistance values (combined resistance values) of the variable resistors 125P and 125N for generating the second correction voltage ΔV2 can be finely controlled based on the control signals BP and BN. As a result, the temperature dependence of the resistance elements constituting the variable resistors 125P and 125N can be compensated, and the temperature dependence of the second correction voltage ΔV2 can be controlled with high accuracy. For example, it is assumed that the following characteristics of the resistance elements are compensated.
[0237] Fig.21 2 is a conceptual graph for explaining the nonlinear temperature dependency of a resistor element and its compensation.
[0238] exist Fig.21 In (a), as an example of nonlinear temperature dependence of the resistance value of the resistor element, a case where the resistance value has dependence on the square of the temperature is shown. For example, in order to generate the second correction voltage ΔV2 according to the set value, the resistance value needs to be in the range of Rr0 to Rr1. In the region where the temperature is lower than Tra and the region where the temperature is higher than Trb, there is a concern that the accuracy of the offset correction will be reduced due to the setting error of the second correction voltage ΔV2.
[0239] Therefore, in the second correction voltage generating circuit of embodiment 3, by switching the control signals BP and BN between the temperature range of Tra~Trb and the range lower than Tra and the range higher than Trb, at least one of the number of resistance elements and the connection form through which the internal current of the variable resistors 125P and 125N passes is changed.
[0240] According to this, if Fig.21 As shown in (b), for the resistance values Rp and Rn of the variable resistor 125P or 125N, the decrease in resistance value can be equivalently compensated in the region where the temperature is lower than Tra and the region where the temperature is higher than Trb. As a result, the setting error of the second correction voltage ΔV2 can be suppressed even in the region where the temperature is lower than Tra and the region where the temperature is higher than Trb.
[0241] Fig. 22 2 is a conceptual graph for explaining the change in resistance value in a high temperature region when a diffused resistor on a semiconductor substrate is used as a resistance element and its compensation.
[0242] Reference Fig. 22 (a) When the diffused resistor on the semiconductor substrate is used as a resistance element, a junction leakage current is generated in a region above a certain temperature, for example, in a region higher than Trc (typically, about Trc = 80 [°C]). Since the junction leakage current is generated in an exponential function, it can be ignored in a region lower than Trc.
[0243] As a result, the apparent resistance value of the resistor element decreases as the temperature rises in the region higher than Trc. As a result, the resistance value deviates from the value of the resistor element in the high temperature region. Fig.21 Similarly, in the range of Rr0 to Rr1, there is a concern that the accuracy of offset correction may be reduced due to the setting error of the second correction voltage ΔV2 in a region where the temperature is higher than Trc.
[0244] Therefore, in the second correction voltage generating circuit of embodiment 3, by switching the control signals BP and BN between a region lower than Trc and a region higher than Trc, at least one of the number of resistance elements and the connection form through which the internal current of the variable resistors 125P and 125N passes is changed.
[0245] According to this, if Fig. 22 As shown in (b), the resistance value Rp or Rn of the variable resistor 125P or 125N can be equivalently compensated for the decrease in resistance value in the region of higher temperature than Trc. As a result, even in the temperature region where junction leakage current occurs due to diffusion resistance, the setting error of the second correction voltage ΔV2 can be suppressed.
[0246] In the second correction voltage generating circuit 120 ( Fig. 20 ), for the current source 121, it is also possible to apply Fig.11 as well as Fig.12 Alternatively, the current source 121 can be replaced by Fig.23 as well as Fig.24 In this case, even if Fig. 20 In the second correction voltage generating circuit 120 shown, each resistance element constituting the variable resistors 125P and 125N can also be configured with a low TCR (temperature coefficient of resistance) with suppressed temperature dependency.
[0247] In addition, in the first correction voltage generating circuit 110 described in the first embodiment, the plurality of transistors (including the transistor TP1) constituting the transistor TP1 can be freely changed. Figure 3TP11 to TP14) and a plurality of transistors constituting transistor TP2 (equivalent to Figure 3 The number of configurations and connection forms of the transistors TP21 to TP24 (equivalent to TP21 to TP24) can be adjusted to finely control the ratio (k2 / k1) of the transistor sizes of the transistors TP1 and TP2, thereby improving the setting range and setting resolution of the first correction voltage ΔV1 and its temperature coefficient.
[0248] Furthermore, in Embodiments 1 to 3, the configuration of the offset circuit applied to an operational amplifier used in a sensor interface is exemplified, but the offset correction circuit of this embodiment can also be applied to an operational amplifier or a comparator for other purposes.
[0249] The embodiments disclosed this time should be considered as illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and is intended to include all modifications within the meaning and scope equivalent to the claims.
Claims
1. An offset correction circuit, comprising: A first correction voltage generating circuit outputs a positive or negative first correction voltage for correcting an input voltage; a second correction voltage generating circuit, which outputs a second correction voltage according to the first correction voltage, the second correction voltage having the same polarity as the first correction voltage and having a second temperature coefficient having an opposite polarity to the first temperature coefficient of the first correction voltage; as well as an output stage for generating an output voltage based on a voltage obtained by adding the input voltage to a sum of the first correction voltage and the second correction voltage, The first correction voltage generating circuit comprises: A first field effect transistor having a gate to which the input voltage is input; a second field effect transistor having a gate connected to a node to which a first voltage obtained by adding the first correction voltage to the input voltage is output; a first current source group, configured to allow equal currents to pass through the first field effect transistor and the second field effect transistor; and The transistor size ratio control mechanism is used to variably control the ratio of the transistor size of the second field effect transistor to the transistor size of the first field effect transistor.
2. The offset correction circuit according to claim 1, wherein: The first correction voltage and the second correction voltage are set to be equal. The absolute value of the second temperature coefficient is set to be equal to the absolute value of the first temperature coefficient.
3. The offset correction circuit according to claim 1, wherein: It also has a temperature detection circuit. The first correction voltage generating circuit controls the first temperature coefficient and the first correction voltage according to a first control signal. The second correction voltage generating circuit controls the second temperature coefficient and the second correction voltage according to a second control signal. At least one of the first control signal and the second control signal changes according to an output of the temperature detection circuit.
4. The offset correction circuit according to claim 2, wherein: It also has a temperature detection circuit. The first correction voltage generating circuit controls the first temperature coefficient and the first correction voltage according to a first control signal. The second correction voltage generating circuit controls the second temperature coefficient and the second correction voltage according to a second control signal. At least one of the first control signal and the second control signal changes according to an output of the temperature detection circuit.
5. The offset correction circuit according to claim 1, wherein: The first field effect transistor and the second field effect transistor operate in a subthreshold region.
6. The offset correction circuit according to claim 1, wherein: When a negative offset voltage is corrected, the transistor size ratio control means sets the ratio to be higher than 1, so that the first correction voltage and the first temperature coefficient are set to be positive. When correcting a positive offset voltage, the transistor size ratio control unit sets the ratio to be lower than 1, so that the first correction voltage and the first temperature coefficient are set to be negative.
7. The offset correction circuit according to claim 5, wherein: When a negative offset voltage is corrected, the transistor size ratio control means sets the ratio to be higher than 1, so that the first correction voltage and the first temperature coefficient are set to be positive. When correcting a positive offset voltage, the transistor size ratio control unit sets the ratio to be lower than 1, so that the first correction voltage and the first temperature coefficient are set to be negative.
8. The offset correction circuit according to any one of claims 1 to 7, wherein: The second correction voltage generating circuit comprises: a third field effect transistor having a gate to which a voltage obtained by adding the input voltage and the first correction voltage is input; a first variable resistor connected in series with the third field effect transistor between the first node and the second node; a second variable resistor having a temperature coefficient having a polarity opposite to that of the first variable resistor; a fourth field effect transistor connected in series with the second variable resistor between the third node and the first node; a second current source group, configured to pass equal currents through each of the second node and the third node; and The resistance difference variable mechanism is used to variably control the resistance values of the first variable resistor and the second variable resistor so that the voltage difference between the gate of the third field effect transistor and the first node and the voltage difference between the gate of the fourth field effect transistor and the first node are equal.
9. The offset correction circuit according to claim 8, wherein: When the first temperature coefficient is positive, the resistance difference variable mechanism controls the resistance values of the first variable resistor and the second variable resistor so that the resistance value of the variable resistor having a negative temperature coefficient among the first variable resistor and the second variable resistor is greater than the resistance value of the variable resistor having a positive temperature coefficient. When the first temperature coefficient is negative, the variable resistance difference mechanism controls the resistance values of the first variable resistor and the second variable resistor so that the resistance value of the variable resistor with a positive temperature coefficient among the first variable resistor and the second variable resistor is greater than the resistance value of the variable resistor with a negative temperature coefficient.
10. The offset correction circuit according to any one of claims 1 to 7, wherein: The second correction voltage generating circuit comprises: a third field effect transistor having a gate to which a voltage obtained by adding the input voltage and the first correction voltage is input; a first variable resistor connected in series with the third field effect transistor between the first node and the second node; A second variable resistor; a fourth field effect transistor connected in series with the second variable resistor between the third node and the first node; a second current source group, configured to pass equal currents through each of the second node and the third node; as well as a resistance difference variable mechanism for variably controlling the resistance values of the first variable resistor and the second variable resistor so that the voltage difference between the gate of the third field effect transistor and the first node and the voltage difference between the gate of the fourth field effect transistor and the first node are equal, Wherein, the second current source group comprises: a first current source for supplying an output current based on a resistance value of a bias resistor element to the first node; a second current source connected to the second node; as well as a third current source connected to the third node and having an output current characteristic equal to that of the second current source; The first current source has: The bias resistor variable mechanism is used to variably control the polarity of the temperature coefficient of the bias resistor element.
11. The offset correction circuit according to claim 10, wherein: The bias resistor variable mechanism is constructed as follows: when the first temperature coefficient is positive, a resistor element with a negative temperature coefficient is connected to the path of the output current as the bias resistor element, and when the first temperature coefficient is negative, a resistor element with a positive temperature coefficient is connected to the path of the output current as the bias resistor element.
12. The offset correction circuit according to claim 8, wherein: The first variable resistor has: a plurality of first resistance elements connected in series and parallel between the first node and the second node; and a plurality of first bypass switches connected in parallel with each of the first resistor elements; The second variable resistor has: a plurality of second resistance elements connected in series and parallel between the first node and the third node; and a plurality of second bypass switches connected in parallel with each of the second resistor elements; The second correction voltage generating circuit receives inputs of a plurality of first bypass switch control signals for respectively controlling the opening and closing of the plurality of first bypass switches and a plurality of second bypass switch control signals for respectively controlling the opening and closing of the plurality of second bypass switches.
13. An offset correction circuit comprising: A first correction voltage generating circuit outputs a positive or negative first correction voltage for correcting an input voltage; a second correction voltage generating circuit, which outputs a second correction voltage according to the first correction voltage, the second correction voltage having the same polarity as the first correction voltage and having a second temperature coefficient having an opposite polarity to the first temperature coefficient of the first correction voltage; as well as an output stage for generating an output voltage based on a voltage obtained by adding the input voltage to a sum of the first correction voltage and the second correction voltage, wherein: The second correction voltage generating circuit comprises: a third field effect transistor having a gate to which a voltage obtained by adding the input voltage and the first correction voltage is input; a first variable resistor connected in series with the third field effect transistor between the first node and the second node; a second variable resistor having a temperature coefficient having a polarity opposite to that of the first variable resistor; a fourth field effect transistor connected in series with the second variable resistor between the third node and the first node; a second current source group, configured to pass equal currents through each of the second node and the third node; and The resistance difference variable mechanism is used to variably control the resistance values of the first variable resistor and the second variable resistor so that the voltage difference between the gate of the third field effect transistor and the first node and the voltage difference between the gate of the fourth field effect transistor and the first node are equal.
14. The offset correction circuit according to claim 13, wherein: When the first temperature coefficient is positive, the resistance difference variable mechanism controls the resistance values of the first variable resistor and the second variable resistor so that the resistance value of the variable resistor having a negative temperature coefficient among the first variable resistor and the second variable resistor is greater than the resistance value of the variable resistor having a positive temperature coefficient. When the first temperature coefficient is negative, the variable resistance difference mechanism controls the resistance values of the first variable resistor and the second variable resistor so that the resistance value of the variable resistor with a positive temperature coefficient among the first variable resistor and the second variable resistor is greater than the resistance value of the variable resistor with a negative temperature coefficient.
15. The offset correction circuit according to claim 13 or 14, wherein: The first variable resistor has: a plurality of first resistance elements connected in series and parallel between the first node and the second node; and a plurality of first bypass switches connected in parallel with each of the first resistor elements; The second variable resistor has: a plurality of second resistance elements connected in series and parallel between the first node and the third node; and a plurality of second bypass switches connected in parallel with each of the second resistor elements; The second correction voltage generating circuit receives inputs of a plurality of first bypass switch control signals for respectively controlling the opening and closing of the plurality of first bypass switches and a plurality of second bypass switch control signals for respectively controlling the opening and closing of the plurality of second bypass switches.
16. An offset correction circuit comprising: A first correction voltage generating circuit outputs a positive or negative first correction voltage for correcting an input voltage; a second correction voltage generating circuit, which outputs a second correction voltage according to the first correction voltage, the second correction voltage having the same polarity as the first correction voltage and having a second temperature coefficient having an opposite polarity to the first temperature coefficient of the first correction voltage; as well as an output stage for generating an output voltage based on a voltage obtained by adding the input voltage to a sum of the first correction voltage and the second correction voltage, wherein: The second correction voltage generating circuit comprises: a third field effect transistor having a gate to which a voltage obtained by adding the input voltage and the first correction voltage is input; a first variable resistor connected in series with the third field effect transistor between the first node and the second node; A second variable resistor; a fourth field effect transistor connected in series with the second variable resistor between the third node and the first node; a second current source group, configured to pass equal currents through each of the second node and the third node; and a resistance difference variable mechanism for variably controlling the resistance values of the first variable resistor and the second variable resistor so that the voltage difference between the gate of the third field effect transistor and the first node and the voltage difference between the gate of the fourth field effect transistor and the first node are equal, Wherein, the second current source group comprises: a first current source for supplying an output current based on a resistance value of a bias resistor element to the first node; a second current source connected to the second node; and a third current source connected to the third node and having an output current characteristic equal to that of the second current source; The first current source has: The bias resistor variable mechanism is used to variably control the polarity of the temperature coefficient of the bias resistor element.
17. The offset correction circuit according to claim 16, wherein: The bias resistor variable mechanism is constructed as follows: when the first temperature coefficient is positive, a resistor element with a negative temperature coefficient is connected to the path of the output current as the bias resistor element, and when the first temperature coefficient is negative, a resistor element with a positive temperature coefficient is connected to the path of the output current as the bias resistor element.
18. The offset correction circuit according to claim 16 or 17, wherein: The first variable resistor has: a plurality of first resistance elements connected in series and parallel between the first node and the second node; and a plurality of first bypass switches connected in parallel with each of the first resistor elements; The second variable resistor has: a plurality of second resistance elements connected in series and parallel between the first node and the third node; and a plurality of second bypass switches connected in parallel with each of the second resistor elements; The second correction voltage generating circuit receives inputs of a plurality of first bypass switch control signals for respectively controlling the opening and closing of the plurality of first bypass switches and a plurality of second bypass switch control signals for respectively controlling the opening and closing of the plurality of second bypass switches.
