SOC on-chip temperature sensor

By designing a temperature sensor on the SOC chip and using PNP tubes and SAR ADC circuits to digitize the temperature information, the problem of real-time accuracy of chip temperature monitoring is solved and better chip performance and lifespan are achieved.

CN118565643APending Publication Date: 2024-08-30TSINGHUA SHENZHEN INTERNATIONAL GRADUATE SCHOOL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410318421.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult to achieve real-time and accurate temperature monitoring on the chip with existing technology, which affects the stability and performance life of the chip.

Method used

Design a SOC on-chip temperature sensor, using a PNP tube as the temperature measuring element, converting the temperature information into a voltage signal through the temperature sampling module, amplifying it through the amplifier module and converting it into a differential voltage signal, inputting it into the SAR ADC circuit for digitization, and using dynamic matching The circuit reduces device mismatch error, and the amplifier module adopts a differential negative feedback switched capacitor operational amplifier structure.

Benefits of technology

It realizes real-time and accurate temperature monitoring on the chip, improves the performance and life of the chip, has a simple structure and strong scalability, and is suitable for most SOC chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565643A
    Figure CN118565643A
Patent Text Reader

Abstract

An SOC on-chip temperature sensor comprises a temperature sensing circuit and an analog-to-digital converter, the temperature sensing circuit comprises a temperature sampling module and an amplifier module, the temperature sampling module adopts a PNP tube as a temperature measuring element and converts monitored temperature information into voltage signals related to the temperature, the amplifier module is provided with a common mode point, and the analog-to-digital converter is connected with the common mode point. The voltage signal is amplified by the amplifier module and is converted into a differential voltage signal through common mode point setting of the amplifier module, the differential voltage signal is input into the analog-to-digital converter, and the analog-to-digital converter converts the differential voltage signal into a digital signal representing temperature information. Through the design of the SOC on-chip temperature sensor, the temperature sensor is integrated on the chip to accurately monitor the temperature of the chip in real time, and better chip performance can be realized. Moreover, by using the temperature sensor, the system or each module can be controlled and adjusted according to the temperature of the chip, so that the chip can exert better performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sensors, and in particular to a SOC on-chip temperature sensor. Background Art

[0002] With the rapid development of process technology and the continuous improvement of integration, there are higher requirements for the demand and performance of temperature sensors. In recent years, the IC industry has been developing rapidly according to Moore's Law. Although technological advances and the reduction of transistor feature sizes have made chip integration higher and higher, the management of power density has become increasingly difficult. Therefore, optimizing the temperature of the chip has become a top priority. Since the stability of the chip will be reduced due to excessive temperature, the temperature of the working environment will increase due to changes in the chip's own power consumption. The increase in temperature will affect the performance and life of the chip. If it exceeds the threshold that the chip can withstand, it will seriously affect the life of the chip. Therefore, it is particularly important to monitor its temperature.

[0003] It should be noted that the information disclosed in the above background technology section is only used for understanding the background of the present application, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the invention

[0004] The main purpose of the present invention is to overcome the defects of the above-mentioned background technology and provide a SOC on-chip temperature sensor to integrate a temperature sensor on the chip for real-time and accurate temperature monitoring. To achieve the above-mentioned purpose, the present invention adopts the following technical solutions:

[0005] A temperature sensor on a SOC chip includes a temperature sensing circuit and an analog-to-digital converter. The temperature sensing circuit includes a temperature sampling module and an amplifier module. The temperature sampling module uses a PNP tube as a temperature measuring element to convert the monitored temperature information into a voltage signal related to the temperature. The amplifier module is provided with a common mode point. The voltage signal is amplified by the amplifier module and converted into a differential voltage signal through the common mode point setting of the amplifier module. The differential voltage signal is input into the analog-to-digital converter, and the analog-to-digital converter converts the differential voltage signal into a digital signal representing the temperature information.

[0006] Further:

[0007] The analog-to-digital converter is a SAR ADC circuit, and the SAR ADC circuit converts the differential voltage signal into a digital signal representing temperature information by a successive approximation method.

[0008] The temperature sampling module includes a current source and two PNP tubes. The current source applies two proportional currents to the two PNP tubes respectively. The voltage signal is the base-emitter voltage difference ΔV of the two PNP tubes.BE , which is linearly related to temperature.

[0009] The current source comprises a current source array composed of a plurality of MOS tubes.

[0010] The current source structure of the current source array adopts a cascode structure.

[0011] The temperature sampling module further comprises a dynamic matching circuit DEM, through which the current ratio error caused by device mismatch is periodically summed and averaged, and the current ratio is adjusted, thereby reducing the mismatch.

[0012] Through the dynamic matching circuit, the errors in each cycle are summed and evenly distributed, and the calculation formula is as follows:

[0013]

[0014]

[0015] n is the set current ratio, Δn j is the current ratio error in the jth cycle due to mismatch, ΔV BEj Because Δn j The error in the base-emitter voltage difference caused by the jth cycle, K is the Boltzmann constant, T is the absolute temperature, q is the electron charge, ΔV BE,ave is the average V after m cycles BE error.

[0016] The amplifier module is a differential negative feedback switched capacitor operational amplifier.

[0017] The capacitance ratio of the differential negative feedback switched capacitor operational amplifier is 20 times, and the reference capacitance is 30 fF.

[0018] The differential negative feedback switched capacitor operational amplifier is an open-loop operational amplifier using a rail track and is provided with a common-mode suppression structure.

[0019] The present invention has the following beneficial effects:

[0020] The SOC on-chip temperature sensor provided by the present invention integrates a temperature sensor on the chip to perform real-time and accurate temperature monitoring, and can adjust the system or each module according to the temperature control of the chip, so that the chip can play a better performance. It has a simple structure and can be applied to most SOC chips, with high portability and strong scalability.

[0021] The SOC on-chip temperature sensor of the present invention can be used as one of the important modules in the SOC chip, which can timely convert the chip temperature into a digital signal to facilitate subsequent data processing, and can make the chip perform better by avoiding the chip temperature being too high or too low. As a sensor module, it has universal applicability in the SOC chip.

[0022] Other beneficial effects of the embodiments of the present invention will be further described below. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a design flow chart of a SOC on-chip temperature sensor according to an embodiment of the present invention.

[0024] Figure 2 FIG. 4 is a structural diagram of a SOC on-chip temperature sensor according to an embodiment of the present invention.

[0025] Figure 3 Schematic diagram of the symbol of the SOC on-chip temperature sensor of the embodiment of the present invention

[0026] Figure 4 is the ΔV in the SOC on-chip temperature sensor of the embodiment of the present invention BE Schematic diagram of the relationship with temperature DETAILED DESCRIPTION

[0027] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.

[0028] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, connection can be used for fixing as well as for coupling or communication.

[0029] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0030] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0031] See also Figure 2 The embodiment of the present invention provides a SOC on-chip temperature sensor, including a temperature sensing circuit and an analog-to-digital converter. The temperature sensing circuit includes a temperature sampling module and an amplifier module. The temperature sampling module uses a PNP tube as a temperature measuring element to convert the monitored temperature information into a voltage signal related to the temperature. The amplifier module is provided with a common mode point. The voltage signal is amplified by the amplifier module and converted into a differential voltage signal through the common mode point setting of the amplifier module. The differential voltage signal is input into the analog-to-digital converter, and the analog-to-digital converter converts the differential voltage signal into a digital signal representing the temperature information. Through the design of the SOC on-chip temperature sensor, the temperature sensor is integrated on the chip to monitor the temperature of the chip in real time and accurately, which is conducive to achieving better chip performance. In addition, using the temperature sensor, the system or each module can be adjusted according to the temperature control of the chip, so that the chip can perform better performance.

[0032] like Figure 2 As shown, in a preferred embodiment, the analog-to-digital converter is a SAR ADC (successive approximation analog-to-digital converter) circuit, and the SAR ADC circuit converts the differential voltage signal into a digital signal representing temperature information by a successive approximation method. Preferably, a differential structure is adopted in the design of the SAR ADC, which has a high anti-interference ability and good linear performance, so as to accurately convert the voltage signal into a digital signal.

[0033] like Figure 2 As shown, in a preferred embodiment, the temperature sampling module includes a current source and two PNP tubes, the current source applies two proportional currents to the two PNP tubes respectively, and the voltage signal is the base-emitter voltage difference ΔV of the two PNP tubes. BE , which is linearly related to temperature.

[0034] like Figure 2 As shown, in a preferred embodiment, the current source comprises a current source array composed of a plurality of MOS tubes. In one embodiment, a current mirror design with a ratio of 1:9 is adopted to conveniently realize the design of a ten-frequency circuit.

[0035] In a preferred embodiment, the current source structure of the current source array adopts a cascode structure.

[0036] like Figure 2 As shown, in a preferred embodiment, the temperature sampling module further includes a dynamic matching circuit DEM, through which the current ratio error caused by device mismatch is periodically summed and averaged, and the current ratio is adjusted to reduce the mismatch.

[0037] Through the dynamic matching circuit, the errors in each cycle are summed and evenly distributed. Specifically, the calculation formula is as follows:

[0038]

[0039]

[0040] n is the set current ratio, Δn j is the current ratio error in the jth cycle due to mismatch, ΔV BEj Because Δn j The error in the base-emitter voltage difference caused by the jth cycle, K is the Boltzmann constant, T is the absolute temperature, q is the electron charge, ΔV BE,ave is the average V after m cycles BE error.

[0041] like Figure 2 As shown, in a preferred embodiment, the amplifier module is a differential negative feedback switched capacitor operational amplifier to achieve accurate voltage amplification in the temperature sensing circuit.

[0042] In a preferred embodiment, the differential negative feedback switched capacitor operational amplifier is an open-loop operational amplifier using a track rail, and a common-mode suppression structure is provided. More preferably, the open-loop operational amplifier uses a two-stage operational amplifier using a track rail to suppress the output common-mode voltage and amplify the output voltage range.

[0043] In a preferred embodiment of the present invention, the PTAT characteristic design of bipolar transistors is adopted in the temperature sensing circuit, and the mismatch is reduced by using dynamic matching technology, and the voltage gain is set by using a switched capacitor amplifier to convert the temperature signal into a voltage signal. The SAR ADC circuit is composed of a sampling and holding circuit, a comparator, SAR logic and a DAC capacitor array. The temperature sensing circuit converts the temperature into a voltage signal, and then converts the analog voltage signal into a digital signal through the SAR ADC, and finally completes the function of converting the temperature signal into a digital signal. After testing and verification, the temperature sensor of the present invention has an accuracy of 0.1°C and a monitoring range of -40 to 125°C. It is applied to SOC chips to accurately monitor the chip temperature in real time to enable the chip to achieve better performance.

[0044] The specific embodiments of the present invention are further described below.

[0045] like Figure 1 As shown in the figure, when designing the temperature sensor on the SOC chip, the specific architecture is determined first, and then the circuit design is carried out. After the design is completed, the layout and post-simulation are carried out. If the post-simulation meets the indicators, the tape-out verification can be carried out. If the indicators cannot be met, the circuit diagram is redesigned until the requirements are met. In order to achieve an accuracy of 0.1℃ and a monitoring range of -40-125℃, an ADC with a resolution of ≥11bit is used. The error of the temperature sensor module converting the temperature to voltage is less than 1.74mV (3.6V / 2 11 )(1.8V is the full scale of SAR ADC, 11 is the resolution of ADC).

[0046] Figure 2 A structural diagram of a SOC on-chip temperature sensor according to an embodiment of the present invention is given.

[0047] The SOC on-chip temperature sensor includes a temperature sensing circuit and a SAR ADC circuit. The structure of the temperature sensing circuit is divided into two parts: a temperature sampling module and an amplifier module. The temperature sensing element used in the temperature sampling module is a PNP tube, which is a type of bipolar junction transistor. By passing different currents through two identical PNP tubes, the output signal ΔV of the temperature sensing module can be obtained. BE , ΔV BE It is the base-emitter voltage difference of the PNP tube and is positively correlated with the absolute temperature. BE The value of is very small, and there is no common mode point between the two signals, so they cannot be directly used as input signals to enter the SAR ADC circuit. Therefore, an amplifier module is added after the temperature sensing module, and the output signal of the temperature sensing module ΔV BE As the input signal of the amplifier module, it undergoes voltage amplification in the amplifier module, and a common mode point is added between the two signals, so that it becomes a differential signal outn and outp that can be used as the input signal of the SAR ADC circuit. When the measured temperature changes, the output signals outn and outp of the temperature sensing circuit will change linearly with the temperature change, and the temperature signal can be converted into a differential voltage signal in a relatively timely and accurate manner.

[0048] The temperature sampling module is responsible for converting the monitored temperature information into a voltage signal related to the temperature, which is then amplified by the amplifier, namely the differential signals outn and outp. In the subsequent SAR ADC circuit, this set of differential signals outn and outp will be used as input signals to complete the entire analog-to-digital conversion process. When the measured temperature changes, the output signals outn and outp of the temperature sensing circuit will change linearly with the temperature change, and the temperature signal can be converted into a differential voltage signal in a relatively timely and accurate manner.

[0049] Figure 31 is a symbol diagram of the SOC on-chip temperature sensor design of the present invention. The description of each interface is described in Table 1. The SOC on-chip temperature sensor of the present invention can be easily transplanted and expanded through the interface description.

[0050] Table 1

[0051]

[0052] The temperature sensing module in the SOC on-chip temperature sensor in the embodiment of the present invention mainly includes two parts: temperature sampling and amplification module. In the temperature sampling module, the problem of device mismatch caused by the influence of the process is considered. The devices that may cause mismatch include MOS tubes and PNP tubes that constitute the current source array. The overall structure adopts the principle of setting the current ratio flowing through the PNP tube to 1:n to obtain ΔV that is positively correlated with the absolute temperature. BE , where ΔV BE is the base-emitter voltage difference of the two groups of PNP tubes, OUT2 and OUT1 are the emitter output voltages of the PNP tubes, Figure 4 Given ΔV BE Schematic diagram of the relationship with temperature, ΔV BE The calculation formula is as follows:

[0053]

[0054] The current source structure adopts a cascode structure. With this structure, the current accuracy can be improved and the current ratio will be more accurate. The principle of dynamic matching circuit to reduce mismatch is as follows. BE For j , which is the current ratio error due to mismatch, Δn j The existence of the ideal ΔV BE It is difficult. The dynamic matching technology sums the errors in each cycle and distributes them evenly, making the current ratio n more accurate, reducing mismatch, and also reducing the matching requirements for the layout. The principle formula of dynamic DEM technology to eliminate mismatch is as follows:

[0055]

[0056]

[0057] In order to accurately amplify the signal, the amplifier module adopts a negative feedback switch capacitor structure and sets a common mode point. In terms of capacitor selection, the output signal amplitude is large enough to cover most of the voltage operating range in the SAR ADC; the capacitor size is easy to achieve, the capacitor ratio is more accurate; the capacitor value is small, which can reduce the area. Therefore, the final capacitor ratio is selected as 20 times, and the reference capacitor is 30fF. BE The voltage range is small, and the input voltage range of the SAR ADC is large. An amplification structure is used between the temperature sensing module and the ADC. Under the low voltage of 28nm, the open-loop amplifier in the negative feedback op amp uses a rail-rail operational amplifier, and a common-mode suppression structure is set.

[0058] The differential negative feedback switched capacitor amplifier outputs the outn and outp voltages to the 12-bit SAR ADC, and finally completes the conversion to digital signals.

[0059] The above content is a further detailed description of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, without departing from the concept of the present invention, it can also make several substitutions or modifications to these described embodiments, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention. In the description of this specification, the description of the reference terms "an embodiment", "some embodiments", "preferred embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In the absence of mutual contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and modifications can be made herein without departing from the scope of protection of the patent application.

Claims

1. A SOC on-chip temperature sensor, characterized in that: It includes a temperature sensing circuit and an analog-to-digital converter. The temperature sensing circuit includes a temperature sampling module and an amplifier module. The temperature sampling module uses a PNP tube as a temperature measuring element to convert the monitored temperature information into a voltage signal related to the temperature. The amplifier module is provided with a common mode point. The voltage signal is amplified by the amplifier module and converted into a differential voltage signal through the common mode point setting of the amplifier module. The differential voltage signal is input into the analog-to-digital converter, and the analog-to-digital converter converts the differential voltage signal into a digital signal representing the temperature information.

2. The SOC on-chip temperature sensor according to claim 1, characterized in that: The analog-to-digital converter is a SAR ADC circuit, and the SAR ADC circuit converts the differential voltage signal into a digital signal representing temperature information by a successive approximation method.

3. The SOC on-chip temperature sensor according to claim 1 or 2, characterized in that: The temperature sampling module includes a current source and two PNP tubes. The current source applies two proportional currents to the two PNP tubes respectively. The voltage signal is the base-emitter voltage difference ΔV of the two PNP tubes. BE , which is linearly related to temperature.

4. The SOC on-chip temperature sensor according to claim 3, characterized in that: The current source comprises a current source array composed of a plurality of MOS tubes.

5. The SOC on-chip temperature sensor according to claim 4, characterized in that: The current source structure of the current source array adopts a cascode structure.

6. The SOC on-chip temperature sensor according to any one of claims 1 to 5, characterized in that: The temperature sampling module further comprises a dynamic matching circuit DEM, through which the current ratio error caused by device mismatch is periodically summed and averaged, and the current ratio is adjusted, thereby reducing the mismatch.

7. The SOC on-chip temperature sensor according to claim 6, characterized in that: Through the dynamic matching circuit, the errors in each cycle are summed and evenly distributed, and the calculation formula is as follows: n is the set current ratio, Δn j is the current ratio error in the jth cycle due to mismatch, ΔV BEj Because Δn j The error in the base-emitter voltage difference caused by the jth cycle, K is the Boltzmann constant, T is the absolute temperature, q is the electron charge, ΔV BE,ave is the average V after m cycles BE error.

8. The SOC on-chip temperature sensor according to any one of claims 1 to 7, characterized in that: The amplifier module is a differential negative feedback switched capacitor operational amplifier.

9. The SOC on-chip temperature sensor according to claim 8, characterized in that: The capacitance ratio of the differential negative feedback switched capacitor operational amplifier is 20 times, MOM capacitors are used, and the reference capacitance is 30fF.

10. The SOC on-chip temperature sensor according to claim 8, characterized in that: The differential negative feedback switched capacitor operational amplifier is an open-loop operational amplifier using a rail track and is provided with a common-mode suppression structure.