[go: up one dir, main page]

CN108106747A - A kind of temperature sensor based on capacitive digital converter - Google Patents

A kind of temperature sensor based on capacitive digital converter Download PDF

Info

Publication number
CN108106747A
CN108106747A CN201711365478.4A CN201711365478A CN108106747A CN 108106747 A CN108106747 A CN 108106747A CN 201711365478 A CN201711365478 A CN 201711365478A CN 108106747 A CN108106747 A CN 108106747A
Authority
CN
China
Prior art keywords
mos switch
switch pipe
signal
bipolar transistor
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711365478.4A
Other languages
Chinese (zh)
Other versions
CN108106747B (en
Inventor
黎冰
马林发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen University filed Critical Shenzhen University
Priority to CN201711365478.4A priority Critical patent/CN108106747B/en
Publication of CN108106747A publication Critical patent/CN108106747A/en
Application granted granted Critical
Publication of CN108106747B publication Critical patent/CN108106747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/01Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using semiconducting elements having PN junctions
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K2219/00Thermometers with dedicated analog to digital converters

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Amplifiers (AREA)

Abstract

本发明属于传感器技术领域,提供了一种基于电容数字转换器的温度传感器。所述温度传感器包括:用于根据温度变化量生成第一温度变化信号、第二温度变化信号以及第三温度变化信号的传感器前端电路;与所述传感器前端电路连接,用于根据所述第一温度变化信号、所述第二温度变化信号以所述第三温度变化信号生成数字码的CDC读出电路;及与所述CDC读出电路连接,用于对所述数字码进行输出的数字处理电路;通过本发明可有效解决现有温度传感器中CDC读出电路的结构过于复杂,实用性低以及对温度检测误差较大的问题。

The invention belongs to the technical field of sensors and provides a temperature sensor based on a capacitance-to-digital converter. The temperature sensor includes: a sensor front-end circuit for generating a first temperature change signal, a second temperature change signal, and a third temperature change signal according to the amount of temperature change; The temperature change signal, the second temperature change signal and the CDC readout circuit for generating digital codes with the third temperature change signal; and being connected to the CDC readout circuit for digital processing of outputting the digital code Circuit; the present invention can effectively solve the problems that the structure of the CDC readout circuit in the existing temperature sensor is too complicated, the practicability is low, and the temperature detection error is relatively large.

Description

一种基于电容数字转换器的温度传感器A Temperature Sensor Based on Capacitance-to-Digital Converter

技术领域technical field

本发明属于传感器技术领域,尤其涉及一种基于电容数字转换器的温度传感器。The invention belongs to the technical field of sensors, in particular to a temperature sensor based on a capacitance-to-digital converter.

背景技术Background technique

随着现代电子技术的高速发展,各类电子产品也逐渐趋于便携化和小型化,基于现代CMOS(Complementary Metal Oxide Semiconductor,互补金属氧化物半导体)工艺的温度传感器由于其强大的兼容性而得到了越来越广泛地应用;在相关现有技术中,CDC(Capacitance-to-Digital-Converter,电容数字转换器)读出电路将温度传感器电路所检测到的温度变化量转化为可识别的数字码,再将该数字码通过后续的数字处理即可直接得到外界环境的温度值,进而实现了对于环境温度的直接测量。With the rapid development of modern electronic technology, all kinds of electronic products are gradually becoming portable and miniaturized. Temperature sensors based on modern CMOS (Complementary Metal Oxide Semiconductor) technology have been obtained due to their strong compatibility. In the relevant prior art, CDC (Capacitance-to-Digital-Converter, Capacitance-to-Digital Converter) readout circuit converts the temperature change detected by the temperature sensor circuit into a recognizable number code, and then the digital code can directly obtain the temperature value of the external environment through subsequent digital processing, thereby realizing the direct measurement of the ambient temperature.

因此,现有技术至少存在以下问题:现有的CDC读出电路结合了开关电容技术与过采样调制技术来读取温度信号,需要通过电流镜电路、振荡器电路以及计数电路对温度信号进行处理才能得到与温度成正比的计数值,整个温度检测过程操作过于繁琐,CDC读出电路结构过于复杂,电路实现难度较大,并且现有的温度传感器需要对温度信号进行校准后才能得到温度值,增大了温度检测误差。Therefore, there are at least the following problems in the prior art: the existing CDC readout circuit combines switched capacitor technology and oversampling modulation technology to read the temperature signal, and needs to process the temperature signal through a current mirror circuit, an oscillator circuit and a counting circuit The count value proportional to the temperature can be obtained, the operation of the whole temperature detection process is too cumbersome, the CDC readout circuit structure is too complicated, the circuit implementation is difficult, and the existing temperature sensor needs to calibrate the temperature signal to obtain the temperature value. Increased temperature detection error.

发明内容Contents of the invention

本发明提供一种基于电容数字转换器的温度传感器,旨在解决现有技术中CDC读出电路结构过于复杂、难于实现以及温度传感器具有较大的检测误差较大的问题。The invention provides a temperature sensor based on a capacitance-to-digital converter, aiming to solve the problems in the prior art that the structure of a CDC readout circuit is too complicated, difficult to implement, and the temperature sensor has a relatively large detection error.

本发明第一方面提供一种基于电容数字转换器的温度传感器,包括:The first aspect of the present invention provides a temperature sensor based on a capacitance-to-digital converter, including:

用于根据温度变化量生成第一温度变化信号、第二温度变化信号以及第三温度变化信号的传感器前端电路;A sensor front-end circuit for generating a first temperature change signal, a second temperature change signal, and a third temperature change signal according to the amount of temperature change;

与所述传感器前端电路连接,用于根据所述第一温度变化信号、所述第二温度变化信号以所述第三温度变化信号生成数字码的CDC读出电路;及Connected to the front-end circuit of the sensor, a CDC readout circuit for generating a digital code according to the first temperature change signal, the second temperature change signal and the third temperature change signal; and

与所述CDC读出电路连接,用于对所述数字码进行输出的数字处理电路。A digital processing circuit connected to the CDC readout circuit for outputting the digital code.

进一步地,所述CDC读出电路包括:Further, the CDC readout circuit includes:

其信号输入端与所述传感器前端电路连接,用于消除偏移误差的开关电容模块;Its signal input terminal is connected to the front-end circuit of the sensor, and is used to eliminate the switched capacitor module of the offset error;

与所述开关电容模块的信号输出端连接,用于对所述开关电容模块生成的电压比值信号进行放大的跨导放大模块;及A transconductance amplification module connected to the signal output terminal of the switched capacitor module for amplifying the voltage ratio signal generated by the switched capacitor module; and

输入端与跨导放大模块连接,用于根据所述电压比值信号生成数字码的一位量化模块。The input end is connected with the transconductance amplification module, and is used for generating a one-bit quantization module of digital code according to the voltage ratio signal.

进一步地,所述开关电容模块包括:Further, the switched capacitor module includes:

与所述传感器前端电路连接,用于根据所述第一温度变化信号以及第一时钟信号生成第一充电电荷的第一电容积分单元;connected to the sensor front-end circuit, and used to generate a first capacitance integration unit of a first charging charge according to the first temperature change signal and a first clock signal;

与所述传感器前端电路连接,用于根据所述第一温度变化信号以及第二时钟信号生成第二充电电荷的第二电容积分单元;connected to the sensor front-end circuit, and used to generate a second capacitance integration unit of a second charging charge according to the first temperature change signal and a second clock signal;

与所述传感器前端电路连接,用于根据所述第二温度变化信号、所述第三温度变化信号以及第三时钟信号调节所述第一充电电荷与所述第二充电电荷比值的电容反馈单元;以及A capacitive feedback unit connected to the sensor front-end circuit for adjusting the ratio of the first charging charge to the second charging charge according to the second temperature change signal, the third temperature change signal and the third clock signal ;as well as

第一MOS开关管,所述第一MOS开关管的漏极与所述第一电容积分单元、所述第二电容积分单元以及所述电容反馈单元连接,所述第一MOS开关管的栅极接第四时钟信号,所述第一MOS开关管的源极为所述开关电容模块信号输出端。A first MOS switch tube, the drain of the first MOS switch tube is connected to the first capacitance integration unit, the second capacitance integration unit and the capacitance feedback unit, and the gate of the first MOS switch tube Connected to the fourth clock signal, the source of the first MOS switch tube is the signal output terminal of the switched capacitor module.

进一步地,所述第一电容积分单元包括:第二MOS开关管、第三MOS开关管以及第一微调电容;Further, the first capacitance integration unit includes: a second MOS switch, a third MOS switch, and a first trimming capacitor;

所述第二MOS开关管的漏极与所述传感器前端电路连接,所述第二MOS开关管的源极以及所述第三MOS开关管的漏极与所述第一微调电容的第一端连接,所述第三MOS开关管的源极连接至共模电平,所述第一微调电容的第二端为所述第一电容积分单元的输出端;The drain of the second MOS switch is connected to the front-end circuit of the sensor, the source of the second MOS switch and the drain of the third MOS switch are connected to the first end of the first trimming capacitor connected, the source of the third MOS switch tube is connected to the common mode level, and the second end of the first trimming capacitor is the output end of the first capacitance integration unit;

其中所述第二MOS开关管的栅极以及所述第三MOS开关管的栅极接所述第一时钟信号。Wherein the gate of the second MOS switch and the gate of the third MOS switch are connected to the first clock signal.

进一步地,所述第二电容积分单元包括:第四MOS开关管、第五MOS开关管以及第二微调电容;Further, the second capacitance integration unit includes: a fourth MOS switch, a fifth MOS switch, and a second trimming capacitor;

所述第四MOS开关管的漏极与所述传感器前端电路连接,所述第四MOS开关管的源极、所述第五MOS开关管的漏极与所述第二微调电容的第一端连接,所述第五MOS开关管的源极连接至共模电平,所述第二微调电容的第二端为所述第二电容积分单元的输出端;The drain of the fourth MOS switch is connected to the front-end circuit of the sensor, the source of the fourth MOS switch, the drain of the fifth MOS switch and the first end of the second trimming capacitor connected, the source of the fifth MOS switch tube is connected to the common mode level, and the second end of the second trimming capacitor is the output end of the second capacitance integration unit;

所述第四MOS开关管的栅极以及所述第五MOS开关管的栅极接所述第二时钟信号。The gate of the fourth MOS switch and the gate of the fifth MOS switch are connected to the second clock signal.

进一步地,所述电容反馈单元包括:第六MOS开关管、第七MOS开关管、第八MOS开关管以及第三电容;Further, the capacitive feedback unit includes: a sixth MOS switch, a seventh MOS switch, an eighth MOS switch, and a third capacitor;

所述第六MOS开关管的漏极以及所述第七MOS开关管的漏极与所述传感器前端电路连接,所述第六MOS开关管的源极以及所述第七MOS开关管的源极与所述第三电容的第一端连接,所述第八MOS开关管的源极连接至共模电平,所述第三电容的第二端以及所述第八MOS开关管的漏极为所述电容反馈单元的输出端;The drain of the sixth MOS switch and the drain of the seventh MOS switch are connected to the front-end circuit of the sensor, and the source of the sixth MOS switch and the source of the seventh MOS switch connected to the first terminal of the third capacitor, the source of the eighth MOS switch tube is connected to the common mode level, the second terminal of the third capacitor and the drain of the eighth MOS switch tube are connected to the The output end of the capacitive feedback unit;

所述第六MOS开关管的栅极、所述第七MOS开关管的栅极以及所述第八MOS开关管的栅极接第三时钟信号。The gate of the sixth MOS switch, the gate of the seventh MOS switch, and the gate of the eighth MOS switch are connected to the third clock signal.

进一步地,所述跨导放大模块包括:第四电容以及跨导放大器;Further, the transconductance amplification module includes: a fourth capacitor and a transconductance amplifier;

所述第四电容的第一端以及所述跨导放大器的反向输入端与所述开关电容模块的信号输出端连接,所述跨导放大器的同向输入端连接至共模电平,所述第四电容的第二端与所述跨导放大器的输出端连接,所述跨导放大器的输出端为所述跨导放大模块的输出端。The first terminal of the fourth capacitor and the inverting input terminal of the transconductance amplifier are connected to the signal output terminal of the switched capacitor module, and the non-inverting input terminal of the transconductance amplifier is connected to a common mode level, so The second end of the fourth capacitor is connected to the output end of the transconductance amplifier, and the output end of the transconductance amplifier is the output end of the transconductance amplification module.

进一步地,所述一位量化模块包括比较器以及锁存器;Further, the one-bit quantization module includes a comparator and a latch;

所述比较器的同向输入端与所述跨导放大模块连接,所述比较器的反向输入端连接至共模电平,所述比较器的输出端与所述锁存器的数据信号输入端连接,所述锁存器的正向输出端和反向输出端为所述CDC读出电路的信号输出端,所述锁存器的时钟信号输入端接第五时钟信号。The non-inverting input of the comparator is connected to the transconductance amplification module, the inverting input of the comparator is connected to the common mode level, and the output of the comparator is connected to the data signal of the latch The input terminal is connected, the positive output terminal and the negative output terminal of the latch are the signal output terminals of the CDC readout circuit, and the clock signal input terminal of the latch is connected to the fifth clock signal.

进一步地,所述传感器前端电路包括:第一电流偏置回路、第二电流偏置回路、第三电流偏置回路以及,Further, the sensor front-end circuit includes: a first current bias loop, a second current bias loop, a third current bias loop, and,

用于对所述第一电流偏置回路与所述第二电流偏置回路之间的电压差进行放大输出运算放大器;an operational amplifier for amplifying the voltage difference between the first current bias loop and the second current bias loop;

用于输出所述第三电流偏置回路的电压信号与所述运算放大器输出端的电压信号之和的加法器;an adder for outputting the sum of the voltage signal of the third current bias loop and the voltage signal at the output terminal of the operational amplifier;

其中所述运算放大器输出端以及所述加法器的输出端为所述传感器前端电路的输出端。Wherein the output terminal of the operational amplifier and the output terminal of the adder are the output terminals of the front-end circuit of the sensor.

进一步地,所述第一电流偏置回路包括:第一电流源以及第一双极晶体管;Further, the first current bias loop includes: a first current source and a first bipolar transistor;

所述第二电流偏置回路包括:第二电流源以及第二双极晶体管;The second current bias loop includes: a second current source and a second bipolar transistor;

所述第三电流偏置回路包括:第三电流源以及第三双极晶体管;The third current bias loop includes: a third current source and a third bipolar transistor;

其中所述第一电流源连接在电源与所述第一双极晶体管的发射极之间,所述第二电流源连接在电源与所述第二双极晶体管的发射极之间,所述第三电流源连接在电源与所述第三双极晶体管的发射极之间,所述第一双极晶体管的基极、所述第一双极晶体管的集电极、所述第二双极晶体管的基极、所述第二双极晶体管的集电极、所述第三双极晶体管的基极以及所述第三双极晶体管的集电极接地;Wherein the first current source is connected between the power supply and the emitter of the first bipolar transistor, the second current source is connected between the power supply and the emitter of the second bipolar transistor, and the first current source is connected between the power supply and the emitter of the second bipolar transistor. Three current sources are connected between the power supply and the emitter of the third bipolar transistor, the base of the first bipolar transistor, the collector of the first bipolar transistor, the the base, the collector of the second bipolar transistor, the base of the third bipolar transistor, and the collector of the third bipolar transistor are grounded;

所述运算放大器的同相输入端与所述第二双极晶体管的发射极连接,所述运算放大器的反向输入端与所述第一双极晶体管的发射极连接,所述加法器的第一输入端与所述第三双极晶体管的发射极连接,所述加法器的第二输入端与所述运算放大器的输出端连接。The non-inverting input of the operational amplifier is connected to the emitter of the second bipolar transistor, the inverting input of the operational amplifier is connected to the emitter of the first bipolar transistor, and the first of the adder The input terminal is connected to the emitter of the third bipolar transistor, and the second input terminal of the adder is connected to the output terminal of the operational amplifier.

本发明相对于现有技术所取得的有益技术效果是:在上述温度传感器中,CDC读出电路根据传感器前端电路输出的第一温度变化信号、第二温度变化信号以及第三温度变化信号直接生成了与温度变化量相对应的数字码,并且该数字码可以直接作为数字处理电路的输入,无需再对该数字码进行信号倍增变换处理,即提高了对于温度检测的精确性也简化了该CDC读出电路的结构,实用性强;从而有效的解决了现有技术中CDC读出电路结构复杂以及对温度变化检测存在较大误差的问题。Compared with the prior art, the beneficial technical effect of the present invention is: in the above temperature sensor, the CDC readout circuit directly generates the first temperature change signal, the second temperature change signal and the third temperature change signal The digital code corresponding to the temperature change is obtained, and the digital code can be directly used as the input of the digital processing circuit, and there is no need to perform signal multiplication and conversion processing on the digital code, which improves the accuracy of temperature detection and simplifies the CDC. The structure of the readout circuit has strong practicability; thereby effectively solving the problems in the prior art that the structure of the CDC readout circuit is complicated and there is a large error in temperature change detection.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的一种基于电容数字转换器的温度传感器的结构示意图;Fig. 1 is a schematic structural diagram of a temperature sensor based on a capacitance-to-digital converter provided by an embodiment of the present invention;

图2是本发明实施例提供的一种CDC读出电路的结构示意图;2 is a schematic structural diagram of a CDC readout circuit provided by an embodiment of the present invention;

图3是本发明实施例提供的一种CDC读出电路的电路结构图;Fig. 3 is a circuit structure diagram of a CDC readout circuit provided by an embodiment of the present invention;

图4是本发明实施例提供的一种传感器前端电路的电路结构图;Fig. 4 is a circuit structure diagram of a sensor front-end circuit provided by an embodiment of the present invention;

图5是本发明实施例提供的一种时钟信号的信号波形图。FIG. 5 is a signal waveform diagram of a clock signal provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

图1示出了本发明实施例提供的基于电容数字转换器的温度传感器的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:Figure 1 shows a schematic structural diagram of a temperature sensor based on a capacitance-to-digital converter provided by an embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:

如图1所示,该温度传感器10包括传感器前端电路101、CDC读出电路102以及数字处理电路103。As shown in FIG. 1 , the temperature sensor 10 includes a sensor front-end circuit 101 , a CDC readout circuit 102 and a digital processing circuit 103 .

传感器前端电路101检测外界的温度变化量,并且传感器前端电路101根据该温度变化量生成第一温度变化信号、第二温度变化信号以及第三温度变化信号;CDC读出电路102与传感器前端电路101连接,CDC读出电路102根据该第一温度变化信号、第二温度变化信号以及第三温度变化信号生成数字码,该数字码与所述温度变化量相对应,即通过该数字码可直接反应出外界环境的温度变化量;数字处理电路103与CDC读出电路102连接,数字处理电路103对该数字码进行输出。The sensor front-end circuit 101 detects the temperature change of the outside world, and the sensor front-end circuit 101 generates a first temperature change signal, a second temperature change signal, and a third temperature change signal according to the temperature change; the CDC readout circuit 102 and the sensor front-end circuit 101 connected, the CDC readout circuit 102 generates a digital code according to the first temperature change signal, the second temperature change signal and the third temperature change signal, and the digital code corresponds to the temperature change, that is, the digital code can directly reflect The temperature variation of the external environment; the digital processing circuit 103 is connected with the CDC readout circuit 102, and the digital processing circuit 103 outputs the digital code.

具体的,数字处理电路103可实现对于该数字码的显示、编码、优化等一系列处理后,然后将该数字码输出,从而用户可以通过温度传感器10实时、精确地了解外界环境温度的变化量。Specifically, the digital processing circuit 103 can realize a series of processing such as display, encoding, and optimization of the digital code, and then output the digital code, so that the user can accurately understand the amount of change in the external environment temperature in real time through the temperature sensor 10 .

具体的,图2示出了本发明实施例提供的CDC读出电路102的结构示意图,详述如下:Specifically, FIG. 2 shows a schematic structural diagram of the CDC readout circuit 102 provided by the embodiment of the present invention, which is described in detail as follows:

如图2所示,CDC读出电路102包括开关电容模块1021、跨导放大模块1022以及一位量化模块1023.As shown in Figure 2, the CDC readout circuit 102 includes a switched capacitor module 1021, a transconductance amplification module 1022, and a one-bit quantization module 1023.

开关电容模块1021的信号输入端与传感器前端电路101连接,开关电容模块1021能够消除偏移误差,其中该偏移误差是指CDC读出电路102中的MOS开关管在闭合或者断开时,由于时钟馈通以及电荷注入所引起的非线性误差电荷。The signal input terminal of the switched capacitor module 1021 is connected to the sensor front-end circuit 101, and the switched capacitor module 1021 can eliminate the offset error, wherein the offset error refers to the MOS switch tube in the CDC readout circuit 102 being closed or disconnected due to Non-linear error charges due to clock feedthrough and charge injection.

跨导放大模块1022与开关电容模块1021的信号输出端连接,当开关电容模块1021生成电压比值信号时,跨导放大模块1022对该电压比值信号进行功率放大,以避免该电压比值信号在传输过程中的能量损耗;一位量化模块1023的输入端与跨导放大模块1022连接,跨导放大模块1022根据该电压比值信号生成数字码,从而可通过该数字码来获得高精度的温度变化,减少了该温度传感器10的检测误差。The transconductance amplification module 1022 is connected to the signal output end of the switched capacitor module 1021. When the switched capacitor module 1021 generates a voltage ratio signal, the transconductance amplification module 1022 amplifies the power of the voltage ratio signal, so as to avoid the voltage ratio signal from being transmitted during transmission. The energy loss in; the input end of one bit quantization module 1023 is connected with transconductance amplification module 1022, and transconductance amplification module 1022 generates digital code according to this voltage ratio signal, thereby can obtain the temperature change of high precision by this digital code, reduce The detection error of the temperature sensor 10 is reduced.

具体的,图3示出了本发明实施例提供的CDC读出电路102的电路结构图,详述如下:Specifically, FIG. 3 shows a circuit structure diagram of the CDC readout circuit 102 provided by the embodiment of the present invention, which is described in detail as follows:

如图3所示,开关电容模块1021包括第一电容积分单元301、第二电容积分单元302、电容反馈单元303以及第一MOS开关管Q1。As shown in FIG. 3 , the switched capacitor module 1021 includes a first capacitance integration unit 301 , a second capacitance integration unit 302 , a capacitance feedback unit 303 and a first MOS switch Q1 .

第一电容积分单元301与传感器前端电路101连接,第一电容积分单元301根据第一温度变化信号VBG以及第一时钟信号生成第一充电电荷;第二电容积分单元302与传感器前端电路101连接,第二电容积分单元302根据所述第一温度变化信号VBG以及第二时钟信号生成第二充电电荷;由于第一时钟信号的相位与第二时钟信号的相位并不相同,由此产生的第一充电电荷和第二充电电荷的电荷量并不相同,因此在CDC读出电路102中形成了相应的非线性误差电荷。The first capacitance integration unit 301 is connected with the sensor front-end circuit 101, and the first capacitance integration unit 301 generates the first charging charge according to the first temperature change signal V BG and the first clock signal; the second capacitance integration unit 302 is connected with the sensor front-end circuit 101 , the second capacitance integration unit 302 generates a second charging charge according to the first temperature change signal V BG and the second clock signal; since the phase of the first clock signal is not the same as the phase of the second clock signal, the resulting The charge amounts of the first charging charge and the second charging charge are not the same, so a corresponding non-linear error charge is formed in the CDC readout circuit 102 .

电容反馈单元303与传感器前端电路101连接,电容反馈单元303根据第二温度变化信号VBE1、第三温度变化信号VBE2以及第三时钟信号调节第一充电电荷与第二充电电荷;第一MOS开关管Q1的漏极与第一电容积分单元301、第二电容积分单元302以及电容反馈单元303连接,其中第一MOS开关管Q1的栅极接第四时钟信号,第一MOS开关管Q1的源极为开关电容模块1021的输出端,从而通过电容反馈单元303与第一MOS开关管Q1形成的反馈回路有效地消除了由于第一充电电荷和第二充电电荷之间不均衡所引起的非线性误差电荷。The capacitance feedback unit 303 is connected to the sensor front-end circuit 101, and the capacitance feedback unit 303 adjusts the first charging charge and the second charging charge according to the second temperature change signal V BE1 , the third temperature change signal V BE2 and the third clock signal; the first MOS The drain of the switching tube Q1 is connected to the first capacitance integration unit 301, the second capacitance integration unit 302, and the capacitance feedback unit 303, wherein the gate of the first MOS switching tube Q1 is connected to the fourth clock signal, and the gate of the first MOS switching tube Q1 The source is the output terminal of the switched capacitor module 1021, so that the feedback loop formed by the capacitor feedback unit 303 and the first MOS switch Q1 effectively eliminates the nonlinearity caused by the imbalance between the first charged charge and the second charged charge error charge.

其中第一电容积分单元301包括第二MOS开关管Q2、第三MOS开关管Q3以及第一微调电容CTref;第二MOS开关管Q2的漏极与传感器前端电路101连接,第二MOS开关管Q2的源极以及第三MOS开关管Q3的漏极与第一微调电容CTref的第一端连接,第三MOS开关管Q3的源极连接至共模电平Vcm,第一微调电容CTref的第二端为第一电容积分单元301的输出端。Wherein the first capacitance integration unit 301 includes a second MOS switch tube Q2, a third MOS switch tube Q3, and a first trimming capacitor C Tref ; the drain of the second MOS switch tube Q2 is connected to the sensor front-end circuit 101, and the second MOS switch tube Q2 The source of Q2 and the drain of the third MOS switch Q3 are connected to the first end of the first trimming capacitor C Tref , the source of the third MOS switch Q3 is connected to the common mode level V cm , and the first trimming capacitor C The second terminal of Tref is the output terminal of the first capacitance integration unit 301 .

其中第二MOS开关管Q2的栅极以及第三MOS开关管Q3的栅极接第一时钟信号;当第一时钟信号输入到第二MOS开关管Q2的栅极以及第三MOS开关管Q3的栅极时,第二MOS开关管Q2以及第三MOS开关管Q3根据该第一时钟信号导通或者关断,从而完成了对于第一电容积分单元301中第一微调电容CTref的充放电过程。Wherein the gate of the second MOS switch Q2 and the gate of the third MOS switch Q3 are connected to the first clock signal; when the first clock signal is input to the gate of the second MOS switch Q2 and the gate of the third MOS switch Q3 When the gate is turned on, the second MOS switch Q2 and the third MOS switch Q3 are turned on or off according to the first clock signal, thus completing the charging and discharging process of the first trimming capacitor C Tref in the first capacitance integration unit 301 .

其中第二电容积分单元302包括:第四MOS开关管Q4、第五MOS开关管Q5以及第二微调电容CToff;第四MOS开关管Q4的漏极与传感器前端电路101连接,第四MOS开关管Q4的源极、第五MOS开关管Q5的漏极与第二微调电容CToff的第一端连接,第五MOS开关管Q5的源极连接至共模电平Vcm,第二微调电容CToff的第二端为第二电容积分单元302的输出端;Wherein the second capacitance integration unit 302 includes: a fourth MOS switch tube Q4, a fifth MOS switch tube Q5, and a second trimming capacitor C Toff ; the drain of the fourth MOS switch tube Q4 is connected to the sensor front-end circuit 101, and the fourth MOS switch tube Q5 The source of the tube Q4 and the drain of the fifth MOS switch tube Q5 are connected to the first end of the second trimming capacitor C Toff , the source of the fifth MOS switch Q5 is connected to the common mode level V cm , and the second trimming capacitor The second end of C Toff is the output end of the second capacitance integration unit 302;

第四MOS开关管Q4的栅极以及第五MOS开关管Q5的栅极接所述第二时钟信号;通过该第二时钟信号即可控制第四MOS开关管Q4以及第五MOS开关管Q5导通或者关断,从而实现了对于第二电容积分单元302中的第二微调电容CToff的充放电过程。The gate of the fourth MOS switch Q4 and the gate of the fifth MOS switch Q5 are connected to the second clock signal; the second clock signal can control the fourth MOS switch Q4 and the fifth MOS switch Q5 to conduct is turned on or off, so as to realize the charging and discharging process of the second trimming capacitor C Toff in the second capacitance integration unit 302 .

其中电容反馈单元303包括第六MOS开关管Q6、第七MOS开关管Q7、第八MOS开关管Q8以及第三电容CTThe capacitive feedback unit 303 includes a sixth MOS switch Q6 , a seventh MOS switch Q7 , an eighth MOS switch Q8 and a third capacitor C T .

第六MOS开关管Q6的漏极以及第七MOS开关管Q7的漏极与传感器前端电路101连接,第六MOS开关管Q6的源极以及第七MOS开关管Q7的源极与第三电容CT的第一端连接,第八MOS开关管Q8的源极连接至共模电平Vcm,第三电容CT的第二端以及第八MOS开关管Q8的漏极为电容反馈单元303的输出端。The drain of the sixth MOS switch Q6 and the drain of the seventh MOS switch Q7 are connected to the sensor front-end circuit 101, and the source of the sixth MOS switch Q6 and the source of the seventh MOS switch Q7 are connected to the third capacitor C The first end of T is connected, the source of the eighth MOS switch Q8 is connected to the common mode level V cm , the second end of the third capacitor CT and the drain of the eighth MOS switch Q8 are the output of the capacitance feedback unit 303 end.

第六MOS开关管Q6的栅极、第七MOS开关管Q7的栅极以及第八MOS开关管Q8的栅极接第三时钟信号;具体的,通过第三时钟信号即可实现第六MOS开关管Q6、第七MOS开关管Q7以及第八MOS开关管Q8的导通或者关断,进而平衡上述第一充电电荷和第二充电电荷之间的不均衡误差。The gate of the sixth MOS switch Q6, the gate of the seventh MOS switch Q7, and the gate of the eighth MOS switch Q8 are connected to the third clock signal; specifically, the sixth MOS switch can be realized through the third clock signal. The transistor Q6, the seventh MOS switch transistor Q7, and the eighth MOS switch transistor Q8 are turned on or off to balance the unbalanced error between the above-mentioned first charging charge and the second charging charge.

跨导放大模块1022包括第四电容Cf以及跨导放大器OTA;第四电容Cf的第一端以及跨导放大器OTA的反向输入端与开关电容模块1021的信号输出端连接,跨导放大器OTA的同向输入端连接至共模电平Vcm,第四电容Cf的第二端与跨导放大器OTA的输出端连接,跨导放大器OTA的输出端为跨导放大模块1022的输出端。Transconductance amplifying module 1022 comprises the 4th electric capacity C f and transconductance amplifier OTA; The first end of the 4th electric capacity C f and the reverse input terminal of transconductance amplifier OTA are connected with the signal output terminal of switched capacitor module 1021, transconductance amplifier The same input terminal of OTA is connected to the common mode level V cm , the second terminal of the fourth capacitor C f is connected to the output terminal of the transconductance amplifier OTA, and the output terminal of the transconductance amplifier OTA is the output terminal of the transconductance amplification module 1022 .

具体的,跨导放大器OTA能够将输入的差分电压转换为输出电流,当跨导放大器OTA的同向输入端和反向输入端存在电压差信号时,跨导放大器OTA能够将该电压差信号经过转换放大从而输出电流信号,以实现信号的转换与输出。Specifically, the transconductance amplifier OTA can convert the input differential voltage into an output current. When there is a voltage difference signal at the same input terminal and the reverse input terminal of the transconductance amplifier OTA, the transconductance amplifier OTA can pass the voltage difference signal through Convert and amplify to output the current signal to realize the conversion and output of the signal.

一位量化模块1023包括比较器Cmp以及锁存器DFF;比较器Cmp的同向输入端与跨导放大模块1022连接,比较器Cmp的反向输入端连接至共模电平Vcm,比较器Cmp的输出端与锁存器DFF的数据信号输入端D连接,锁存器DFF的正向输出端Q和反向输出端Q为CDC读出电路102的信号输出端,锁存器DFF的时钟信号输入端C接第五时钟信号;其中第五时钟信号用于驱动锁存器DFF动作。A quantization module 1023 includes a comparator Cmp and a latch DFF; the same input terminal of the comparator Cmp is connected to the transconductance amplification module 1022, and the inverting input terminal of the comparator Cmp is connected to the common mode level V cm , the comparator The output end of Cmp is connected with the data signal input end D of the latch DFF, and the positive output end Q and the reverse output end Q of the latch DFF are the signal output ends of the CDC readout circuit 102, and the clock of the latch DFF The signal input terminal C is connected to the fifth clock signal; wherein the fifth clock signal is used to drive the action of the latch DFF.

需要说明的是,第一时钟信号、第二时钟信号、第三时钟信号、第四时钟信号以及第五时钟信号有时钟信号产生电路生成,并输出至上述的各个MOS开关管,如第一MOS开关管Q1、第二MOS开关管Q2等,从而控制这些MOS开关管导通或者关断。It should be noted that the first clock signal, the second clock signal, the third clock signal, the fourth clock signal and the fifth clock signal are generated by a clock signal generation circuit and output to each of the above-mentioned MOS switch tubes, such as the first MOS The switching tube Q1, the second MOS switching tube Q2, etc., so as to control these MOS switching tubes to be turned on or off.

需要说明的是,第一微调电容CTref和第二微调电容CToff的电容容量可调节,在具体的电路应用中,通过微调电容两极板之间的距离、相对位置或者面积即可改变其本身的电容容量,当电容容量发生改变时,流经第一微调电容CTref两极板的电荷和流经第二微调电容CToff两极板的电荷也会发生变化,从而该CDC读出电路102中的运行电流也会随之而发生改变。It should be noted that the capacitance of the first trimming capacitor C Tref and the second trimming capacitor C Toff can be adjusted. In a specific circuit application, the distance, relative position or area between the two plates of the capacitor can be changed. When the capacitance changes, the charge flowing through the two plates of the first trimming capacitor C Tref and the charge flowing through the two plates of the second trimming capacitor C Toff will also change, so that the CDC readout circuit 102 The operating current will also change accordingly.

具体的,图4示出了本发明实施例提供的传感器前端电路101的电路结构图,详述如下:Specifically, FIG. 4 shows a circuit structure diagram of the sensor front-end circuit 101 provided by the embodiment of the present invention, which is described in detail as follows:

如图4所示,传感器前端电路101包括第一电流偏置回路1011、第二电流偏置回路1012、第三电流偏置回路1013、运算放大器OP1以及加法器Add。As shown in FIG. 4 , the sensor front-end circuit 101 includes a first current bias loop 1011 , a second current bias loop 1012 , a third current bias loop 1013 , an operational amplifier OP1 and an adder Add.

其中运算放大器OP1对第一电流偏置回路1011与第二电流偏置回路1012之间的电压差进行放大输出;具体的,由于第一电流偏置回路1011与第二电流偏置回路1012中的运行电流不相同,由此在第一电流偏置回路1011中的输出电压与第二电流偏置回路1012中输出电压存在电压差,运算放大器OP1对该电压差进行放大输出;加法器Add能够输出第三电流偏置回路1013的电压信号与运算放大器OP1输出端的电压信号之和;其中运算放大器OP1输出端以及加法器Add的输出端为传感器前端电路101的输出端,用于输出温度变化信号。The operational amplifier OP1 amplifies and outputs the voltage difference between the first current bias loop 1011 and the second current bias loop 1012; specifically, due to the The operating currents are different, so there is a voltage difference between the output voltage in the first current bias loop 1011 and the output voltage in the second current bias loop 1012, and the operational amplifier OP1 amplifies and outputs the voltage difference; the adder Add can output The sum of the voltage signal of the third current bias loop 1013 and the voltage signal of the output terminal of the operational amplifier OP1; wherein the output terminal of the operational amplifier OP1 and the output terminal of the adder Add are the output terminals of the sensor front-end circuit 101 for outputting temperature change signals.

其中,第一电流偏置回路1011包括:第一电流源I1以及第一双极晶体管BJT1;第二电流偏置回路1012包括:第二电流源I2以及第二双极晶体管BJT2;第三电流偏置回路1013包括:第三电流源I3以及第三双极晶体管BJT3。Wherein, the first current bias loop 1011 includes: the first current source I1 and the first bipolar transistor BJT1; the second current bias loop 1012 includes: the second current source I2 and the second bipolar transistor BJT2; the third The current bias loop 1013 includes: a third current source I3 and a third bipolar transistor BJT3.

具体的,第一电流源I1连接在电源Vcc与第一双极晶体管BJT1的发射极之间,第二电流源I2连接在电源Vcc与第二双极晶体管BJT2的发射极之间,第三电流源I3连接在电源Vcc与第三双极晶体管BJT3的发射极之间,第一双极晶体管BJT1的基极、第一双极晶体管BJT1的集电极、第二双极晶体管BJT2的基极、第二双极晶体管BJT2的集电极、第三双极晶体管BJT3的基极以及第三双极晶体管BJT3的集电极接地。Specifically, the first current source I1 is connected between the power supply Vcc and the emitter of the first bipolar transistor BJT1, and the second current source I2 is connected between the power supply Vcc and the emitter of the second bipolar transistor BJT2. Three current sources I3 are connected between the power supply Vcc and the emitter of the third bipolar transistor BJT3, the base of the first bipolar transistor BJT1, the collector of the first bipolar transistor BJT1, the base of the second bipolar transistor BJT2 The pole, the collector of the second bipolar transistor BJT2, the base of the third bipolar transistor BJT3, and the collector of the third bipolar transistor BJT3 are grounded.

运算放大器OP1的同相输入端与第二双极晶体管BJT2的发射极连接,运算放大器OP1的反向输入端与第一双极晶体管BJT1的发射极连接,加法器Add的第一输入端与第三双极晶体管BJT3的发射极连接,加法器Add的第二输入端与运算放大器OP1的输出端连接;其中加法器Add的第一输入端的输入信号即为第三双极晶体管BJT3的发射极与集电极之间的电压VBE,当第一电流源I1的输出电流与第二电流源I2的输出电流不相同时,则第一双极晶体管BJT1的发射极与第二双极晶体管BJT2的发射极之间的电势差并不相等,第一双极晶体管BJT1的发射极与第二双极晶体管BJT2的发射极之间的电势差ΔVBE即为如上所述的第一电流偏置回路1011中的输出电压与第二电流偏置回路1012中输出电压之间的电压差,尽管这种电势差较小,但是经运算放大器OP1的放大处理,进而输出了相应的温度变化信号;因此该温度传感器10能够检测到极小的温度变化量,提高了对于温度检测的精度和灵敏度。The noninverting input terminal of the operational amplifier OP1 is connected to the emitter of the second bipolar transistor BJT2, the inverting input terminal of the operational amplifier OP1 is connected to the emitter of the first bipolar transistor BJT1, and the first input terminal of the adder Add is connected to the third bipolar transistor BJT1. The emitter of the bipolar transistor BJT3 is connected, and the second input of the adder Add is connected with the output of the operational amplifier OP1; wherein the input signal of the first input of the adder Add is the emitter and collector of the third bipolar transistor BJT3 The voltage V BE between the electrodes, when the output current of the first current source I1 is different from the output current of the second current source I2 , the emitter of the first bipolar transistor BJT1 and the second bipolar transistor BJT2 The potential differences between the emitters are not equal, and the potential difference ΔV BE between the emitters of the first bipolar transistor BJT1 and the emitters of the second bipolar transistor BJT2 is ΔV BE in the first current bias loop 1011 as described above The voltage difference between the output voltage and the output voltage in the second current bias loop 1012, although this potential difference is small, is amplified by the operational amplifier OP1, and then outputs a corresponding temperature change signal; therefore, the temperature sensor 10 can A very small amount of temperature change is detected, which improves the accuracy and sensitivity of temperature detection.

为了更好的说明本实施例,下面通过一个具体的例子来说明温度传感器10的工作原理:In order to better illustrate this embodiment, a specific example is used to illustrate the working principle of the temperature sensor 10 below:

结合图4中所示出的传感器前端电路101的电路结构图,各个双极晶体管的基极-发射极电压,或者PN结二极管的正向电压具有负温度系数,即第三双极晶体管BJT3的发射极与集电极之间的电压VBE是一个负温度系数电压。若第一电流源I1中的运行电流与第三电流源I3中的运行电流之间大小关系为:Combined with the circuit structure diagram of the sensor front-end circuit 101 shown in FIG. 4, the base-emitter voltage of each bipolar transistor, or the forward voltage of the PN junction diode has a negative temperature coefficient, that is, the third bipolar transistor BJT3 The voltage V BE between the emitter and collector is a negative temperature coefficient voltage. If the relationship between the operating current in the first current source I1 and the operating current in the third current source I3 is:

I1=I3I 1 =I 3 ;

其中第二电流源I2中的运行电流与第一电流源I1中的运行电流之间的大小关系为:Wherein the size relationship between the operating current in the second current source I2 and the operating current in the first current source I1 is:

I2=ρ·I1I 2 = ρ·I 1 ;

其中ρ为一常量并预先设定。Wherein ρ is a constant and preset.

由以上两式可得知,如果第一双极晶体管BJT1和第二双极晶体管BJT2工作在不相等的电流密度下,则这两个双极晶体管的基极-发射极电压的差值与绝对温度成正比,相应的,第一双极晶体管BJT1的发射极与第二双极晶体管BJT2的发射极之间的电势差ΔVBE与温度成正比;若运算放大器OP1的电压放大倍数为α,则加法器Add的输出电压VBG为:From the above two formulas, it can be known that if the first bipolar transistor BJT1 and the second bipolar transistor BJT2 work at unequal current densities, the difference between the base-emitter voltages of these two bipolar transistors and the absolute The temperature is proportional, correspondingly, the potential difference ΔV BE between the emitter of the first bipolar transistor BJT1 and the emitter of the second bipolar transistor BJT2 is proportional to the temperature; if the voltage magnification of the operational amplifier OP1 is α, the addition The output voltage V BG of tor Add is:

VBG=VBE+αΔVBEV BG =V BE +αΔV BE ;

通过调节运算放大器OP1的电压放大倍数α,使加法器Add的输出电压VBG保持恒定,即加法器Add的输出电压VBG不随温度的变化而变化。By adjusting the voltage amplification factor α of the operational amplifier OP1, the output voltage V BG of the adder Add is kept constant, that is, the output voltage V BG of the adder Add does not change with temperature.

设定根据上述推导过程,VBG是不随温度变化而变化的电压值,而ΔVBE与温度成正比例关系,则μ与温度成正比例关系;最后可以通过公式精确得到温度传感器10的输出温度值Dout,其中所述公式为:set up According to the above derivation process, V BG is a voltage value that does not change with temperature, and ΔV BE is proportional to temperature, and μ is proportional to temperature; finally, the output temperature value D out of temperature sensor 10 can be accurately obtained through the formula, Wherein said formula is:

Dout=A·μ+B Dout =A·μ+B

上式中,A和B分别为温度传感器10的倍增因子和温度传感器10的失调因子。In the above formula, A and B are the multiplication factor of the temperature sensor 10 and the offset factor of the temperature sensor 10 respectively.

因此,通过以上传感器前端电路101运行的具体实例可知,该传感器前端电路101使用了基于带隙基准电压源电路,即通过多个双极型晶体管及电流偏置器件得到了与温度成函数关系的温度变化信号,该传感器前端电路101将外界的温度变化量转换为温度变化信号,实现了对于温度的精准测量;从而有效地克服了现有技术无法实时得获取高精度的温度变化信号的问题。Therefore, it can be known from the above specific examples of the operation of the sensor front-end circuit 101 that the sensor front-end circuit 101 uses a circuit based on a bandgap reference voltage source, that is, a temperature-dependent voltage is obtained through a plurality of bipolar transistors and current bias devices. For the temperature change signal, the sensor front-end circuit 101 converts the external temperature change into a temperature change signal, realizing accurate temperature measurement; thereby effectively overcoming the problem that the existing technology cannot obtain high-precision temperature change signals in real time.

当传感器前端电路101生成第一温度变化信号VBG、第二温度变化信号VBE1以及第三温度变化信号VBE2,并将该温度信号传输至CDC读出电路102,该CDC读出电路102根据这些温度变化信号可实时生成相应的数字码,具体步骤如下:When the sensor front-end circuit 101 generates the first temperature change signal V BG , the second temperature change signal V BE1 and the third temperature change signal V BE2 , and transmits the temperature signal to the CDC readout circuit 102, the CDC readout circuit 102 according to These temperature change signals can generate corresponding digital codes in real time. The specific steps are as follows:

若第一MOS开关管Q1的栅极接第四时钟信号为控制电容反馈单元303中各个MOS开关管导通或关断的第三时钟信号可细分为:以及其中第六MOS开关管Q6的栅极接第三时钟信号第七MOS开关管Q7的栅极接第八MOS开关管Q8的栅极接第三时钟信号其中图5示出了 以及的信号波形图;If the gate of the first MOS switch Q1 is connected to the fourth clock signal as The third clock signal for controlling the turn-on or turn-off of each MOS switch in the capacitive feedback unit 303 can be subdivided into: as well as The gate of the sixth MOS switch Q6 is connected to the third clock signal The gate of the seventh MOS switch Q7 is connected to The gate of the eighth MOS switch Q8 is connected to the third clock signal where Figure 5 shows the as well as The signal waveform diagram;

进一步地,控制第二电容积分单元302中各个MOS开关管导通或者关断的第二时钟信号可细分为:以及其中第四MOS开关管Q4的栅极接第二时钟信号第五MOS开关管Q5的栅极接第二时钟信号并且 Further, the second clock signal that controls the turn-on or turn-off of each MOS switch in the second capacitance integration unit 302 can be subdivided into: as well as The gate of the fourth MOS switch Q4 is connected to the second clock signal The gate of the fifth MOS switch Q5 is connected to the second clock signal and

进一步地,控制第一电容积分单元301中各个MOS开关管导通或关断的第一时钟信号可细分为:以及其中第二MOS开关管Q2的栅极接第一时钟信号第三MOS开关管Q3接第一时钟信号并且:Further, the first clock signal that controls the turn-on or turn-off of each MOS switch in the first capacitance integration unit 301 can be subdivided into: as well as The gate of the second MOS switch Q2 is connected to the first clock signal The third MOS switch tube Q3 is connected to the first clock signal and:

上式中,Y为锁存器DFF的正向输出端Q的输出信号,为锁存器DFF的反向输出端的输出信号,其中Y表示信号Y与信号之间的逻辑“与”运算,与此类似,表示信号与信号之间的逻辑“与”运算,上式中的“+”表示信号之间的逻辑或运算;需要说明的是,锁存器DFF的时钟信号输入端C接第五时钟信号其中由于锁存器DFF的正向输出端Q和反向输出端为CDC读出电路102的信号输出端,则Y和为CDC读出电路102的输出信号,将锁存器DFF的输出信号作为第一MOS开关管Q1和第三MOS开关管Q3的控制信号,形成了闭环反馈控制回路,提高了该CDC读出电路102的稳定性。In the above formula, Y is the output signal of the positive output terminal Q of the latch DFF, is the inverting output of the latch DFF The output signal, where Y Indicates the signal Y and the signal A logical AND operation between , and similarly, Indicates the signal with signal The logical "AND" operation between the above formulas, the "+" in the above formula represents the logical OR operation between the signals; it should be noted that the clock signal input terminal C of the latch DFF is connected to the fifth clock signal in Since the positive output Q of the latch DFF and the negative output is the signal output terminal of the CDC readout circuit 102, then Y and As the output signal of the CDC readout circuit 102, the output signal of the latch DFF is used as the control signal of the first MOS switch tube Q1 and the third MOS switch tube Q3 to form a closed-loop feedback control loop, which improves the CDC readout circuit. 102 stability.

由于第二MOS开关管Q2的漏极接第一温度变化信号VBG,第四MOS开关管Q4的漏极接第一温度变化信号VBG,第六MOS开关管Q6的漏极接第二温度变化信号VBE1,第七MOS开关管Q7的漏极接第三温度变化信号VBE2,其中VBE1为传感器前端电路101中第一双极晶体管BJT1的发射极与集电极之间的电压,VBE2为传感器前端电路101中第二双极晶体管BJT2的发射极与集电极之间的电压,则VBE1与VBE2之间的电压差ΔVBE=VBE2-VBE1,该电压差ΔVBE被用于给第三电容CT充电,在此过程中,第四电容Cf作为反馈和积分电容,使得第一微调电容CTref和第二微调电容CToff流向第四电容Cf的电荷趋于0;若这一过程中在N个时钟信号周期内完成,在没有时钟馈通和电荷注入的情况下,由电荷守恒定理可得:Since the drain of the second MOS switch Q2 is connected to the first temperature change signal V BG , the drain of the fourth MOS switch Q4 is connected to the first temperature change signal V BG , and the drain of the sixth MOS switch Q6 is connected to the second temperature Change signal V BE1 , the drain of the seventh MOS switch Q7 is connected to the third temperature change signal V BE2 , where V BE1 is the voltage between the emitter and collector of the first bipolar transistor BJT1 in the sensor front-end circuit 101, V BE2 is the voltage between the emitter and collector of the second bipolar transistor BJT2 in the sensor front-end circuit 101, then the voltage difference ΔV BE between V BE1 and V BE2 =V BE2 −V BE1 , the voltage difference ΔV BE is It is used to charge the third capacitor C T. During this process, the fourth capacitor C f acts as a feedback and integral capacitor, so that the charge flowing to the fourth capacitor C f from the first trimming capacitor C Tref and the second trimming capacitor C Toff tends to 0; if this process is completed within N clock signal cycles, in the absence of clock feedthrough and charge injection, the charge conservation theory can be obtained:

NCT(VBE1-VBE2)-NCToffVBG-nCTrefVBG=0NC T (V BE1 -V BE2 )-NC Toff V BG -nC Tref V BG =0

上式中,n为N个时钟信号周期内锁存器DFF正向输出端Q的输出信号Y为高电平的个数,分别为倍增因子和失调因子,Dout为温度传感器10的输出温度值,其单位为:摄氏度;通过上式可以看出,通过调节改变倍增因子和失调因子的大小。In the above formula, n is the number of the output signal Y of the positive output terminal Q of the latch DFF that is at a high level within N clock signal cycles, and Respectively multiplication factor and offset factor, D out is the output temperature value of temperature sensor 10, and its unit is: Celsius; It can be seen from the above formula that by adjusting and Vary the magnitude of the multiplication factor and offset factor.

若该CDC读出电路102存在时钟馈通和电荷注入的条件下,则上述电荷守恒的公式将变为:If the CDC readout circuit 102 has clock feedthrough and charge injection conditions, the above formula for charge conservation will become:

NCT(VBE1-VBE2)-NCToffVBG-nCTrefVBG+NQErr,cf+NQErr,cj=0NC T (V BE1 -V BE2 )-NC Toff V BG -nC Tref V BG +NQ Err,cf +NQ Err,cj =0

上式中,NQErr,cf和NQErr,cj分别是由于时钟馈通和电荷注入引起的误差电荷。In the above formula, NQ Err,cf and NQ Err,cj are the error charges caused by clock feedthrough and charge injection, respectively.

此时温度传感器10的输出温度值Dout为:At this moment, the output temperature value D out of the temperature sensor 10 is:

上式中,表示由时钟馈通及电荷注入引起的失调误差。当温度传感器10在检测外界温度时,由于NQErr,cf和NQErr,cj都不变,则由时钟馈通及电荷注入引起的失调误差为一个固定值,通过适当地调节的比值即可将该失调误差相抵消。In the above formula, Indicates the offset error due to clock feedthrough and charge injection. When the temperature sensor 10 is detecting the external temperature, since NQ Err,cf and NQ Err,cj are unchanged, the offset error caused by clock feedthrough and charge injection is a fixed value, and by properly adjusting The ratio of the offset error can be canceled out.

结合上述应用实例,在本发明实施例所提供的温度传感器中,传感器前端电路将温度变化量精确地转化为温度变化信号,CDC读出电路根据该温度变化信号生成了数字码,该数字码可以直接作为数字处理电路的输入,无需其它的倍增变换操作,提高了该温度检测器对于温度的检测精度;同时CDC读出电路中的开关电容模块可直接将电路中的非线性偏移误差消除,无需其它校准技术,通过调节第一微调电容和第二微调电容的电容值即可避免MOS开关管在导通或关断时出现的误差电荷不均衡现象,简化了CDC读出电路的电路结构,实用性更强;从而有效地克服了现有技术中温度传感器对温度检测的精度不高,CDC读出电路的结构过于复杂以及实用性低的不足之处。In combination with the above application examples, in the temperature sensor provided by the embodiment of the present invention, the sensor front-end circuit accurately converts the temperature change into a temperature change signal, and the CDC readout circuit generates a digital code according to the temperature change signal, and the digital code can be It is directly used as the input of the digital processing circuit without other multiplication and transformation operations, which improves the temperature detection accuracy of the temperature detector; at the same time, the switched capacitor module in the CDC readout circuit can directly eliminate the nonlinear offset error in the circuit, No need for other calibration techniques, by adjusting the capacitance values of the first trimmer capacitor and the second trimmer capacitor, the error charge imbalance phenomenon that occurs when the MOS switch is turned on or off can be avoided, and the circuit structure of the CDC readout circuit is simplified. The utility model has stronger practicability; thereby effectively overcoming the disadvantages in the prior art that the temperature sensor has low precision for temperature detection, the structure of the CDC readout circuit is too complicated and the practicability is low.

需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体与另一个实体区分开来,而不一定要求或者暗示这些实体之间存在任何这种实际的关系或者顺序。而且术语“包括”、“包含”或者任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的产品或者结构所固有的要素。在没有更多限制的情况下,由语句“包括……”或者“包含……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的要素。此外,在本文中,“大于”、“小于”、“超过”等理解为不包括本数;“以上”、“以下”、“以内”等理解为包括本数。It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity from another, and do not necessarily require or imply any such actual relationship between these entities. relationship or sequence. Also the terms "comprises", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion such that elements inherent in a product or structure comprising a series of elements are included. Without further limitations, an element defined by the phrase "comprising..." or "comprising..." does not exclude the presence of additional elements in the process, method, article or terminal device comprising said element. In addition, in this article, "greater than", "less than", "exceeding" and so on are understood as not including the original number; "above", "below", "within" and so on are understood as including the original number.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1. a kind of temperature sensor based on capacitive digital converter, which is characterized in that including:
Believe for generating the first temperature change signal, second temperature variable signal and the 3rd temperature change according to temperature variation Number sensor front end circuit;
It is connected with the sensor front end circuit, for according to first temperature change signal, second temperature variation letter Number with the 3rd temperature change signal generation digital code CDC reading circuits;And
It is connected with the CDC reading circuits, for the digital processing circuit exported to the digital code.
2. temperature sensor according to claim 1, which is characterized in that the CDC reading circuits include:
Its signal input part is connected with the sensor front end circuit, for eliminating the switching capacity module of offset error;
It is connected with the signal output part of the switching capacity module, for the voltage ratio letter generated to the switching capacity module Number mutual conductance amplification module being amplified;And
Input terminal is connected with mutual conductance amplification module, for generating a quantization mould of digital code according to the voltage Ratio signal Block.
3. temperature sensor according to claim 1, which is characterized in that the switching capacity module includes:
It is connected with the sensor front end circuit, for according to first temperature change signal and the generation of the first clock signal First capacitance integral unit of the first charging charge;
It is connected with the sensor front end circuit, for according to first temperature change signal and second clock signal generation Second capacitance integral unit of the second charging charge;
It is connected with the sensor front end circuit, for according to the second temperature variable signal, the 3rd temperature change letter Number and the 3rd clock signal adjust the capacitive feedback unit of first charging charge and the second charging charge ratio;With And
First MOS switch pipe, the drain electrode of first MOS switch pipe and the first capacitance integral unit, second capacitance Integral unit and capacitive feedback unit connection, the grid of first MOS switch pipe connect the 4th clock signal, and described the The source electrode of one MOS switch pipe is the switching capacity module by signal output terminal.
4. temperature sensor according to claim 3, which is characterized in that the first capacitance integral unit includes:Second MOS switch pipe, the 3rd MOS switch pipe and the first trimmer;
The drain electrode of second MOS switch pipe is connected with the sensor front end circuit, the source electrode of second MOS switch pipe with And the drain electrode of the 3rd MOS switch pipe is connected with the first end of first trimmer, the source of the 3rd MOS switch pipe Pole is connected to common mode electrical level, and the second end of first trimmer is the output terminal of the first capacitance integral unit;
The grid of wherein described second MOS switch pipe and the grid of the 3rd MOS switch pipe connect first clock signal.
5. temperature sensor according to claim 3, which is characterized in that the second capacitance integral unit includes:4th MOS switch pipe, the 5th MOS switch pipe and the second trimmer;
The drain electrode of 4th MOS switch pipe is connected with the sensor front end circuit, the source electrode of the 4th MOS switch pipe, The drain electrode of 5th MOS switch pipe is connected with the first end of second trimmer, the source electrode of the 5th MOS switch pipe Common mode electrical level is connected to, the second end of second trimmer is the output terminal of the second capacitance integral unit;
The grid of 4th MOS switch pipe and the grid of the 5th MOS switch pipe connect the second clock signal.
6. temperature sensor according to claim 3, which is characterized in that the capacitive feedback unit includes:6th MOS is opened Guan Guan, the 7th MOS switch pipe, the 8th MOS switch pipe and the 3rd capacitance;
The drain electrode of 6th MOS switch pipe and the drain electrode of the 7th MOS switch pipe connect with the sensor front end circuit It connects, the source electrode of the 6th MOS switch pipe and the source electrode of the 7th MOS switch pipe and the first end of the 3rd capacitance connect It connects, the source electrode of the 8th MOS switch pipe is connected to common mode electrical level, the second end of the 3rd capacitance and the 8th MOS The drain electrode of switching tube is the output terminal of the capacitive feedback unit;
Grid, the grid of the 7th MOS switch pipe and the grid of the 8th MOS switch pipe of 6th MOS switch pipe Pole connects the 3rd clock signal.
7. temperature sensor according to claim 2, which is characterized in that the mutual conductance amplification module includes:4th capacitance And trsanscondutance amplifier;
The first end of 4th capacitance and the reverse input end of the trsanscondutance amplifier and the letter of the switching capacity module The connection of number output terminal, the noninverting input of the trsanscondutance amplifier are connected to common mode electrical level, the second end of the 4th capacitance with The output terminal connection of the trsanscondutance amplifier, the output terminal of the trsanscondutance amplifier are the output terminal of the mutual conductance amplification module.
8. temperature sensor according to claim 2, which is characterized in that a quantization modules include comparator and Latch;
The noninverting input of the comparator is connected with the mutual conductance amplification module, and the reverse input end of the comparator is connected to Common mode electrical level, the output terminal of the comparator are connected with the data signal input of the latch, the forward direction of the latch Output terminal and the signal output part that inverse output terminal is the CDC reading circuits, the clock signal input terminal of the latch connect 5th clock signal.
9. according to claim 1-8 any one of them temperature sensors, which is characterized in that the sensor front end circuit bag It includes:First current offset circuit, the second current offset circuit, the 3rd current offset circuit and,
For being amplified output to the voltage difference between the first current offset circuit and the second current offset circuit Operational amplifier;
For export the voltage signal of the voltage signal in the 3rd current offset circuit and the operational amplifier output terminal it The adder of sum;
Wherein described operational amplifier output terminal and the output that the output terminal of the adder is the sensor front end circuit End.
10. temperature sensor according to claim 9, which is characterized in that the first current offset circuit includes:First Current source and the first bipolar transistor;
The second current offset circuit includes:Second current source and the second bipolar transistor;
The 3rd current offset circuit includes:3rd current source and the 3rd bipolar transistor;
Wherein described first current source is connected between the emitter of power supply and first bipolar transistor, second electric current Source is connected between the emitter of power supply and second bipolar transistor, and the 3rd current source is connected to power supply and described the Between the emitter of three bipolar transistors, the base stage of first bipolar transistor, first bipolar transistor collector, The base stage of second bipolar transistor, the collector of second bipolar transistor, the base stage of the 3rd bipolar transistor And the grounded collector of the 3rd bipolar transistor;
The in-phase input end of the operational amplifier is connected with the emitter of second bipolar transistor, the operational amplifier Reverse input end be connected with the emitter of first bipolar transistor, the first input end of the adder and the described 3rd The emitter connection of bipolar transistor, the second input terminal of the adder are connected with the output terminal of the operational amplifier.
CN201711365478.4A 2017-12-18 2017-12-18 Temperature sensor based on capacitance-to-digital converter Active CN108106747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711365478.4A CN108106747B (en) 2017-12-18 2017-12-18 Temperature sensor based on capacitance-to-digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711365478.4A CN108106747B (en) 2017-12-18 2017-12-18 Temperature sensor based on capacitance-to-digital converter

Publications (2)

Publication Number Publication Date
CN108106747A true CN108106747A (en) 2018-06-01
CN108106747B CN108106747B (en) 2024-02-02

Family

ID=62210932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711365478.4A Active CN108106747B (en) 2017-12-18 2017-12-18 Temperature sensor based on capacitance-to-digital converter

Country Status (1)

Country Link
CN (1) CN108106747B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111525966A (en) * 2020-05-07 2020-08-11 江苏集萃智能集成电路设计技术研究所有限公司 Impedance calibration circuit applied to transmitter
CN112671408A (en) * 2020-12-29 2021-04-16 广东高云半导体科技股份有限公司 Temperature and voltage sensor, chip and electronic equipment
CN112782453A (en) * 2020-12-29 2021-05-11 广东高云半导体科技股份有限公司 Voltage sensor, chip and electronic equipment
CN112798125A (en) * 2020-12-29 2021-05-14 广东高云半导体科技股份有限公司 Temperature sensor, chip and electronic equipment
WO2022116400A1 (en) * 2020-12-03 2022-06-09 南京邮电大学 Low-power-consumption low-voltage digital temperature sensor

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4636738A (en) * 1986-02-03 1987-01-13 Motorola, Inc. Parasitic compensated switched capacitor integrator
US6008685A (en) * 1998-03-25 1999-12-28 Mosaic Design Labs, Inc. Solid state temperature measurement
JP2000022500A (en) * 1998-07-06 2000-01-21 Matsushita Electric Ind Co Ltd Switched capacitor circuit
US20100111137A1 (en) * 2008-10-31 2010-05-06 Chih-Chia Chen Temperature sensing circuit using cmos switch-capacitor
EP2295944A2 (en) * 2009-09-09 2011-03-16 Nxp B.V. Temperature sensor
WO2013177425A1 (en) * 2012-05-23 2013-11-28 Nanostim, Inc. Temperature sensor for a leadless cardiac pacemaker
US20150048886A1 (en) * 2013-08-14 2015-02-19 Nanya Technology Corporation Temperature detecting apparatus, switch capacitor apparatus and voltage integrating circuit thereof
CN104390715A (en) * 2014-10-15 2015-03-04 南通大学 Temperature conversion method and a low-power high-precision integrated temperature sensor
US9261415B1 (en) * 2014-09-22 2016-02-16 Infineon Technologies Ag System and method for temperature sensing
JP2016206039A (en) * 2015-04-24 2016-12-08 日立オートモティブシステムズ株式会社 Temperature sensor circuit
CN207866381U (en) * 2017-12-18 2018-09-14 深圳大学 A kind of temperature sensor based on capacitive digital converter

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4636738A (en) * 1986-02-03 1987-01-13 Motorola, Inc. Parasitic compensated switched capacitor integrator
US6008685A (en) * 1998-03-25 1999-12-28 Mosaic Design Labs, Inc. Solid state temperature measurement
JP2000022500A (en) * 1998-07-06 2000-01-21 Matsushita Electric Ind Co Ltd Switched capacitor circuit
US20100111137A1 (en) * 2008-10-31 2010-05-06 Chih-Chia Chen Temperature sensing circuit using cmos switch-capacitor
EP2295944A2 (en) * 2009-09-09 2011-03-16 Nxp B.V. Temperature sensor
WO2013177425A1 (en) * 2012-05-23 2013-11-28 Nanostim, Inc. Temperature sensor for a leadless cardiac pacemaker
US20150048886A1 (en) * 2013-08-14 2015-02-19 Nanya Technology Corporation Temperature detecting apparatus, switch capacitor apparatus and voltage integrating circuit thereof
US9261415B1 (en) * 2014-09-22 2016-02-16 Infineon Technologies Ag System and method for temperature sensing
CN104390715A (en) * 2014-10-15 2015-03-04 南通大学 Temperature conversion method and a low-power high-precision integrated temperature sensor
JP2016206039A (en) * 2015-04-24 2016-12-08 日立オートモティブシステムズ株式会社 Temperature sensor circuit
CN207866381U (en) * 2017-12-18 2018-09-14 深圳大学 A kind of temperature sensor based on capacitive digital converter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
R.LACOB BAKER等: "《CMOS电路设计•布局与仿真》", 机械工业出版社, pages: 559 - 567 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111525966A (en) * 2020-05-07 2020-08-11 江苏集萃智能集成电路设计技术研究所有限公司 Impedance calibration circuit applied to transmitter
WO2022116400A1 (en) * 2020-12-03 2022-06-09 南京邮电大学 Low-power-consumption low-voltage digital temperature sensor
US12332126B2 (en) 2020-12-03 2025-06-17 Nanjing University of Post and Telecommunications Low-power-consumption low-voltage digital temperature sensor
CN112671408A (en) * 2020-12-29 2021-04-16 广东高云半导体科技股份有限公司 Temperature and voltage sensor, chip and electronic equipment
CN112782453A (en) * 2020-12-29 2021-05-11 广东高云半导体科技股份有限公司 Voltage sensor, chip and electronic equipment
CN112798125A (en) * 2020-12-29 2021-05-14 广东高云半导体科技股份有限公司 Temperature sensor, chip and electronic equipment
CN112782453B (en) * 2020-12-29 2021-11-26 广东高云半导体科技股份有限公司 Voltage sensor, chip and electronic equipment

Also Published As

Publication number Publication date
CN108106747B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN108106747A (en) A kind of temperature sensor based on capacitive digital converter
CN107942787B (en) Analog signal multiplexing circuit and analog signal acquisition circuit
WO2021179212A1 (en) Temperature sensor, electronic apparatus, and temperature measurement system
CN103488227B (en) Band-gap reference voltage circuit
CN103837253B (en) A kind of CMOS temperature transmitter
CN102981545B (en) Band gap reference voltage circuit with high-order curvature compensation
CN112513649B (en) Circuit for measuring resistance
CN108225588A (en) A kind of temperature sensor and temperature checking method
CN102798749B (en) Current detection circuit
CN107390761A (en) A kind of CMOS integrated hall sensorses temperature-compensation circuit
CN106443128A (en) FA-level weak current signal measurement circuit
CN106291062B (en) A high-precision current detection circuit
CN101762336A (en) Current temperature sensor circuit for CMOS switch and control method thereof
CN207866381U (en) A kind of temperature sensor based on capacitive digital converter
CN102347758A (en) Slope compensation and summing circuit with configurable slope
WO2021077589A1 (en) Circuit and apparatus for measuring pulse-per-second signal time difference
CN117309171B (en) A low power and low cost digital CMOS temperature sensor
CN111007302B (en) Non-linear positive and negative peak detector
CN101739056B (en) Reference current generation circuit
CN102868405B (en) A kind of parallel analog-digital signal conversion device
CN206410790U (en) Phase self compensation infrared detector reading circuit
CN106301068A (en) A kind of digital driving power
CN108981940A (en) A kind of temperature sensor
CN207638639U (en) Circuit for linearly converting 0-10V voltage signal to 4-20mA current signal
CN104377761B (en) Self calibration symmetrical expression constant current capacitor charge and discharge circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant