TEMPERATURE COMPENSATION CIRCUIT AND SEMICONDUCTOR INTEGRATED CIRCUIT USING THE SAME
20230084920 · 2023-03-16
Assignee
Inventors
Cpc classification
International classification
Abstract
The disclosure provides a temperature compensation circuit that generates a temperature-compensated current and an integrated semiconductor circuit using the temperature compensation circuit. The temperature compensation circuit includes: a first PTAT current source which has a first emitter area ratio and generates a first current, the first current having a first temperature coefficient proportional to the absolute temperature; a second PTAT current source which has a second emitter area ratio and generates a second current, the second current having a second temperature coefficient proportional to the absolute temperature; an adjustment circuit which adjusts the current generated by the first PTAT current source; and a differential circuit which outputs the difference between the current adjusted by the adjustment circuit and the current generated by the second PTAT current source.
Claims
1. A temperature compensation circuit, comprising: a first circuit employing transistors with a first emitter area ratio or diodes with a number ratio equivalent to the first emitter area ratio to generate a first current, the first current having a first temperature coefficient proportional to an absolute temperature; a second circuit employing transistors with a second emitter area ratio or diodes with a number ratio equivalent to the second emitter area ratio to generate a second current, the second current having a second temperature coefficient proportional to the absolute temperature; and a differential circuit configured to output a differential current of the first current and the second current.
2. The temperature compensation circuit of claim 1, wherein the first emitter area ratio of the first circuit is different from the second emitter area ratio of the second circuit, the first current is proportional to the first emitter area ratio, and the second current is proportional to the second emitter area ratio.
3. The temperature compensation circuit of claim 1, wherein the first circuit and the second circuit respectively comprise a first transistor, a second transistor, and an operational amplifier, one ends of the first transistor and the second transistor are connected to a supply voltage, a non-inverting input terminal of the operational amplifier is connected to a first node, an inverting input terminal of the operational amplifier is connected to a second node, and an output terminal of the operational amplifier is commonly connected to gates of the first transistor and the second transistor, the operational amplifier controls gate voltages of the first transistor and the second transistor by equalling a voltage of the first node and a voltage of the second node.
4. The temperature compensation circuit of claim 1, further comprising: an adjustment part configured to adjust a magnitude of the first current or the second current.
5. The temperature compensation circuit of claim 4, wherein the adjustment part adjusts the magnitude of the first current or the second current with a current mirror circuit.
6. The temperature compensation circuit of claim 4, wherein the adjustment part adjusts a resistance value of a resistor.
7. The temperature compensation circuit of claim 6, wherein the adjustment part comprises a plurality of switches, and each of the switches is selectively turned on according to a trim code to change the resistance value of the resistor.
8. The temperature compensation circuit of claim 1, wherein the first circuit comprises a first current mirror circuit supplying the first current as a current source, and the second circuit comprises a second current mirror circuit supplying the second current as a current source.
9. The temperature compensation circuit of claim 8, wherein an adjustment part adjusts a mirror ratio of the first current mirror circuit or the second current mirror circuit.
10. The temperature compensation circuit of claim 9, wherein the adjustment part adjusts the mirror ratio of the first current mirror circuit according to a trim code, and the adjusted first current is supplied to the differential circuit.
11. The temperature compensation circuit of claim 8, wherein an adjustment part comprises a third transistor forming a current mirror with the first current mirror circuit or the second current mirror circuit, and adjusts a mirror ratio of the third transistor.
12. The temperature compensation circuit of claim 11, wherein the adjustment part comprises a plurality of the third transistor connected in parallel and forming a current mirror with the first current mirror circuit or the second current mirror circuit, and a plurality of switches respectively connected in series to the third transistor, and the mirror ratio of the third transistor is adjusted by each of the switches being selectively turned on according to a trim code.
13. The temperature compensation circuit of claim 11, wherein the differential circuit comprises a first current path and a second current path, the first current path comprises a fourth transistor connected in series with the third transistor of the adjustment part, and is supplied with current from the third transistor, the second current path comprises a fifth transistor forming a current mirror with the second current mirror circuit, and a sixth transistor connected in series to the fifth transistor, and is supplied with current from the fifth transistor, a gate of the fourth transistor and a gate of the sixth transistor are commonly connected to the first current path to form a current mirror.
14. The temperature compensation circuit of claim 1, wherein the transistors are NPN or PNP bipolar transistors.
15. A semiconductor integrated circuit, comprising: the temperature compensation circuit of claim 1; and a voltage generation circuit configured to generate a voltage based on the differential current output by the temperature compensation circuit.
Description
BRIEF DESCRIPTION OF THE DRAWING
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
DESCRIPTION OF THE EMBODIMENTS
[0016] Embodiments of the disclosure are described in detail with reference to the drawings. The temperature compensation circuit of the disclosure may be used in semiconductor integrated circuits, such as a voltage generation circuit for generating a reference voltage, an oscillation circuit, and other logic circuits.
[0017]
[0018]
TABLE-US-00001 TABLE 1 Emitter Area Ratio Temperature Coefficient (1:n) (45° C.~52.5° C.) 1:8 2838 (ppm/K) 1:4 2960 (ppm/K) 1:2 3343 (ppm/K)
[0019] In this embodiment, two PTAT current sources are adapted to generate a temperature-compensated current by the difference of the two currents. As described above, when the emitter area ratio is different, the temperature coefficients of the two are also slightly different, but with the difference between the two currents, it is possible to find that the current hardly changes with respect to temperature. In an embodiment, the magnitude of the current of one or both of the two PTAT current sources can be adjusted proportionally, such that the temperature coefficient of the differential current is close to zero, so as to generate a high-precision, temperature-compensated current.
[0020] Next, the temperature compensation circuit of the present embodiment is described in detail.
[0021] The first PTAT current source 110 includes a first current path and a second current path between the supply voltage VDD and the GND. A PMOS transistor P1 and an NPN bipolar transistor Q1 are connected in series on the first current path. The PMOS transistor P2, the NPN bipolar transistor Q2, and the resistor R.sub.A are connected in series on the second current path. The transistor P1 and the transistor P2 form a current mirror with a mirror ratio of 1 (m=1), and function as a current source for flowing a current I.sub.A to each of the first current path and the second current path. In the bipolar transistor Q1 and the bipolar transistor Q2, the respective bases are commonly connected to the first current path, performing a diode connection, and the emitter area ratio n of the bipolar transistor Q1 and the bipolar transistor Q2 is, for example, 1:2. The resistor R.sub.A is not particularly defined and is composed of, for example, a resistor having a positive temperature characteristic or a resistor made of a semiconductor material having a negative temperature characteristic.
[0022] Similar to the first PTAT current source 110, the second PTAT current source 120 includes a first current path and a second current path between the supply voltage VDD and the supply voltage GND. A PMOS transistor P3 and an NPN bipolar transistor Q3 are connected in series on the first current path. The PMOS transistor P4, the NPN bipolar transistor Q4, and the resistor R.sub.B are connected in series on the second current path. The transistor P3 and the transistor P4 form a current mirror with a mirror ratio of 1 (m=1), and function as a current source for flowing a current I.sub.B to the first current path and the second current path. In the bipolar transistor Q3 and the bipolar transistor Q4, the respective bases are commonly connected to the first current path, performing a diode connection, and the emitter area ratio n of the transistor Q3 and the transistor Q4 is, for example, 1:4. The resistor R.sub.B is configured to have the same resistance value as resistor R.sub.A (R.sub.B=R.sub.A).
[0023] The adjustment circuit 130 adjusts the magnitude of the current I.sub.A generated by the first PTAT current source 110. In this example, the adjustment circuit 130 includes a PMOS transistor P5 that forms a current mirror with the PMOS transistor P1 and the PMOS transistor P2 to adjust a mirror ratio K (m=K; K is a value greater than 1) of the transistor P5. The adjustment scheme of the mirror ratio K is not particularly defined. The adjustment circuit 130 includes, for example, logic for adjusting the mirror ratio K based on a trim code (TRC) supplied externally or a trim code TRC stored in advance in a storage unit, such as a memory. For example, as shown in
[0024] The differential circuit 140 includes a first current path and a second current path between the supply voltage VDD and the supply voltage GND. The first current path includes an NMOS transistor N1 connected in series with the transistor P5 of the adjustment circuit 130. The current KI.sub.A from the transistor P5 is supplied to the first current path. The second current path includes: a PMOS transistor P6 that forms a current mirror with the transistor P3 and the transistor P4 of the second PTAT current source and has a mirror ratio of 1 (m=1); and an NMOS transistor N2 connected in series to the PMOS transistor P6. The current I.sub.B from the transistor P6 is supplied to the second current path. In the transistor N1 and the transistor N2, the respective gates are commonly connected to the first current path to form a current mirror circuit. As such, the differential current Idiff (I.sub.B−KI.sub.A) of the current I.sub.B and the current KI.sub.A is output externally from a connection node Q of the transistor P6 and the transistor N2.
[0025] The current I.sub.A is approximately I.sub.B/2 according to the emitter area ratio of the NPN bipolar transistor, but the temperature coefficient (Tco) of the current I.sub.A is larger than the temperature coefficient (Tco) of the current I.sub.B. If the mirror ratio K of the adjustment circuit 130 is selected in a way that the temperature gradient of the current KI.sub.A with respect to the absolute temperature is approximately the same as that of the current I.sub.B, the temperature dependence of the differential current Idiff may be brought close to zero.
[0026]
[0027] As such, according to the temperature compensation circuit of the present embodiment, it is possible to obtain a temperature-compensated constant current with higher accuracy than conventional ones by utilizing the difference in the temperature coefficients of the two PTAT current sources.
[0028] In the embodiment described, the NPN bipolar transistor Q1, the NPN bipolar transistor Q2, the NPN bipolar transistor Q3, and the NPN bipolar transistor Q4 are used in the first PTAT current source 110 and the second PTAT current source 120, but these transistors may also be replaced with diode-connected PNP bipolar transistors. Furthermore, NPN bipolar transistors may also be replaced with diodes. In this case, the emitter area ratio is equivalent to the number ratio of diodes connected in parallel.
[0029] In the embodiment, the emitter area ratio of the first PTAT current source 110 is 1:2, and the emitter area ratio of the second PTAT current source 120 is 1:4. However, these emitter area ratios are but an example, and there may be other emitter area ratios adoptable. For example, the emitter area ratio of the first PTAT current source 110 may 1:4, and the emitter area ratio of the second PTAT current source 120 may 1:8.
[0030] An example of adjusting the current I.sub.A generated by the first PTAT current source 110 is shown in the embodiment described, but the current I.sub.B generated by the second PTAT current source 120 may also be adjusted. In this case, the adjustment circuit 130 adjusts the mirror ratio of the transistor P6 that forms the current mirror with the transistor P3 and the transistor P4 to be m=K′, and provides the adjusted current K′I.sub.B to the second current path of the differential circuit 140. In addition, the adjustment circuit 130 may also adjust both the current I.sub.A and the current I.sub.B, and provide the adjusted current KI.sub.A and the current K′I.sub.B to the first current path and the second current path of the differential circuit 140.
[0031] An example of supplying the current I.sub.B with the transistor P6 to the second current path of the differential circuit 140 is shown in the embodiment described, but the transistor P6 is not necessarily required. For example, the current I.sub.B generated from the transistor P4 of the second PTAT current source 120 may be directly supplied to the differential circuit 140. In addition, the configuration of the differential circuit 140 is but an example. Other current differential circuits may also be adopted.
[0032] A modification of the adjustment circuit of the temperature compensation circuit of the present embodiment is described hereinafter with reference to
[0033] In the first PTAT current source 110, the mirror ratio of the transistor P2 constituting the current mirror circuit is adjusted to K (m=K). The adjustment circuit 130A adjusts the mirror ratio K of the transistor P2 according to the trim code TRC (e.g., the adjustment scheme as shown in
[0034] In addition, in the case of adjusting the current I.sub.B of the second PTAT current source 120, the mirror ratio of the transistor P4 that constitutes the current mirror circuit may also be adjusted to K′ in the second PTAT current source 120 using the same scheme as above, and the adjusted mirror current K′I.sub.B may be then provided to the second current path of the differential circuit 140.
[0035] Another modification of the adjustment circuit of the temperature compensation circuit of the present embodiment is described hereinafter with reference to
[0036] As the resistor R.sub.A and the resistor R.sub.B are variable resistors, the adjustment circuit 130B may change the resistance values of the resistor R.sub.A and the resistor R.sub.B according to the trim code TRC. However, the adjustment scheme of the resistor may be chosen as needed.
[0037] For example, as shown in
[0038] In this example, the adjustment circuit 130B adjusts the resistor R.sub.A or the resistor R.sub.B. However, if it is necessary to make the temperature change of the differential current Idiff close to zero, the adjustment circuit 130B may also adjust the mirror ratio K simultaneously with the adjustment of the resistor R.sub.A and the resistor R.sub.B as shown in
[0039] A modification of the PTAT current source of the temperature compensation circuit of the present embodiment is described hereinafter with reference to
[0040] Although the embodiments of the disclosure has been described in detail, the disclosure is not limited to these embodiments, and various modifications and changes can be made within the scope of the disclosure described in the claims.