This application claims the priority benefit of Japan application serial no. 2021-149138, filed on Sep. 14, 2021. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The present disclosure relates to a temperature compensation circuit that generates temperature-compensated current, particularly a temperature compensation circuit with two proportional-to-absolute-temperature (PTAT) current sources.
A temperature-compensated voltage corresponding to the operating temperature is generally generated in a semiconductor device, such as a memory or a logic circuit. The temperature-compensated voltage ensures the reliability of the circuit by keeping the circuit operating. When data is read, if the read current flow decreases due to temperature changes in the memory circuit, then the read tolerance would decrease, preventing data from being read accurately. For example, Patent Document 1 (Japanese Patent Laid-Open No. 2021-82094) discloses a voltage generating circuit that compares a reference voltage VREF and a temperature-dependent voltage VPTAT, and selects one of the reference voltage VREF and the temperature-dependent voltage VPTAT based on the comparison result to generate a highly reliable voltage.
Temperature coefficient (Tco) of a constant current circuit or a constant current source is often a problem in the analog circuit design. For example, as an oscillator includes a delay circuit to determine the period (cycle) of oscillation, a constant current circuit is sometimes adapted as the delay circuit to avoid voltage dependence of the delay time due to fluctuations in the power supply voltage, but the temperature coefficient of the constant current circuit varies in the delay time with respect to the temperature, affecting the period of the oscillator by the temperature.
The temperature compensation circuit of the disclosure includes: 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 having a first temperature coefficient proportional to the 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 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.
The semiconductor integrated circuit of the disclosure includes: the temperature compensation circuit described above; and a voltage generation circuit configured to generate a voltage based on the differential current output by the temperature compensation circuit.
According to the disclosure, a high-precision, temperature-compensated current is obtained by generating a difference of currents having different temperature coefficients proportional to the absolute temperature.
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.
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.
Next, the temperature compensation circuit of the present embodiment is described in detail.
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 RA 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 IA 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 RA 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.
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 RB 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 IB 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 RB is configured to have the same resistance value as resistor RA (RB=RA).
The adjustment circuit 130 adjusts the magnitude of the current IA 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
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 KIA 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 IB 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 (IB−KIA) of the current IB and the current KIA is output externally from a connection node Q of the transistor P6 and the transistor N2.
The current IA is approximately IB/2 according to the emitter area ratio of the NPN bipolar transistor, but the temperature coefficient (Tco) of the current IA is larger than the temperature coefficient (Tco) of the current IB. If the mirror ratio K of the adjustment circuit 130 is selected in a way that the temperature gradient of the current KIA with respect to the absolute temperature is approximately the same as that of the current IB, the temperature dependence of the differential current Idiff may be brought close to zero.
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.
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.
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.
An example of adjusting the current IA generated by the first PTAT current source 110 is shown in the embodiment described, but the current IB 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′IB to the second current path of the differential circuit 140. In addition, the adjustment circuit 130 may also adjust both the current IA and the current IB, and provide the adjusted current KIA and the current K′IB to the first current path and the second current path of the differential circuit 140.
An example of supplying the current IB 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 IB 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.
A modification of the adjustment circuit of the temperature compensation circuit of the present embodiment is described hereinafter with reference to
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
In addition, in the case of adjusting the current IB 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′IB may be then provided to the second current path of the differential circuit 140.
Another modification of the adjustment circuit of the temperature compensation circuit of the present embodiment is described hereinafter with reference to
As the resistor RA and the resistor RB are variable resistors, the adjustment circuit 130B may change the resistance values of the resistor RA and the resistor RB according to the trim code TRC. However, the adjustment scheme of the resistor may be chosen as needed.
For example, as shown in
In this example, the adjustment circuit 130B adjusts the resistor RA or the resistor RB. 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 RA and the resistor RB as shown in
A modification of the PTAT current source of the temperature compensation circuit of the present embodiment is described hereinafter with reference to
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.
Number | Date | Country | Kind |
---|---|---|---|
2021-149138 | Sep 2021 | JP | national |