Low-power-consumption small-area on-chip temperature sensor based on MOS tube and method

By combining the CTAT and PTAT branches with a CMOS temperature sensor with a SAR ADC structure, the problem of unstable output under dynamic power supply is solved, and high-precision, low-power and small-area temperature measurement is achieved, making it suitable for industrial mass production and IoT devices.

CN120800576APending Publication Date: 2025-10-17ZHEJIANG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511087055.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-05
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

Existing CMOS temperature sensors have insufficient output voltage stability and linearity under dynamic power supply, causing the measurement results to deviate from the actual value, and the insufficient output dynamic range affects the accuracy and applicability.

Method used

The CTAT and PTAT branches are combined with the SAR ADC structure, and the NMOS tube is used to work in the subthreshold region to generate a voltage signal that varies with temperature. The signal is quantized through the successive approximation logic unit to reduce the error in the intermediate links and lower the circuit resource overhead.

Benefits of technology

The accuracy of the temperature sensor and the linearity of the output voltage are improved, power consumption and chip area are reduced, and subsequent processing is simplified. It is suitable for wide temperature range and high-precision application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120800576A_ABST
    Figure CN120800576A_ABST
Patent Text Reader

Abstract

The invention discloses a low-power-consumption small-area on-chip temperature sensor based on an MOS tube and a method thereof. Comprising a temperature sensing circuit and an analog-to-digital conversion circuit which are connected with each other, the temperature sensing circuit is used for generating a voltage signal related to the temperature and outputting the voltage signal to the analog-to-digital conversion circuit to achieve digital quantization of the temperature, and the output end of a CTAT branch is connected to the input end of a switched capacitor amplifier through a buffer. The output end of the switched capacitor amplifier is connected to the non-inverting input end of the comparator, the output end of the PTAT branch is connected to the inverting input end of the comparator, the output end of the comparator is connected with the input end of the successive approximation logic unit, and the output end of the successive approximation logic unit is connected to the switched capacitor amplifier. According to the temperature sensing circuit structure, the problem of power supply sensitivity existing when voltage is generated is effectively solved, reference signals do not need to be additionally generated in the quantization process, and the problem of error accumulation is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of CMOS temperature sensors, and in particular to a low-power small-area on-chip temperature sensor based on MOS tubes and a method thereof. BACKGROUND

[0002] As a bridge between the physical world and the information world, sensors play an indispensable role in modern production and life. Among them, temperature, as one of the most common and important physical quantities in nature, its accurate measurement has a fundamental and strategic role in the technical fields of industrial production process control, biomedical monitoring, intelligent environment perception, etc. Based on this, temperature sensors have become increasingly prominent in the strategic position in the fields of advanced manufacturing, intelligent medical treatment, etc. With the continuous reduction of semiconductor process size, the number of core modules in integrated circuits gradually increases, and the power density of on-chip increases significantly, and the heat problem inside the chip is becoming increasingly serious. In order to protect the working performance and reliability of the chip, a large number of on-chip temperature sensors need to be deployed to monitor the real-time temperature of different positions, so as to avoid the influence of local overheating on the performance of the chip or even cause the chip to be damaged. In addition, CMOS temperature sensors can also be used for parameter compensation of modules with high temperature sensitivity, reducing the error of the module with the change of the temperature environment, and further improving the overall reliability of the system. With the advantages of low cost, small size, high integration and good compatibility with standard CMOS digital process, CMOS temperature sensors have received widespread attention from academia and industry, and have become the mainstream choice in the fields of Internet of Things devices, automotive electronics, medical devices, etc.

[0003] CMOS temperature sensors are usually divided into three categories according to the sensing front end: (1) CMOS temperature sensors based on bipolar transistors (BJT); (2) CMOS temperature sensors based on resistance; (3) CMOS temperature sensors based on MOS tubes. CMOS temperature sensors based on BJT are the most mature type, which realize temperature sensing by utilizing the temperature characteristics of the voltage difference ΔV BE between the base and emitter of BJT. This type of CMOS temperature sensor has good output linearity and high measurement accuracy, and is widely used in industrial production scenarios. However, in order to obtain a higher temperature coefficient of the output voltage ΔV BE, the number of BJTs requiring two branches has a large proportion or the two branches pass different and large proportion of current. Meeting the first condition significantly increases the area of the temperature sensor, and meeting the second condition causes higher power consumption. The CMOS temperature sensor based on resistance has good output linearity. However, the process deviation of the resistor itself is large, and significant output error is easily introduced. In addition, the temperature coefficient of the resistance is a given parameter, which is difficult to change by design adjustment, bringing additional difficulty to the design of subsequent quantization circuits. The CMOS temperature sensor based on MOS usually works in the sub-threshold region, and uses the temperature characteristics of the MOS drain current to realize temperature sensing. In the sub-threshold working region, the order of magnitude of the MOS drain current is very small, which can meet the design requirement of ultra-low power consumption. Moreover, the design required area of the MOS as the sensing front end is relatively small, which is very suitable for design scenarios with high requirements for area and integration. In addition, the MOS is a basic device of the CMOS process, and its layout design is fully compatible with standard digital circuits without additional process layers. For the above three types of CMOS temperature sensors, domestic and foreign universities and research institutions have conducted in-depth research, and the related achievements have technical advantages in high precision, small area, low power consumption, low calibration cost, etc., and have shown unique applicability in different application fields.

[0004] In the design of the CMOS temperature sensor, the power supply sensitivity and the output dynamic range of the sensing front end are the key indicators affecting its performance: (1) In actual applications, with the introduction of the dynamic voltage and frequency scaling (DVFS) technology, the supply voltage will fluctuate due to the dynamic adjustment of the chip operating voltage and frequency by the system under different workloads. The core purpose of the DVFS technology is to balance performance and power consumption by increasing the voltage and frequency to meet the performance requirements under high load and reducing the voltage and frequency to save energy under low load. However, in the application scenario of the CMOS temperature sensor, if the output voltage of the sensing front end has a strong dependence on the supply voltage, the dynamic change of the supply voltage will directly affect the stability and linearity of the output voltage, causing the measurement result of the temperature sensor to deviate from the actual value, thereby reducing its reliability in actual applications. (2) The output dynamic range of the sensing front end directly determines the precision and applicability of the temperature sensor. If the output dynamic range is insufficient, there may be a situation where only a small change in the signal corresponding to each unit temperature change occurs, which greatly increases the design difficulty of the subsequent quantization circuit. At extreme temperatures, the temperature sensor may be saturated at a certain limit (such as the lowest or highest digital code), and cannot accurately represent the target temperature. This limitation will directly affect the performance of the temperature sensor in wide temperature range or high precision application scenarios. SUMMARY

[0005] The application provides a MOS transistor-based low-power small-area on-chip temperature sensor and method.

[0006] The application is realized by the following technical scheme:

[0007] The application comprises a temperature sensing circuit and an analog-digital conversion circuit connected to each other, the temperature sensing circuit is used for generating a temperature-related voltage signal and outputting the voltage signal to the analog-digital conversion circuit to realize digital quantization of temperature, the temperature sensing circuit mainly comprises a CTAT branch and a PTAT branch, the CTAT branch and the PTAT branch are respectively used for generating a voltage signal decreasing with temperature rise and a voltage signal increasing with temperature rise, the analog-digital conversion circuit comprises a buffer, a switched capacitor amplifier, a comparator and a successive approximation logic unit, an output end of the CTAT branch is connected to an input end of the buffer, an output end of the buffer is connected to an input end of the switched capacitor amplifier, an output end of the switched capacitor amplifier is connected to a non-inverting input end of the comparator, an output end of the PTAT branch is connected to an inverting input end of the comparator, an output end of the comparator is connected to an input end of the successive approximation logic unit, and an output end of the successive approximation logic unit is connected to the switched capacitor amplifier, so as to provide a digital code for bit-by-bit approximation and thereby control an amplification gain of the switched capacitor amplifier.

[0008] The switched capacitor amplifier comprises a sampling capacitor C1, a fixed capacitor C 2_BASE , a capacitor array C ARRAY , an operational amplifier, four clock control switches and a capacitor array selection switch, the output end of the buffer is connected to an inverting input end of the operational amplifier through the sampling capacitor C1, a non-inverting input end of the operational amplifier is grounded, the inverting input end of the operational amplifier is connected to an output end of the operational amplifier through the fixed capacitor C 2_BASE and a second control switch in sequence, the output end of the operational amplifier is connected to a non-inverting input end of the comparator through the second control switch, one end of the sampling capacitor C1 connected to the output end of the buffer is grounded through a first control switch, the other end of the sampling capacitor C1 is grounded through a third control switch, one end of the fixed capacitor C 2_BASE connected to the second control switch is grounded through a fourth control switch.

[0009] The capacitor array C ARRAY is connected in parallel with the sampling capacitor C1 or the fixed capacitor C 2_BASE through the capacitor array selection switch, the capacitor array selection switch is controlled by a digital code output from the output end of the successive approximation logic unit, so as to control the amplification gain of the switched capacitor amplifier.

[0010] The capacitor array C ARRAYMainly consists of 8 capacitor value array of capacitor unit configured by binary multiples, each capacitor unit array is connected with the respective single-pole double-throw switch, each capacitor unit array is selectively connected with sampling capacitor C1 or fixed capacitor C 2_BASE Parallel, all single-pole double-throw switches collectively constitute a capacitor array selection switch, and the single-pole double-throw switch of each capacitor unit array is connected with a successive approximation logic unit and controlled by the digital code output by the successive approximation logic unit.

[0011] The PTAT branch includes a first MOS transistor M1, a second MOS transistor M2, a third MOS transistor M3, and a fourth MOS transistor M4. The drain of the first MOS transistor M1 is connected to a power supply terminal VDD. The source of the first MOS transistor M1, the drain and gate of the second MOS transistor M2 are connected to the drain of the third MOS transistor M3. The gate of the first MOS transistor M1, the source of the second MOS transistor M2, and the source of the fourth MOS transistor M4 are grounded. The source and gate of the third MOS transistor M3 and the drain and gate of the fourth MOS transistor M4 are connected to the inverting input terminal of the comparator.

[0012] The CTAT branch includes a fifth MOS transistor M5, a sixth MOS transistor M6, a seventh MOS transistor M7, and an eighth MOS transistor M8. The drain of the fifth MOS transistor M5 is connected to the power supply terminal VDD. The source of the fifth MOS transistor M5, the drain and gate of the sixth MOS transistor M6 are connected to the drain of the seventh MOS transistor M7. The gate of the fifth MOS transistor M5, the source of the sixth MOS transistor M6, the gate of the seventh MOS transistor M7, and the source of the eighth MOS transistor M8 are grounded. The source of the seventh MOS transistor M7, the drain and gate of the eighth MOS transistor M8 are connected to the input terminal of the buffer.

[0013] The clock generation module is electrically connected with the buffer, the switched capacitor amplifier, the comparator, and the successive approximation logic unit, respectively, for outputting a plurality of clock signals to control the buffer, the switched capacitor amplifier, the comparator, and the successive approximation logic unit to work in a preset time sequence.

[0014] The temperature sensing method of the temperature sensor includes the following steps:

[0015] S1, the CTAT branch and the PTAT branch respectively sense the temperature and output a CTAT output voltage and a PTAT output voltage;

[0016] S2, the CTAT output voltage is input to the buffer for voltage buffering processing, and then the buffered voltage is input to the switched capacitor amplifier for sampling and amplification according to a preset time sequence to obtain a CTAT amplified voltage, and then the CTAT amplified voltage is input to the non-inverting input terminal of the comparator;

[0017] S3, input the PTAT output voltage as a quantization reference voltage to the inverting input terminal of the comparator, and then compare it with the CTAT amplified voltage to obtain a comparison result;

[0018] S4, input the comparison result to the successive approximation logic unit to complete the current bit judgment and obtain an updated digital code, and feed back the updated digital code to the switched capacitor amplifier to control the access state of each capacitor array in the capacitor array, so as to update the amplification gain of the switched capacitor amplifier;

[0019] S5, resample the CTAT output voltage and amplify it through the updated amplification gain of the switched capacitor amplifier, and then compare it with the PTAT output voltage to obtain an updated comparison result, and then input it to the successive approximation logic unit to execute step S4 in a loop until the digital code completes all bit judgments, and the successive approximation logic unit outputs the final digital code.

[0020] The MOS tubes in the CTAT branch and the PTAT branch are all NMOS tubes and all work in the sub-threshold region, the first MOS tube M1, the fifth MOS tube M5 and the seventh MOS tube M7 are all native NMOS tubes.

[0021] The PTAT output voltage and the CTAT output voltage are set according to the following formula:

[0022]

[0023] Wherein, γ' is a linear system constant, γ' = 2qε si N sub / C ox , η is a drain-induced barrier lowering coefficient, m is a sub-threshold swing, m = (1 + C d / C ox ), C d is the depletion layer capacitance, C ox is the gate oxide capacitance, V TH is the threshold voltage, V DD is the power supply voltage, V T is the thermal voltage, V T = kT / q, k is the Boltzmann constant, T represents the temperature, q is the charge amount of an electron, and W is the channel width.

[0024] The final digital code is set according to the following formula:

[0025]

[0026] Wherein, D OUTA represents the decimal value of the digital code representing the final output, A represents the linear slope of the PTAT voltage with temperature, C represents the linear slope of the CTAT voltage with temperature, A = -C, B and D represent the voltage values of the PTAT voltage and the CTAT voltage at 0℃ respectively, C2 represents a holding capacitor, C2 = C 2_BASE +C ARRAY , C 2_BASE represents a fixed capacitor, C ARRAY represents the sum of the array capacitances of all the capacitor cells of the capacitor array, C1 represents a sampling capacitor, T represents temperature, C u represents the unit capacitance of the capacitor array C ARRAY .

[0027] The beneficial effects of the present application are:

[0028] (1) The present application proposes a voltage modulator composed of a Native NMOS transistor working in the sub-threshold region and an NMOS transistor working in the sub-threshold region in series, which effectively reduces the power sensitivity problem existing in the generation of PTAT and CTAT voltages in the sensing front end. At the same time, the use of the Native NMOS transistor can realize a larger V SUPPLY in the same area, thereby better realizing the linearity of the output voltage. In addition, all the transistors in the voltage modulator and the PTAT and CTAT generation circuit work in the sub-threshold region, which fully utilizes the low-power consumption characteristics of the MOS transistor in the sub-threshold region and fully matches the needs of the ultra-low power consumption application scenario.

[0029] (2) The present application proposes a brand-new quantization scheme, which directly uses the generated PTAT and CTAT voltages to complete the quantization process in combination with the SAR, without the need for additional generation of reference signals, thereby fundamentally avoiding the error accumulation problem caused by the intermediate link, reducing the overhead of circuit resources, and significantly improving the accuracy of the system. In this scheme, the least significant bit (LSB) is defined as: near the ideal output digital code, the output voltage of the switched capacitor amplifier changes by one bit, and the LSB increases with the rise of temperature, thereby increasing the thermal noise tolerance of the comparator and the tolerance to circuit leakage at high temperature. Compared with a 9-bit temperature sensor achieving the same accuracy, this scheme uses an 8-bit SAR ADC structure for quantization, reduces the quantization period, and greatly reduces the cost of the capacitor array. In addition, this scheme splits the holding capacitor C2 into a fixed capacitor C 2_BASE and a capacitor array C ARRAY , and multiplexes the capacitor array C ARRAYThe realization of successive approximation logic effectively saves the chip area and reduces the manufacturing cost. On this basis, by reasonably adjusting the size of each transistor in the inductive front end, the temperature coefficients of PTAT and CTAT meet the design requirements, so that the output digital code and temperature will present a good linear relationship, avoiding the use of complex nonlinear calibration algorithm or lookup table, and further simplifying the subsequent processing process. BRIEF DESCRIPTION OF DRAWINGS

[0030] Figure 1 The system circuit structure diagram of the temperature sensor of the application is shown in the figure.

[0031] Figure 2 The timing diagram of the single temperature quantization period of the temperature sensor of the application is shown in the figure.

[0032] Figure 3 The circuit structure diagram of the temperature sensing circuit in the application is shown in the figure.

[0033] Figure 4 The power supply sensitivity diagram of the temperature sensing circuit in the application is shown in the figure.

[0034] Figure 5 The Monte Carlo simulation diagram of the output of the temperature sensing circuit in the application is shown in the figure.

[0035] Figure 6 The output digital code diagram of the temperature sensor in the application in the temperature range is shown in the figure.

[0036] Figure 7 The relationship curve diagram between the LSB of the temperature sensor in the application and the temperature is shown in the figure.

[0037] Figure 8 The calibration scheme diagram of the comparator in the application is shown in the figure.

[0038] Figure 9 The three-dimensional structure diagram of the unit capacitance in the capacitance array in the application is shown in the figure.

[0039] Figure 10 The core circuit layout of the temperature sensor in the application is shown in the figure.

[0040] Figure 11 The energy consumption pie chart of the temperature sensor in the application is shown in the figure.

[0041] Figure 12 The temperature error diagram of the temperature sensor in the application after two-point calibration under different process angles is shown in the figure.

[0042] Figure 13 The temperature error diagram of the temperature sensor in the application under different power supply voltages is shown in the figure. DETAILED DESCRIPTION

[0043] The application will be further described in detail below in combination with the drawings and specific embodiments.

[0044] As shown in Figure 1 , the embodiment includes a temperature sensing circuit and an analog-to-digital conversion circuit connected to each other, the temperature sensing circuit is used to generate a temperature-related voltage signal and output to the analog-to-digital conversion circuit to realize digital quantization of temperature, the temperature sensing circuit mainly consists of a CTAT branch and a PTAT branch, the CTAT branch and the PTAT branch are respectively used to generate a voltage signal that decreases with the increase of temperature and a voltage signal that increases with the increase of temperature, the analog-to-digital conversion circuit includes a buffer, a switched capacitor amplifier, a comparator and a successive approximation logic unit, the output end of the CTAT branch is connected to the input end of the buffer, the output end of the buffer is connected to the input end of the switched capacitor amplifier, the output end of the switched capacitor amplifier is connected to the non-inverting input end of the comparator, the output end of the PTAT branch is connected to the inverting input end of the comparator, the output end of the comparator is connected to the input end of the successive approximation logic unit, and the output end of the successive approximation logic unit is connected to the switched capacitor amplifier, which is used to provide a digital code for bit-by-bit approximation, and the amplification gain of the switched capacitor amplifier is controlled by controlling the access relationship between the capacitor array and the switched capacitor amplifier.

[0045] The buffer and the switched capacitor amplifier both adopt a folded common-source common-gate amplifier structure.

[0046] The switched capacitor amplifier includes a sampling capacitor C1, a fixed capacitor C 2_BASE , a capacitor array C ARRAY , an operational amplifier, four clock control switches and a capacitor array selection switch, the output end of the buffer is connected to the inverting input end of the operational amplifier through the sampling capacitor C1, the non-inverting input end of the operational amplifier is grounded, the inverting input end of the operational amplifier is connected to the output end of the operational amplifier in sequence through the fixed capacitor C 2_BASE and the second control switch, the output end of the operational amplifier is connected to the non-inverting input end of the comparator through the second control switch, one end of the sampling capacitor C1 connected to the output end of the buffer is grounded through the first control switch, the other end of the sampling capacitor C1, i.e. one end connected to the inverting input end of the operational amplifier, is grounded through the third control switch, and one end of the fixed capacitor C 2_BASE connected to the second control switch is grounded through the fourth control switch; the first control switch and the second control switch are both switches controlled by the clock signal Φ2, and the third control switch and the fourth control switch are both switches controlled by the clock signal Φ1.

[0047] The capacitor array C ARRAY is connected in parallel with the sampling capacitor C1 or the fixed capacitor C 2_BASE through the capacitor array selection switch, and the selection switch of the capacitor array is controlled by the digital code output from the output end of the successive approximation logic unit, so as to determine whether the capacitor array is connected in parallel with the sampling capacitor C1 or the fixed capacitor C 2_BASEParallel, and change the amplification gain of the switched capacitor amplifier.

[0048] Capacitor array C ARRAY Mainly composed of 8 capacitor value array of capacitor unit arranged in binary multiples, each capacitor unit array is connected with the respective single pole double throw switch, each capacitor unit array is selectively connected in parallel through the respective single pole double throw switch on both ends of the sampling capacitor C1 or fixed capacitor C 2_BASE , all single pole double throw switch constitutes a capacitor array selection switch, each capacitor unit array single pole double throw switch is connected with the successive approximation logic unit, controlled by the digital code output by the successive approximation logic unit, each digit in the digital code output by the successive approximation logic unit corresponds to the control of the single pole double throw switch of a capacitor unit array, to indicate that its corresponding capacitor unit array is connected in parallel to the sampling capacitor C1 or the fixed capacitor C 2_BASE Each unit array is composed of a corresponding unit capacitor.

[0049] In this embodiment, the digital code has eight digits, and the capacitor array C ARRAY includes 8 capacitor unit arrays with capacitor values of 20 to 27, each capacitor unit array is selectively connected in parallel through the respective single pole double throw switch on both ends of the sampling capacitor C1 or fixed capacitor C 2_BASE , each digit code corresponds to the control of a capacitor unit array, and the 0 or 1 of the digital code determines whether the capacitor unit array corresponding to the digital code is connected in parallel to the fixed capacitor C 2_BASE Or both ends of the sampling capacitor C1.

[0050] The comparator module includes a tail current biased dynamic comparator and a capacitor array for calibration.

[0051] As shown in Figure 3 , the PTAT branch includes a first MOS transistor M1, a second MOS transistor M2, a third MOS transistor M3 and a fourth MOS transistor M4, the drain of the first MOS transistor M1 is connected with the power supply end VDD, the source of the first MOS transistor M1, the drain and gate of the second MOS transistor M2 are all connected with the drain of the third MOS transistor M3, the gate of the first MOS transistor M1, the source of the second MOS transistor M2 and the source of the fourth MOS transistor M4 are all grounded, the source and gate of the third MOS transistor M3 and the drain and gate of the fourth MOS transistor M4 are all connected to the inverting input end of the comparator.

[0052] In general, the first NMOS transistor M1 and the second NMOS transistor M2 in the PTAT branch constitute a voltage modulator, which provides a bias voltage for the 2T structure composed of the third NMOS transistor M3 and the fourth NMOS transistor M4, and generates and outputs a PTAT voltage through the 2T structure of M3 and M4.

[0053] AsFigure 3 As shown, the CTAT branch includes a fifth MOS transistor M5, a sixth MOS transistor M6, a seventh MOS transistor M7, and an eighth MOS transistor M8. The drain of the fifth MOS transistor M5 is connected to the power supply terminal VDD, the source of the fifth MOS transistor M5, the drain and the gate of the sixth MOS transistor M6 are all connected to the drain of the seventh MOS transistor M7, the gate of the fifth MOS transistor M5, the source of the sixth MOS transistor M6, the gate of the seventh MOS transistor M7, and the source of the eighth MOS transistor M8 are all grounded, and the source of the seventh MOS transistor M7, the drain and the gate of the eighth MOS transistor M8 are all connected to the input terminal of the buffer.

[0054] In general, the fifth NMOS transistor M5 and the sixth NMOS transistor M6 form a voltage modulator, which provides a bias voltage for the 2T structure composed of the seventh NMOS transistor M7 and the eighth NMOS transistor M8, and generates and outputs a CTAT voltage through the 2T structure of M7 and M8.

[0055] like Figure 2 As shown, the temperature sensor also includes a clock generation module, which is electrically connected to the buffer, the switched capacitor amplifier, the comparator and the successive approximation logic unit, and is used to output multiple clock signals (Φ1, Φ2, Φ2_ DELAY , CLK CHOP , CLK NOTCH ), respectively controlling the buffer, switched capacitor amplifier, comparator and successive approximation logic unit to operate according to a preset timing.

[0056] This embodiment can also be divided into analog circuit modules and digital circuit modules, where the module type is distinguished by whether it is connected to analog ground or digital ground. The analog circuit module includes: PTAT voltage generation module, CTAT voltage generation module, buffer, switched capacitor amplifier and comparator. The digital circuit module includes: divider and clock generation module, successive approximation logic control circuit, calibration module. Each module of the digital circuit is controlled by a different clock signal. The present invention only introduces a high-frequency clock signal CLK from the outside. 16F The remaining required clock signals are generated on-chip through the frequency divider and clock generation module. The successive approximation logic control circuit has three groups of D flip-flops. The first and second groups of D flip-flops complete the successive approximation process: first, the highest bit is set to 1, and then the bit is determined to remain at 1 or reset to 0 based on the result of the comparator. After quantization is completed, the third group of D flip-flops is used to convert the generated parallel digital code into a serial digital code D OUTThe calibration module is activated before testing and does not require re-activation after calibration to enter the quantization process. An external calibration enable signal is input, turning on the calibration module and latching the pre-calibration comparator output. Using various logic gates, the calibration module incrementally adds capacitance to the comparator's pre-amplifier output to determine if the comparator output changes. Calibration is considered complete if a change occurs within the specified number of bits. If the comparator remains unchanged after all bits are set, the counter stops counting and calibration is also considered complete.

[0057] The temperature measurement method of the temperature sensor includes the following steps:

[0058] S1, CTAT branch and PTAT branch respectively sense temperature and output CTAT output voltage and PTAT output voltage that change with temperature;

[0059] S2. To increase the driving capability of the CTAT voltage, the CTAT output voltage is input to a buffer for voltage buffering. The buffered voltage is then sent to a switched capacitor amplifier for sampling and amplification according to a timing preset by a clock generation module to obtain a CTAT amplified voltage. The CTAT amplified voltage is then input to the non-inverting input of the comparator.

[0060] S3, connecting the PTAT output voltage as a quantization reference voltage to the inverting input terminal of the comparator, and then comparing it with the CTAT amplified voltage to obtain a comparison result;

[0061] S4, inputting the comparison result into the successive approximation logic unit to complete the current bit judgment and obtain an updated digital code, and feeding the updated digital code back to the switched capacitor amplifier to adjust the access state of each capacitor unit array in the capacitor array, thereby updating the amplification gain of the switched capacitor amplifier;

[0062] The access status of each capacitor unit array refers to determining whether each capacitor unit array is connected in parallel to the sampling capacitor C1 or the fixed capacitor C 2_BASE The two ends of each capacitor unit array are determined to be connected to the sampling capacitor C1 or the fixed capacitor C 2_BASE in parallel.

[0063] S5. The CTAT output voltage is resampled and amplified by the updated switched capacitor amplifier gain, and then compared with the PTAT output voltage to obtain an updated comparison result, which is then input into the successive approximation logic unit to loop through step S4 until all bits of the digital code are judged. The successive approximation logic unit outputs the final digital code, and different digital codes represent different temperature values.

[0064] Bit determination specifically refers to determining the value (0 or 1) of each bit of the digital code during the successive approximation process. This involves comparing the input voltage with a reference voltage using a comparator. Based on the comparison result, the capacitor controlled by the current bit is connected to the circuit, and the value of that bit is then updated. This process begins with the highest bit and continues sequentially until all bits are updated and determined.

[0065] The MOS transistors in the CTAT branch and the PTAT branch are all NMOS transistors and operate in the subthreshold region. The first MOS transistor M1 , the fifth MOS transistor M5 and the seventh MOS transistor M7 are all Native NMOS transistors (depletion-mode NMOS transistors).

[0066] The PTAT output voltage and CTAT output voltage are set according to the following formula:

[0067]

[0068] Among them, the above parameters include process parameters as follows: γ' is the linear system coefficient, γ'=2qε si N sub / C ox , η is the drain-induced barrier lowering coefficient, m is the subthreshold swing, m=(1+C d / C ox ), C d is the depletion layer capacitance, C ox is the gate oxide capacitance, V TH is the threshold voltage, V DD is the supply voltage, V T is the thermal voltage, V T =kT / q, where k is the Boltzmann constant, T represents temperature, and q is the charge of the electron, which is linearly related to the temperature T. The above parameters also include design parameters as follows: W and L are design parameters of the transistor, W is the channel width, and L is the channel width.

[0069] The process parameters in the PTAT output voltage and CTAT output voltage formulas are fixed constant values, and the design parameters are also fixed values ​​after they are determined. T = kT / q is affected by the temperature T, according to V T Different coefficients can be obtained, and the PTAT voltage and CTAT voltage have a good linear relationship with temperature.

[0070] The final digital code is set according to the following formula:

[0071]

[0072] Among them, D OUTA represents the decimal value of the digital code representing the final output, A represents the linear slope of the PTAT voltage with temperature, C represents the linear slope of the CTAT voltage with temperature, and the condition A = -C is satisfied, B and D respectively represent the voltage values of the PTAT voltage and the CTAT voltage at a temperature of 0℃, C2 represents a holding capacitor, C2 = C 2_BASE +C ARRAY , C ARRAY before the start of unquantization 2_BASE All in parallel, that is, C2 represents the capacitor value equal to the capacitor value of C 2_BASE plus the sum of all capacitor array capacitor values of 8, C1 represents a sampling capacitor, T represents a temperature, C u represents the unit capacitor of the capacitor array C ARRAY .

[0073] Wherein, the relationship between the PTAT and CTAT voltages and the temperature is only related to the process parameters and adjustable design parameters, when the design parameters are determined, the PTAT voltage and the CTAT voltage have a good linear relationship with the temperature, so the PTAT voltage can be set as V PTAT = AT + B, the CTAT voltage is V CTAT = CT + D, and A = -C is designed when designing the PTAT and CTAT branches; the value of the output serial digital code converted from binary to decimal can be represented as D OUT , which can be represented as above by the PTAT voltage, the CTAT voltage, the sampling capacitor C1, the holding capacitor C2, the unit capacitor C ARRAY of the capacitor array C u , and the measured temperature T.

[0074] The formula represents that the final digital code is converted from binary to decimal value.

[0075] In summary, the embodiment uses a series structure composed of a Native NMOS transistor working in the sub-threshold region and an NMOS transistor working in the sub-threshold region as a voltage modulator, the output voltage of which is used as a bias voltage, which is connected with the circuit structure for generating PTAT and CTAT to generate PTAT and CTAT voltages. The structure effectively reduces the power sensitivity problem and expands the output dynamic range. In addition, the application proposes a quantization scheme on the basis of the successive approximation logic unit type analog-to-digital converter (SAR ADC) architecture. The scheme splits the holding capacitor C2 of the switched capacitor amplifier into a fixed capacitor C 2_BASE and a capacitor array C ARRAY, the successive approximation logic switches the capacitance array of different bit numbers from being connected in parallel with the holding capacitance C2 to being connected in parallel with the sampling capacitance CI. By adjusting the sampling capacitance to holding capacitance ratio, the CTAT voltage gradually approaches the PTAT voltage, and finally the quantization of the CTAT voltage at different temperatures is completed.

[0076] The temperature sensor is specifically designed according to the following steps:

[0077] (1) Two NMOS transistors working in the sub-threshold region, one of which has its gate and source connected, and is connected in series with another NMOS transistor having its gate and drain connected through its source. The sub-threshold current formulas of the two transistors are combined, and the PTAT voltage is obtained by adjusting the length and width dimensions of the transistors. One Native NMOS transistor working in the sub-threshold region and one NMOS transistor working in the sub-threshold region, wherein the gate of the Native NMOS transistor is connected to ground, and is connected in series with an NMOS transistor having its gate and drain connected through its source. The sub-threshold current formulas of the two transistors are combined, and the CTAT voltage is obtained by adjusting the length and width dimensions of the transistors;

[0078] (2) One Native NMOS transistor working in the sub-threshold region has its gate connected to ground, and is connected in series with one NMOS transistor working in the sub-threshold region having its gate and drain connected through its source. This structure is called a voltage modulator. The sub-threshold current formulas of the two transistors are combined, and the voltage output from the source of the Native NMOS transistor is obtained by adjusting the length and width dimensions of the transistors;

[0079] (3) Two step (2) voltage modulator circuits are built, and two different output voltages are generated by adjusting the length and width dimensions of the transistors in each circuit. These two output voltages are used as bias voltages for generating PTAT and CTAT voltages in step (1), thereby realizing the generation of PTAT and CTAT voltages.

[0080] All MOS transistors work in the sub-threshold region, and the sub-threshold current equation considering body effect and DIBL is modeled as follows:

[0081]

[0082] where μ0 is the carrier mobility, C ox is the gate oxide capacitance, W and L are the design parameters of the transistor, W is the channel width, L is the channel width, V T =kT / q is the thermal voltage, k is the Boltzmann constant, T represents temperature, q is the charge amount of an electron, m=(1+C d / C ox ) is the sub-threshold swing, C d is the depletion layer capacitance, γ' = 2qε si Nsub / C ox is a linear system number, η is a leakage barrier reduction coefficient, V TH is a threshold voltage.

[0083] The source of the Native NMOS tube in the voltage modulator is used as the voltage bias of the temperature sensing module, and is connected to the drain of the NMOS tube of the temperature sensing module. For the node connected by the voltage modulator and the temperature sensing module, the KCL equation is written through the sub-threshold current formula as follows:

[0084]

[0085] Since VDD-V SUPPLY , V SUPPLY and V PTAT are all greater than 3V T , the term can be ignored. Similarly, in M3, the same condition V SUPPLY -V PTAT > 3V T is satisfied, so that the first term on the right side of the equation is much larger than the second term, and the formula is further arranged as follows:

[0086]

[0087] From the overall working principle of the voltage modulator and the PTAT generating circuit, the formula of the output voltage of the voltage modulator is:

[0088]

[0089] where γ' = 2qε si N sub / C ox is a linear system number, η is a leakage barrier reduction coefficient, m = (1 + C d / C ox ) is a sub-threshold swing, C d is a depletion layer capacitance, C ox is a gate oxide layer capacitance, W and L are design parameters of the transistor, W is a channel width, L is a channel width, V T = kT / q is a thermal voltage, k is a Boltzmann constant, T represents temperature, q is the charge amount of an electron, V TH is a threshold voltage, and V DD is a power supply voltage.

[0090] For the temperature sensing module branch, the equation can also be written as follows through the sub-threshold current formula:

[0091]

[0092] The formula of the generated PTAT voltage is as follows by combining the voltage modulator output formula and the formula of the temperature sensing module:

[0093]

[0094] It can be obtained from the above formula that the coefficient before VDD is:

[0095]

[0096] It is proved that the structure more effectively reduces the power sensitivity of the sensing front end. The conventional structure commonly uses two NMOS tubes in series as a 2T structure as a voltage modulator, but the output range of the structure is small. In order to increase the dynamic range while maintaining good linearity, according to the above formula condition, it is necessary to ensure that V SUPPLY is increased. It is assumed that V SUPPLY is realized by increasing the W of M1 tube in the voltage modulator, which will cause considerable area overhead. It is assumed that V SUPPLY is realized by reducing the L of M1 tube in the voltage modulator, but when the channel length L is reduced, the distance between the drain and the source is shortened, and the drain field is more likely to penetrate the channel, reducing the source area barrier. It can be concluded that the shorter the channel, the stronger the drain barrier reduction effect, and the larger the η (DIBL coefficient). According to the above formula, when η increases, it will seriously affect the power sensitivity of the generated PTAT voltage. Therefore, M1 in the voltage modulator is replaced by a Native NMOS tube, which can realize a larger V SUPPLY value under the same order of magnitude of area, thereby satisfying the condition V SUPPLY -V PTAT > 3V T . The L of M1 tube can be designed to be larger to obtain a smaller η, further reducing the power sensitivity of the sensing front end.

[0097] Similarly, from the overall working principle of the voltage modulator and the CTAT generating circuit, the formula of the voltage modulator output voltage is:

[0098]

[0099] The formula of the generated CTAT voltage is:

[0100]

[0101] (4) The PTAT voltage generated in step (3) is connected to the inverting input terminal of the comparator as a quantization reference voltage;

[0102] (5) The CTAT voltage generated in step (3) is connected to the buffer;

[0103] (6) In order to reduce the influence of the buffer misadjustment on the output CTAT voltage in step (5), a chopping switch is introduced at the input end of the buffer and inside the buffer, and the sampling switch of the subsequent quantization circuit is multiplexed to realize the functions of chopping and filtering;

[0104] (7) The output voltage after the chopping and filtering in step (6) is connected to the inverting input end of the switched capacitor amplifier as the input signal to be quantized;

[0105] (8) During the high level period of the sampling clock signal φ1, the input signal in step (7) is sampled and held to a stable voltage by the sampling capacitor C1;

[0106] (9) The hold clock signal φ2 is a non-overlapping clock with φ1, and during the high level period of φ2, the stable voltage in step (8) is amplified by the switched capacitor non-inverting amplifier, and the amplified voltage is input to the non-inverting input end of the comparator;

[0107] Assuming that the CTAT voltage is V CTAT = CT+D, the sampling capacitor is C1, the hold capacitor is C2, and the fixed capacitor C 2_BASE and the capacitor array C ARRAY The relationship between C2 and C

[0108] C2 = C 2_BASE + C ARRAY

[0109] The amplified voltage V OUT can be expressed as:

[0110]

[0111] (10) Before the quantization starts, i.e. when the capacitor array is in the unquantized state, the upper plate of the capacitor array is connected to the inverting input end of the switched capacitor amplifier, and the lower plate is connected to the output end of the switched capacitor amplifier, which is equivalent to being connected in parallel with the fixed capacitor C2 BASE ;

[0112] (11) When φ2 is switched from high level to low level, the comparator inputs the comparison result to the successive approximation logic unit, and the digital signal generated thereby controls the capacitor array in step (10) to switch the corresponding bit capacitor from being connected in parallel with C2 to being connected in parallel with C1;

[0113] (12) Step (11) is repeatedly executed until the conversion of all bits is completed. In step (3), the relationship between the PTAT and CTAT voltages and temperature is only related to the process parameters and adjustable design parameters, and when the design parameters are determined, the PTAT voltage and the CTAT voltage have a good linear relationship with temperature, so the PTAT voltage can be set as V PTAT = AT+B, and the CTAT voltage is VCTAT = CT + D; the holding capacitor C2 is composed of a fixed capacitor C 2_BASE and a capacitor array C ARRAY in parallel with it. The output serial digital code is converted from binary to decimal value, which can be represented as D OUT , which can be represented by PTAT voltage, CTAT voltage, sampling capacitor C1, holding capacitor C2, unit capacitance C ARRAY of the capacitor array C u and the measured temperature T as:

[0114]

[0115] D OUT has a linear relationship with temperature:

[0116]

[0117] (13) In order to reduce the offset voltage of the comparator, an external input calibration enable signal is input before quantization, the two input ends of the comparator are short-circuited, the digital circuit latches the output result of one end of the comparator before calibration, the capacitors are added bit by bit at the preamplifier output end of the comparator, it is judged whether the output result of the comparator changes or not, if the change occurs within the specified number of bits, the calibration is completed, if the comparator still does not change after all bits are set, the counter no longer circulates, and the same is regarded as completing the calibration.

[0118] In the embodiment, in order to illustrate the actual engineering value of the method and the ability to meet the industrial demand, a low-power small-area on-chip temperature sensor based on MOS tubes is designed according to the scheme of the application. The performance indicators of the temperature sensor are evaluated by using the mainstream EDA tool Cadence in the industry to simulate and verify the temperature sensor. As an EDA simulation software with a high market share in the field of integrated circuit design, Cadence is widely used in the design and verification of chips. The following table is the simulation performance of the designed temperature sensor:

[0119]

[0120]

[0121] Figure 1The system circuit structure schematic diagram of the temperature sensor of the present application. Consists of the following six modules: (1) temperature sensing front end, using the Native NMOS and Standard NMOS working in the sub-threshold region, respectively generating PTAT and CTAT voltage; (2) buffer, increasing the driving ability of the CTAT voltage, and in order to reduce the influence of the buffer offset on the output CTAT voltage, adding the chopping technology; (3) switched capacitor amplifier, under the control of φ1 and φ2, completing the sampling and holding of the CTAT voltage, and through the different connection relationship of C1, C 2_BASE and C ARRAY , completing the amplification of the CTAT voltage; (4) comparator, comparing the V OUT amplified after the CTAT voltage and the PTAT voltage, and outputting the comparison result under the falling edge of φ2; (5) successive approximation logic module receiving the comparison result under the falling edge of φ2, and outputting the control signal D 2_DELAY <7:0> when the control clock φ OUT comes; (6) C ARRAY , connecting SWITCH<7:0>, the switch array being controlled by the digital signal D OUT <7:0>, deciding to be connected in parallel with C1 or C 2_BASE .

[0122] Figure 2 The timing diagram of the single temperature quantization period of the temperature sensor of the present application. The whole quantization process consists of 10 clock periods, and the reset stage is the first clock period. After the reset is completed, the 8 quantization periods (the 2nd to the 9th clock periods) are entered, the successive approximation logic module controls the output signal D OUT <7:0>, realizing the quantization of the input signal. In the last period, all the digital codes are confirmed. Among them, φ1 is the sampling clock, φ2 is the holding clock; φ 2_DELAY is the start clock of the successive approximation logic module; CLK CHOP and CLK NOTCH are the chopping clock and the filtering clock respectively. In the design of the timing, φ 2_DELAY needs to have a certain delay with φ2, and the delay time should be greater than the comparison result establishment time; φ1 and φ2 are two-phase non-overlapping clocks; the frequency of CLK CHOP and CLK NOTCH is 4 times of the other three clocks, and the phase difference of CLK NOTCH and CLK CHOP is one fourth of the period itself, ensuring that two times of chopping and filtering can be completed in the sampling process, thereby reducing the influence of the buffer offset on the output CTAT voltage.

[0123] Figure 3The figure is the circuit structure of the sensing front end in the application. The left structure generates PTAT voltage, and the right structure generates CTAT voltage. The PTAT voltage generation module is composed of four MOS tubes. The first Native NMOS tube M1 and the second NMOS tube M2 constitute a voltage modulator, provide a bias voltage for the 2T structure composed of the third NMOS tube M3 and the fourth NMOS tube M4, generate PTAT voltage through the 2T structure of M3 and M4, and output. The CTAT voltage generation module is composed of four MOS tubes. The first Native NMOS tube M5 and the second NMOS tube M6 constitute a voltage modulator, provide a bias voltage for the 2T structure composed of the third Native NMOS tube M7 and the fourth NMOS tube M8, generate CTAT voltage through the 2T structure of M7 and M8, and output. M1-M8 all work in the sub-threshold region.

[0124] Figure 4 The figure is the power supply sensitivity diagram of the sensing front end in the application. It shows that when the power supply voltage changes in the range of 0.8V-1.3V, the PTAT voltage changes by 260μV, and the CTAT voltage changes by 170μV.

[0125] Figure 5 The figure is the Monte Carlo simulation diagram of the output of the sensing front end in the application. The upper figure is the 200 times Monte Carlo simulation result of the PTAT voltage changing with temperature, and the lower figure is the 200 times Monte Carlo simulation result of the CTAT voltage changing with temperature. From the result, it can be seen that the linearity of PTAT and CTAT voltage with temperature is good.

[0126] Figure 6 The figure is the output digital code diagram of the temperature sensor in the temperature range in the application. From the figure, it can be seen that the output decimal digital code has a linear relationship with temperature.

[0127] Figure 7 The figure is the relationship curve diagram between the LSB of the temperature sensor in the application and temperature. The application defines the LSB as the output voltage change amount of the switched capacitor amplifier when the digital code changes by one bit. It can be seen from the figure that the LSB increases with the rise of temperature, which increases the thermal noise tolerance of the comparator.

[0128] Figure 8This diagram illustrates the comparator calibration scheme used in the present invention. When the external calibration enable signal, CALI, is input, SWITCH2 closes and SWITCH1 opens, shorting the preamplifier's non-inverting and inverting inputs. This latches the pre-calibration comparator output and determines which preamplifier output terminal the compensation capacitor should be connected to. The capacitance is incrementally increased at the selected input terminal to determine whether the comparator output changes. Calibration is considered complete if a change occurs within the specified number of bits. If the comparator remains unchanged after all bits are set, the counter stops counting and calibration is also considered complete.

[0129] Figure 9 This is a schematic diagram of the three-dimensional structure of a unit capacitor in the capacitor array of the present invention. This capacitor is a shielded multilayer sandwich capacitor, sharing the third through seventh metal layers. The fourth and sixth metal layers serve as the top plate, while the third, fifth, and seventh metal layers wrap around the top plate as the bottom plate. The first metal layer serves as a shielding layer. The unit capacitor has a capacitance of approximately 1 fF.

[0130] Figure 10 This is the core circuit layout of the temperature sensor of the present invention. The core circuit is 128.71μm long, 61.07μm wide, and has an area of ​​approximately 0.00786mm. 2 .

[0131] Figure 11 The energy consumption pie chart of the temperature sensor of the present invention shows that the total energy consumed during each quantization is 0.47nJ, of which the switched capacitor amplifier, buffer, and comparator consume the largest amounts of energy, at 181pJ, 151.7pJ, and 68.7pJ, respectively.

[0132] Figure 12 Figure 2 shows the temperature error of the temperature sensor after two-point calibration at different process angles. Within the 0°C-100°C range, the sensor was verified at the TT, SS, FF, SF, and FS process angles, achieving a peak-to-peak temperature detection error of -0.69°C / +0.77°C.

[0133] Figure 13 The temperature error diagram of the temperature sensor of the present invention under different power supply voltages is shown in FIG. When measured within the power supply voltage range of 0.9V-1.3V, the power supply sensitivity of the temperature sensor is 1.25°C / V.

[0134] The present invention and its embodiments are described above. This description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if a person skilled in the art is inspired by this and, without departing from the purpose of the present invention, devises methods and embodiments similar to the technical solution without inventiveness, they shall fall within the scope of protection of the present invention.

Claims

1. A low-power, small-area on-chip temperature sensor based on a MOS tube, characterized by: The invention comprises a temperature sensing circuit and an analog-to-digital conversion circuit which are interconnected. The temperature sensing circuit is used to generate a voltage signal related to the temperature and output it to the analog-to-digital conversion circuit to realize digital quantization of the temperature. The temperature sensing circuit is mainly composed of a CTAT branch and a PTAT branch. The CTAT branch and the PTAT branch are respectively used to generate a voltage signal that decreases as the temperature increases and a voltage signal that increases as the temperature increases. The analog-to-digital conversion circuit comprises a buffer, a switched capacitor amplifier, a comparator and a successive approximation logic unit. The output of the CTAT branch is connected to the input of the buffer, the output of the buffer is connected to the input of the switched capacitor amplifier, the output of the switched capacitor amplifier is connected to the non-inverting input of the comparator, the output of the PTAT branch is connected to the inverting input of the comparator, the output of the comparator is connected to the input of the successive approximation logic unit, and the output of the successive approximation logic unit is connected to the switched capacitor amplifier for providing a bit-by-bit approximation digital code to control the amplification gain of the switched capacitor amplifier.

2. The low-power, small-area on-chip temperature sensor based on a MOS transistor according to claim 1, characterized in that: The switched capacitor amplifier includes a sampling capacitor C1, a fixed capacitor C 2_BASE , capacitor array C ARRAY , operational amplifier, four control switches and capacitor array selection switch, the buffer output is connected to the inverting input of the operational amplifier through the sampling capacitor C1, the non-inverting input of the operational amplifier is grounded, and the inverting input of the operational amplifier is connected in turn through the fixed capacitor C 2_BASE The second control switch is connected to the output of the operational amplifier, the output of the operational amplifier is connected to the non-inverting input of the comparator via the second control switch, one end of the sampling capacitor C1 connected to the output of the buffer is grounded via the first control switch, and the other end of the sampling capacitor C1 is grounded via the third control switch. The fixed capacitor C 2_BASE One end connected to the second control switch is grounded via a fourth control switch; The capacitor array C ARRAY Through the capacitor array selection switch and sampling capacitor C1 or fixed capacitor C 2_BASE The capacitor array selection switch is controlled by a digital code output from an output terminal of a successive approximation logic unit, thereby controlling the amplification gain of the switched capacitor amplifier.

3. The low-power, small-area on-chip temperature sensor based on a MOS transistor according to claim 1, characterized in that: The capacitor array C ARRAY It is mainly composed of 8 capacitor unit arrays with capacitance values ​​configured in binary multiples. Each capacitor unit array is connected to its own single-pole double-throw switch. Each capacitor unit array is selectively connected to the sampling capacitor C1 or the fixed capacitor C through its own single-pole double-throw switch. 2_BASE In parallel, all the single-pole double-throw switches together constitute a capacitor array selection switch. The single-pole double-throw switch of each capacitor unit array is connected to the successive approximation logic unit and is controlled by the digital code output by the successive approximation logic unit.

4. The low-power, small-area on-chip temperature sensor based on a MOS transistor according to claim 1, characterized in that: The PTAT branch includes a first MOS transistor M1, a second MOS transistor M2, a third MOS transistor M3, and a fourth MOS transistor M4. The drain of the first MOS transistor M1 is connected to the power supply terminal VDD, the source of the first MOS transistor M1, the drain and gate of the second MOS transistor M2 are all connected to the drain of the third MOS transistor M3, the gate of the first MOS transistor M1, the source of the second MOS transistor M2, and the source of the fourth MOS transistor M4 are all grounded, and the source and gate of the third MOS transistor M3, as well as the drain and gate of the fourth MOS transistor M4 are all connected to the inverting input terminal of the comparator.

5. The low-power, small-area on-chip temperature sensor based on a MOS transistor according to claim 1, characterized in that: The CTAT branch includes a fifth MOS transistor M5, a sixth MOS transistor M6, a seventh MOS transistor M7, and an eighth MOS transistor M8. The drain of the fifth MOS transistor M5 is connected to the power supply terminal VDD, the source of the fifth MOS transistor M5, the drain and the gate of the sixth MOS transistor M6 are all connected to the drain of the seventh MOS transistor M7, the gate of the fifth MOS transistor M5, the source of the sixth MOS transistor M6, the gate of the seventh MOS transistor M7, and the source of the eighth MOS transistor M8 are all grounded, and the source of the seventh MOS transistor M7, the drain and the gate of the eighth MOS transistor M8 are all connected to the input terminal of the buffer.

6. The low-power, small-area on-chip temperature sensor based on a MOS transistor according to claim 1, characterized in that: It also includes a clock generation module, which is electrically connected to the buffer, switched capacitor amplifier, comparator and successive approximation logic unit respectively, and is used to output multiple clock signals to control the buffer, switched capacitor amplifier, comparator and successive approximation logic unit to operate according to a preset timing.

7. A temperature measurement method for a low-power, small-area on-chip temperature sensor based on a MOS tube according to any one of claims 1 to 6, characterized in that: The method comprises the following steps: S1, CTAT branch and PTAT branch sense temperature and output CTAT output voltage and PTAT output voltage respectively; S2: Input the CTAT output voltage to the buffer for voltage buffering, then send the buffered voltage to the switched capacitor amplifier for sampling and amplification according to a preset timing to obtain the CTAT amplified voltage, and then input the CTAT amplified voltage to the non-inverting input terminal of the comparator; S3, connecting the PTAT output voltage as a quantization reference voltage to the inverting input terminal of the comparator, and then comparing it with the CTAT amplified voltage to obtain a comparison result; S4, inputting the comparison result into the successive approximation logic unit to complete the current bit judgment and obtain an updated digital code, and feeding the updated digital code back to the switched capacitor amplifier to adjust the access state of each capacitor unit array in the capacitor array, thereby updating the amplification gain of the switched capacitor amplifier; S5. Resample the CTAT output voltage and amplify it with the updated switched capacitor amplifier gain, then compare it with the PTAT output voltage to obtain an updated comparison result, which is then input into the successive approximation logic unit to loop through step S4 until all bits of the digital code are judged, and the successive approximation logic unit outputs the final digital code.

8. The temperature sensing method according to claim 6, wherein: The MOS transistors in the CTAT branch and the PTAT branch are all NMOS transistors and operate in the subthreshold region. The first MOS transistor M1 , the fifth MOS transistor M5 and the seventh MOS transistor M7 are all Native NMOS transistors.

9. The temperature sensing method according to claim 6, wherein: The PTAT output voltage and CTAT output voltage are set according to the following formula: Where γ' is the linear system coefficient, γ'=2qε si N sub / C ox , η is the drain-induced barrier lowering coefficient, m is the subthreshold swing, m=(1+C d / C ox ), C d is the depletion layer capacitance, C ox is the gate oxide capacitance, V TH is the threshold voltage, V DD is the supply voltage, V T is the thermal voltage, V T =kT / q, where k is the Boltzmann constant, T is the temperature, q is the charge of the electron, W is the channel width, and L is the channel width.

10. The temperature sensing method according to claim 6, wherein: The final digital code is set according to the following formula: Among them, D OUT Indicates the decimal value of the final output digital code, A represents the linear slope of the PTAT voltage changing with temperature, C represents the linear slope of the CTAT voltage changing with temperature, A=-C, B and D represent the voltage values ​​of the PTAT voltage and CTAT voltage at 0°C, C2 represents the holding capacitor, C2=C 2_BASE +C ARRAY , C 2_BASE Represents fixed capacitance, C ARRAY Represents the sum of the capacitance values ​​of all capacitor units in the capacitor array, C1 represents the sampling capacitor, T represents the temperature, C u Represents the capacitor array C ARRAY The unit capacitance.

Citation Information

Cited By

  • Data reading structure, temperature sensor and electronic equipment

    CN121409433A

  • Temperature sensing circuit and chip

    CN121521286A