CN104977029A - Temperature sensing circuit and its conversion circuit - Google Patents
Temperature sensing circuit and its conversion circuit Download PDFInfo
- Publication number
- CN104977029A CN104977029A CN201410129018.1A CN201410129018A CN104977029A CN 104977029 A CN104977029 A CN 104977029A CN 201410129018 A CN201410129018 A CN 201410129018A CN 104977029 A CN104977029 A CN 104977029A
- Authority
- CN
- China
- Prior art keywords
- transistor
- couples
- circuit
- input signal
- temperature
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title abstract description 80
- 230000001934 delay Effects 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 28
- 239000003990 capacitor Substances 0.000 description 27
- 230000003111 delayed effect Effects 0.000 description 20
- 230000000694 effects Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 101000685663 Homo sapiens Sodium/nucleoside cotransporter 1 Proteins 0.000 description 2
- 101000821827 Homo sapiens Sodium/nucleoside cotransporter 2 Proteins 0.000 description 2
- 102100023116 Sodium/nucleoside cotransporter 1 Human genes 0.000 description 2
- 102100021541 Sodium/nucleoside cotransporter 2 Human genes 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 239000002229 CNT20 Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 239000002041 carbon nanotube Substances 0.000 description 1
- 101150021225 cynS gene Proteins 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Landscapes
- Measuring Temperature Or Quantity Of Heat (AREA)
Abstract
本发明是有关一种温度感测电路及其转换电路,温度感测电路由第一转换电路接收一输入讯号,并依据一温度而延迟输入讯号,产生一延迟讯号;一计数电路接收延迟讯号与输入讯号,并依据时脉计数延迟讯号与输入讯号的时间差,产生一计数数据;以及一第二转换电路接收计数数据,并依据一温度对照表而对应计数数据产生一温度数据。如此,本发明不需使用不随温度变动而变动的延迟单元,而缩小整体电路面积,进而达到节省成本的目的。
The present invention relates to a temperature sensing circuit and a conversion circuit thereof. The temperature sensing circuit receives an input signal from a first conversion circuit, and delays the input signal according to a temperature to generate a delay signal; a counting circuit receives the delay signal and the input signal, and generates a counting data according to the time difference between the clock pulse counting delay signal and the input signal; and a second conversion circuit receives the counting data, and generates a temperature data corresponding to the counting data according to a temperature comparison table. In this way, the present invention does not need to use a delay unit that does not change with temperature changes, and reduces the overall circuit area, thereby achieving the purpose of saving costs.
Description
技术领域technical field
本发明是有关一种感测电路及其转换电路,其尤指一种温度感测电路及其转换电路。The present invention relates to a sensing circuit and its conversion circuit, in particular to a temperature sensing circuit and its conversion circuit.
背景技术Background technique
温度感测电路用于控制各式各样的集成电路功能,这些动态功能包括动态随机存取内存的更新频率和延迟单元的延迟时间,两者都随温度而变化,芯片温度传感器随着温度的变化而作调节或改变动态随机存取内存的更新的频率;同样的,芯片温度传感器也用于调节或稳定所发生的电路延迟时间的变化,电路延迟时间的稳定性对电路而言是很重要的,其取决于提供给正确电路应用上所需的电路延迟的精确性,例如一电路延迟连锁电路;另外,芯片温度感测电路也被寄与可以实现数字温度计应用的期望。Temperature sensing circuits are used to control a wide variety of integrated circuit functions. These dynamic functions include the update frequency of the dynamic random access memory and the delay time of the delay unit, both of which change with temperature. The chip temperature sensor changes with temperature. Changes to adjust or change the update frequency of the dynamic random access memory; similarly, the chip temperature sensor is also used to adjust or stabilize the changes in the circuit delay time, the stability of the circuit delay time is very important for the circuit It depends on the accuracy of the circuit delay provided for the correct circuit application, such as a circuit delay chain circuit; in addition, the chip temperature sensing circuit is also expected to realize the digital thermometer application.
由于温度感测电路占用部分具有其它整合功能的集成电路,那么这些整合的温度感测电路占用最小的芯片面积和消耗最少的芯片功率是非常重要的,此外,对整合的温度感测电路的其它重要设计参数则是温度测量本身的精确性。Since the temperature sensing circuit occupies part of the integrated circuit with other integrated functions, it is very important that these integrated temperature sensing circuits occupy the smallest chip area and consume the least chip power. In addition, other components of the integrated temperature sensing circuit An important design parameter is the accuracy of the temperature measurement itself.
请参阅图1,为习知技术的温度感测电路的电路图。如图所示,习知技术的温度感测电路9包含一第一延迟单元90、一第二延迟单元92与一与门94。第一延迟单元90接收一输入讯号START,并延迟输入讯号START而产生一第一延迟讯号T1,第二延迟单元92接收输入讯号START,并延迟输入讯号START而产生一第二延迟讯号T2,与门94接收第一延迟讯号T1与第二延迟讯号T2,并逻辑运算第一延迟讯号T1与第二延迟讯号T2而产生一温度讯号TOT。Please refer to FIG. 1 , which is a circuit diagram of a conventional temperature sensing circuit. As shown in the figure, the conventional temperature sensing circuit 9 includes a first delay unit 90 , a second delay unit 92 and an AND gate 94 . The first delay unit 90 receives an input signal START and delays the input signal START to generate a first delayed signal T 1 , the second delay unit 92 receives the input signal START and delays the input signal START to generate a second delayed signal T 2 , the AND gate 94 receives the first delayed signal T 1 and the second delayed signal T 2 , and performs logic operation on the first delayed signal T 1 and the second delayed signal T 2 to generate a temperature signal T OT .
请一并参阅图2,为习知技术的温度感测电路的波形图。如图所示,由于第一延迟单元90所输出的第一延迟讯号T1会随温度变动而变动,而第二延迟单元92所输出的第二延迟讯号T2并不会随温度变动而变动,所以第一延迟讯号T1与第二延迟讯号T2之间的差异就为含有温度因素的讯号,也就是说,与门94在第一延迟讯号T1的准位与第二延迟讯号T2的准位皆为高准位时,而产生温度讯号TOT,以得知温度大小。Please also refer to FIG. 2 , which is a waveform diagram of a conventional temperature sensing circuit. As shown in the figure, since the first delay signal T1 output by the first delay unit 90 will vary with the temperature change, but the second delay signal T2 output by the second delay unit 92 will not change with the temperature change , so the difference between the first delayed signal T1 and the second delayed signal T2 is a signal containing temperature factors, that is to say, the level of the AND gate 94 at the level of the first delayed signal T1 and the level of the second delayed signal T When the levels of 2 are all high levels, a temperature signal T OT is generated to know the temperature.
然而,不随温度变动而变动的第二延迟单元92的电路复杂,并且成本高,所以,习知技术的温度感测电路因使用不随温度变动而变动的第二延迟单元92而增加整体地电路面积,并且增加成本。However, the circuit of the second delay unit 92 that does not vary with temperature is complex and costly. Therefore, the temperature sensing circuit of the prior art increases the overall circuit area due to the use of the second delay unit 92 that does not vary with temperature. , and increase costs.
因此,如何针对上述问题而提出一种新颖温度感测电路及其转换电路,其可缩小整体的电路面积,并且节省成本,使可解决上述问题。Therefore, how to propose a novel temperature sensing circuit and its conversion circuit for the above problems, which can reduce the overall circuit area and save costs, so as to solve the above problems.
发明内容Contents of the invention
本发明的目的之一,在于提供一种温度感测电路及其转换电路,其不需使用不随温度变动而变动的延迟单元,而缩小整体电路面积,进而达到节省成本的目的。One of the objectives of the present invention is to provide a temperature sensing circuit and its conversion circuit, which does not need to use a delay unit that does not change with temperature, thereby reducing the overall circuit area, thereby achieving the purpose of cost saving.
本发明的目的之一,在于提供一种温度感测电路及其转换电路,其藉由一电容设置于一反相器与一输出端之间,以缩小整体电路面积,并增加温度感测的分辨率。One of the objectives of the present invention is to provide a temperature sensing circuit and its conversion circuit, which uses a capacitor arranged between an inverter and an output terminal to reduce the overall circuit area and increase the temperature sensing resolution.
为了达到上述所指称的各目的与功效,本发明揭示了一种温度感测电路,其包含一第一转换电路、一计数电路与一第二转换电路。第一转换电路接收一输入讯号,并依据一温度而延迟输入讯号,产生一延迟讯号;计数电路接收延迟讯号与输入讯号,并依据一时脉计数延迟讯号与输入讯号的时间差,产生一计数数据;第二转换电路接收计数数据,并依据一温度对照表而对应计数数据产生一温度数据。如此,本发明不需使用不随温度变动而变动的延迟单元,进而达到节省成本的目的。In order to achieve the aforementioned objects and effects, the present invention discloses a temperature sensing circuit, which includes a first conversion circuit, a counting circuit and a second conversion circuit. The first converting circuit receives an input signal, and delays the input signal according to a temperature to generate a delayed signal; the counting circuit receives the delayed signal and the input signal, and generates a counting data according to a time difference between the delayed signal and the input signal by counting a clock; The second conversion circuit receives the count data, and generates a temperature data corresponding to the count data according to a temperature comparison table. In this way, the present invention does not need to use a delay unit that does not vary with temperature, thereby achieving the purpose of cost saving.
再者,本发明的第一转换电路为一延迟电路,延迟电路包含一第一晶体管、一第二晶体管与一电容。第一晶体管的一第一端耦接一电源端,第一晶体管的一第二端耦接延迟电路的一输出端,第一晶体管的一控制端接收输入讯号;第二晶体管的一第一端耦接第一晶体管的第二端与输出端,第二晶体管的一第二端耦接一接地端,第二晶体管的一控制端接收输入讯号;电容的一端耦接电源端与第一晶体管的第一端,电容的另一端耦接输出端、第一晶体管第二端与第二晶体管的第一端。如此,本发明藉由电容而达到缩小整体电路面积,并增加温度感测的分辨率。Moreover, the first conversion circuit of the present invention is a delay circuit, and the delay circuit includes a first transistor, a second transistor and a capacitor. A first end of the first transistor is coupled to a power supply end, a second end of the first transistor is coupled to an output end of the delay circuit, a control end of the first transistor receives an input signal; a first end of the second transistor Coupling the second end of the first transistor and the output end, a second end of the second transistor is coupled to a ground end, a control end of the second transistor receives an input signal; one end of the capacitor is coupled to the power supply end and the first transistor The first terminal and the other terminal of the capacitor are coupled to the output terminal, the second terminal of the first transistor, and the first terminal of the second transistor. In this way, the present invention achieves reducing the overall circuit area and increasing the resolution of temperature sensing through the capacitance.
另外,本发明的延迟电路另一实施例也可包含一第一晶体管、一第二晶体管与一电容。第一晶体管的一第一端耦接一电源端,第一晶体管的一第二端耦接延迟电路的一输出端,第一晶体管的一控制端接收输入讯号;第二晶体管的一第一端耦接第一晶体管的第二端与输出端,第二晶体管的一第二端耦接一接地端,第二晶体管的一控制端接收输入讯号;电容的一端耦接电源端与第一晶体管的该第二端、第二晶体管的该第一端与输出端,电容的另一端耦接接地端。如此,本发明藉由电容而达到缩小整体电路面积,并增加温度感测的分辨率。In addition, another embodiment of the delay circuit of the present invention may also include a first transistor, a second transistor and a capacitor. A first end of the first transistor is coupled to a power supply end, a second end of the first transistor is coupled to an output end of the delay circuit, a control end of the first transistor receives an input signal; a first end of the second transistor Coupling the second end of the first transistor and the output end, a second end of the second transistor is coupled to a ground end, a control end of the second transistor receives an input signal; one end of the capacitor is coupled to the power supply end and the first transistor The second terminal, the first terminal and the output terminal of the second transistor, and the other terminal of the capacitor are coupled to the ground terminal. In this way, the present invention achieves reducing the overall circuit area and increasing the resolution of temperature sensing through the capacitance.
实施本发明产生的有益效果是:本发明的温度感测电路及其转换电路,温度感测电路由第一转换电路接收一输入讯号,并依据一温度而延迟输入讯号,产生一延迟讯号;一计数电路接收延迟讯号与输入讯号,并依据时脉计数延迟讯号与输入讯号的时间差,产生一计数数据;以及一第二转换电路接收计数数据,并依据一温度对照表而对应计数数据产生一温度数据。如此,本发明不需使用不随温度变动而变动的延迟单元,而缩小整体电路面积,进而达到节省成本的目的。The beneficial effects of implementing the present invention are: the temperature sensing circuit and its conversion circuit of the present invention, the temperature sensing circuit receives an input signal from the first conversion circuit, and delays the input signal according to a temperature to generate a delayed signal; The counting circuit receives the delay signal and the input signal, and generates a count data according to the time difference between the clock count delay signal and the input signal; and a second conversion circuit receives the count data, and generates a temperature corresponding to the count data according to a temperature comparison table data. In this way, the present invention does not need to use a delay unit that does not vary with temperature, thereby reducing the overall circuit area, thereby achieving the purpose of saving costs.
附图说明Description of drawings
图1为习知技术的温度感测电路的电路图。FIG. 1 is a circuit diagram of a conventional temperature sensing circuit.
图2为习知技术的温度感测电路的波形图。FIG. 2 is a waveform diagram of a conventional temperature sensing circuit.
图3为本发明的一实施例的温度感测电路的电路图。FIG. 3 is a circuit diagram of a temperature sensing circuit according to an embodiment of the present invention.
图4为本发明的一第一实施例的温度感测电路的波形图。FIG. 4 is a waveform diagram of a temperature sensing circuit according to a first embodiment of the present invention.
图5为本发明的一第二实施例的温度感测电路的波形图。FIG. 5 is a waveform diagram of a temperature sensing circuit according to a second embodiment of the present invention.
图6A为本发明的一第一实施例的第一转换电路的电路图。FIG. 6A is a circuit diagram of a first converting circuit according to a first embodiment of the present invention.
图6B为本发明的一第二实施例的第一转换电路的电路图。FIG. 6B is a circuit diagram of a first converting circuit according to a second embodiment of the present invention.
图6C为本发明的一第三实施例的第一转换电路的电路图。FIG. 6C is a circuit diagram of a first converting circuit according to a third embodiment of the present invention.
图7A为本发明的一第四实施例的第一转换电路的电路图。FIG. 7A is a circuit diagram of a first converting circuit according to a fourth embodiment of the present invention.
图7B为本发明的一第五实施例的第一转换电路的电路图。FIG. 7B is a circuit diagram of a first converting circuit according to a fifth embodiment of the present invention.
图7C为本发明的一第六实施例的第一转换电路的电路图。FIG. 7C is a circuit diagram of a first converting circuit according to a sixth embodiment of the present invention.
图8A为本发明的一第七实施例的第一转换电路的电路图。FIG. 8A is a circuit diagram of a first conversion circuit according to a seventh embodiment of the present invention.
图8B为本发明的一第八实施例的第一转换电路的电路图。FIG. 8B is a circuit diagram of a first converting circuit according to an eighth embodiment of the present invention.
图8C为本发明的一第九实施例的第一转换电路的电路图。FIG. 8C is a circuit diagram of a first converting circuit according to a ninth embodiment of the present invention.
图9A为本发明的一第十实施例的第一转换电路的电路图。FIG. 9A is a circuit diagram of a first converting circuit according to a tenth embodiment of the present invention.
图9B为本发明的一第十一实施例的第一转换电路的电路图。FIG. 9B is a circuit diagram of a first converting circuit according to an eleventh embodiment of the present invention.
图9C为本发明的一第十二实施例的第一转换电路的电路图。FIG. 9C is a circuit diagram of a first converting circuit according to a twelfth embodiment of the present invention.
【图号对照说明】[Description of drawing number comparison]
1、9 温度感测电路1.9 Temperature sensing circuit
10 第一转换电路10 The first conversion circuit
12、14 反相器12, 14 Inverter
120 第一晶体管120 first transistor
122 第二晶体管122 Second transistor
20 计数电路20 Counting circuit
200 逻辑单元200 Logical Units
202 计数单元202 Counting unit
30 第二转换电路30 Second conversion circuit
90 第一延迟单元90 The first delay unit
92 第二延迟单元92 Second delay unit
94 与门94 AND gate
START 输入讯号START input signal
T1 第一延迟讯号T 1 first delayed signal
T2 第二延迟讯号T 2 second delay signal
TOT 温度讯号T OT temperature signal
DA、DA1、DA2 延迟讯号DA, DA1, DA2 delayed signal
XR、XR1、XR2 差异讯号XR, XR1, XR2 Differential signal
CNT、CNT1、CNT2 计数数据CNT, CNT1, CNT2 count data
CLK 时脉CLK Clock
C、C1、C2 电容C, C1, C2 Capacitance
R、R1、R2 电阻R, R1, R2 resistors
IN 输入端IN input terminal
OUT 输出端OUT output terminal
VDD 电源端V DD power terminal
具体实施方式Detailed ways
在说明书及后续的申请专利范围当中使用了某些词汇来指称特定的组件。所属领域中具有通常知识者应可理解,硬件制造商可能会用不同的名词来称呼同一个组件。本说明书及后续的申请专利范围并不以名称的差异来作为区分组件的方式,而是以组件在功能上的差异来作为区分的准则。在通篇说明书及后续的请求项当中所提及的“包含”为一开放式的用语,故应解释成“包含但不限定电气连接手段。因此,若文中描述一第一装置耦接于一第于”。以外,“耦接”一词在此包含任何直接及间接的二装置,则代表该第一装置可直接电气连接于该第二装置,或透过其它装置或连接手段间接地电气连接至该第二装置。Certain terms are used in the specification and subsequent claims to refer to particular components. It should be understood by those skilled in the art that hardware manufacturers may refer to the same component by different terms. This specification and subsequent patent applications do not use the difference in name as a way to distinguish components, but use the difference in function of components as a criterion for distinguishing. The "comprising" mentioned in the entire specification and subsequent claims is an open term, so it should be interpreted as "including but not limited to electrical connection means. Therefore, if the text describes a first device coupled to a The first in ". In addition, the term "coupled" here includes any direct and indirect two devices, which means that the first device can be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices or connection means. Two devices.
为使贵审查委员对本发明的特征及所达成的功效有更进一步的了解与认识,谨佐以较佳的实施例及配合详细的说明,说明如后:In order to enable your review committee members to have a further understanding and understanding of the characteristics of the present invention and the achieved effects, I would like to provide preferred embodiments and detailed descriptions, as follows:
请参阅图3,为本发明的一实施例的温度感测电路的电路图。如图所示,本发明的温度感测电路1包含一第一转换电路10、一计数电路20与一第二转换电路30。Please refer to FIG. 3 , which is a circuit diagram of a temperature sensing circuit according to an embodiment of the present invention. As shown in the figure, the temperature sensing circuit 1 of the present invention includes a first conversion circuit 10 , a counting circuit 20 and a second conversion circuit 30 .
第一转换电路10接收一输入讯号START,并依据一温度而延迟输入讯号START,产生一延迟讯号DA,于本实施例中,第一转换电路10为一延迟电路。第一转换电路10会随温度变动而产生不同延迟时间的延迟讯号DA,例如当温度为30度时,第一转换电路10延迟输入讯号START于10豪秒(ms)后,产生延迟讯号DA;当温度为40度时,第一转换电路10则延迟输入讯号START于20豪秒(ms)后,产生延迟讯号DA,所以,第一转换电路10会依据不同的温度而产生不同延迟时间的延迟讯号DA,因此,第一转换电路10可以称为温度对时间的转换电路。The first conversion circuit 10 receives an input signal START, and delays the input signal START according to a temperature to generate a delayed signal DA. In this embodiment, the first conversion circuit 10 is a delay circuit. The first conversion circuit 10 will generate a delay signal DA with different delay times as the temperature changes. For example, when the temperature is 30 degrees, the first conversion circuit 10 delays the input signal START for 10 milliseconds (ms), and generates a delay signal DA; When the temperature is 40 degrees, the first conversion circuit 10 delays the input signal START by 20 milliseconds (ms) to generate a delay signal DA, so the first conversion circuit 10 will generate different delay times according to different temperatures The signal DA, therefore, the first conversion circuit 10 can be called a temperature-to-time conversion circuit.
计数电路20耦接第一转换电路10,计数电路20接收延迟讯号DA与输入讯号START,并依据一时脉CLK而计数延迟讯号DA与输入讯号START之间的时间差,产生一计数数据CNT。于此,计数电路20接收延迟讯号DA与输入讯号START,并比较延迟讯号DA与输入讯号START之间的差异,而依据时脉CLK而计数延迟讯号DA与输入讯号START之间延迟的时间差,而产生计数数据CNT,其中,由于第一转换电路10会依据不同温度而延迟不同时间产生延迟讯号DA,所以,计数电路20计数延迟讯号DA与输入讯号START之间的时间差而产生的计数数据,就包含温度的讯息。The counting circuit 20 is coupled to the first conversion circuit 10, and the counting circuit 20 receives the delay signal DA and the input signal START, and counts the time difference between the delay signal DA and the input signal START according to a clock CLK to generate a count data CNT. Here, the counting circuit 20 receives the delay signal DA and the input signal START, and compares the difference between the delay signal DA and the input signal START, and counts the delay time difference between the delay signal DA and the input signal START according to the clock CLK, and Generate counting data CNT, wherein, since the first conversion circuit 10 will delay different times to generate the delay signal DA according to different temperatures, the counting circuit 20 counts the time difference between the delay signal DA and the input signal START to generate the counting data. Contains temperature information.
第二转换电路30耦接计数电路20,第二转换电路接收计数数据CNT,并依据一温度对照表而对应计数数据CNT产生一温度数据。也就是说,第二转换电路30内建温度对照表,此温度对照表包含复数的计数数据CNT,而每一笔计数数据CNT皆对应一个温度,例如当计数数据CNT为20时,其所对应的温度为25度,所以第二转换电路30输出的温度数据为25度;当计数数据CNT为30时,其所对应温度则为30度,所以第二转换电路30所输出的温度数据为30度,因此本发明的第二转换电路30相当于时间对温度的转换电路。如此,本发明不需使用不随温度变动而变动的延迟电路,而缩小整体电路面积,进而达到节省成本的目的。The second converting circuit 30 is coupled to the counting circuit 20, and the second converting circuit receives the counting data CNT, and generates a temperature data corresponding to the counting data CNT according to a temperature comparison table. That is to say, the second conversion circuit 30 has a built-in temperature comparison table, and the temperature comparison table includes a plurality of count data CNT, and each count data CNT corresponds to a temperature, for example, when the count data CNT is 20, its corresponding The temperature is 25 degrees, so the temperature data output by the second conversion circuit 30 is 25 degrees; when the count data CNT is 30, the corresponding temperature is 30 degrees, so the temperature data output by the second conversion circuit 30 is 30 degrees. degree, so the second conversion circuit 30 of the present invention is equivalent to a time-to-temperature conversion circuit. In this way, the present invention does not need to use a delay circuit that does not change with temperature, so that the overall circuit area is reduced, thereby achieving the purpose of cost saving.
另外,由于温度对照表的温度对应曲线可以为一线性曲线,但不以此为限,例如当计数数据CNT分别为20、30与40时,则分别对应的温度为25度、30度与35度,所以,第二转换电路30可以利用内差运算的方式,得知分辨率更高的温度大小,也就是说,第二转换电路30所接收计数数据CNT在温度对照表中并无直接对应的温度时,第二转换电路30可以利用最接近所接收的计数数据CNT的二笔计数数据CNT所对应的温度数据,而利用内差运算的方式得知所接收计数数据CNT对应的温度数据,例如,温度对照表中的计数数据CNT分别为20、30与40时,而分别对应的温度为25度、30度与35度。当第二转换电路30所接收的计数数据CNT为25时,由于温度对照表中并无计数数据CNT为25所对应的温度,此时,第二转换电路30即可利用内差运算的方式,先取得最接近计数数据CNT为25的二笔计数数据CNT分别为20与30所对应的温度数据为25与30,再以进行内差运算得知计数数据CNT为25所对应的温度为27.5度。如此,本发明即可藉由内差运算的方式而增加温度感测的分辨率。In addition, since the temperature corresponding curve of the temperature comparison table can be a linear curve, but not limited thereto, for example, when the counting data CNT are 20, 30 and 40 respectively, the corresponding temperatures are 25 degrees, 30 degrees and 35 degrees respectively. Therefore, the second conversion circuit 30 can use the method of internal difference calculation to know the temperature with higher resolution. That is to say, the count data CNT received by the second conversion circuit 30 does not directly correspond to the temperature comparison table. temperature, the second conversion circuit 30 can use the temperature data corresponding to the two count data CNT closest to the received count data CNT, and use the inner difference operation to obtain the temperature data corresponding to the received count data CNT, For example, the counting data CNT in the temperature comparison table are respectively 20, 30 and 40 hours, and the corresponding temperatures are 25 degrees, 30 degrees and 35 degrees. When the counting data CNT received by the second conversion circuit 30 is 25, since there is no temperature corresponding to the counting data CNT being 25 in the temperature comparison table, at this moment, the second conversion circuit 30 can use the method of internal difference operation, First obtain the two count data CNTs closest to 25 with CNT 20 and 30 corresponding to temperature data 25 and 30 respectively, and then perform interpolation to obtain that the temperature corresponding to count data CNT 25 is 27.5 degrees . In this way, the present invention can increase the resolution of temperature sensing by way of interpolation operation.
此外,本实施例的计数电路20包含一逻辑单元200与一计数单元202。逻辑单元200接收延迟讯号DA与输入讯号START,并依据延迟讯号DA与输入讯号START间的时间差,而产生一差异讯号XR(如图4所示),于本实施例中,逻辑单元200为一互斥或门,所以,逻辑单元200所产生的差异讯号XR即是表示延迟讯号DA与输入讯号START间的时间差。计数单元202耦接逻辑单元200,计数单元202接收差异讯号XR,并依据时脉CLK计数差异讯号XR,产生计数数据CNT。In addition, the counting circuit 20 of this embodiment includes a logic unit 200 and a counting unit 202 . The logic unit 200 receives the delay signal DA and the input signal START, and generates a difference signal XR (as shown in FIG. 4 ) according to the time difference between the delay signal DA and the input signal START. In this embodiment, the logic unit 200 is a Mutually exclusive OR gate, therefore, the difference signal XR generated by the logic unit 200 represents the time difference between the delay signal DA and the input signal START. The counting unit 202 is coupled to the logic unit 200. The counting unit 202 receives the difference signal XR, and counts the difference signal XR according to the clock CLK to generate count data CNT.
请一并参阅图4,为本发明的一第一实施例的温度感测电路的波形图。如图所示,输入讯号START传送至第一转换电路10,第一转换电路10延迟输入讯号START,产生延迟讯号DA,逻辑单元200接收延迟讯号DA与输入讯号START,而进行逻辑运算产生差异讯号XR,于本实施例中,逻辑单元200为互斥或门,所以,在输入讯号START的准位为高准位,而延迟讯号DA的准位为低准位时,则差异讯号XR的准位为高准位,所以差异讯号XR的高准位的部分即为温度所造成的时间,计数单元202依据依据时脉CLK计数差异讯号XR的高准位的部位,所产生的计数数据CNT即可相当于温度所造成的时间,的后再经过第二转换电路30从温度对照表找出计数数据CNT所对应的温度,在本实施例中,计数数据CNT为5,而对应计数数据CNT的温度为17.5度。Please also refer to FIG. 4 , which is a waveform diagram of a temperature sensing circuit according to a first embodiment of the present invention. As shown in the figure, the input signal START is transmitted to the first conversion circuit 10, and the first conversion circuit 10 delays the input signal START to generate a delayed signal DA. The logic unit 200 receives the delayed signal DA and the input signal START, and performs logic operations to generate a difference signal. XR, in this embodiment, the logic unit 200 is a mutually exclusive OR gate. Therefore, when the level of the input signal START is a high level and the level of the delay signal DA is a low level, the level of the difference signal XR The bit is a high level, so the high level part of the difference signal XR is the time caused by the temperature. The counting unit 202 counts the high level part of the difference signal XR according to the clock CLK, and the generated count data CNT is It can be equivalent to the time caused by the temperature, and then the temperature corresponding to the count data CNT is found from the temperature comparison table through the second conversion circuit 30. In this embodiment, the count data CNT is 5, and the corresponding count data CNT The temperature is 17.5 degrees.
请一并参阅图5,为本发明的一第二实施例的温度感测电路的波形图。如图所示,本实施例与图4的实施例不同的处,在于本实施例的第一转换电路10在不同温度产生了延迟讯号DA1与DA2,而经由逻辑单元200分别产生差异讯号XR1与差异讯号XR2,由于温度对第一转换电路10的延迟时间是成线性的,所以,计数单元202分别计数差异讯号XR1与差异讯号XR2的计数数据CNT1与CNT2分别5和10,所以经过第二转换电路30所产生的温度数据即为17.5度与20度。Please also refer to FIG. 5 , which is a waveform diagram of a temperature sensing circuit according to a second embodiment of the present invention. As shown in the figure, the difference between this embodiment and the embodiment of FIG. 4 is that the first conversion circuit 10 of this embodiment generates delay signals DA1 and DA2 at different temperatures, and the logic unit 200 generates difference signals XR1 and DA2 respectively. For the difference signal XR2, since the temperature is linear to the delay time of the first conversion circuit 10, the counting unit 202 counts the count data CNT1 and CNT2 of the difference signal XR1 and the difference signal XR2 respectively by 5 and 10, so after the second conversion The temperature data generated by the circuit 30 are 17.5 degrees and 20 degrees.
请参阅图6A,为本发明的一第一实施例的第一转换电路的电路图。如图所示,本发明的第一转换电路10为延迟电路,于本实施例中,延迟电包含一级的延迟单元,此延迟单元包含一反相器12与一电容C。反相器12的一输入端IN接收输入讯号START,并反相输入讯号START;电容C耦接反相器12,并依据温度而延迟反相器12反相后的输入讯号START而产生延迟讯号DA。Please refer to FIG. 6A , which is a circuit diagram of a first converting circuit according to a first embodiment of the present invention. As shown in the figure, the first conversion circuit 10 of the present invention is a delay circuit. In this embodiment, the delay circuit includes a one-stage delay unit, and the delay unit includes an inverter 12 and a capacitor C. An input terminal IN of the inverter 12 receives the input signal START, and inverts the input signal START; the capacitor C is coupled to the inverter 12, and delays the inverted input signal START of the inverter 12 according to the temperature to generate a delay signal da.
承上所述,反相器12包含一第一晶体管120与一第二晶体管122。第一晶体管120的一第一端耦接一电源端VDD,第一晶体管120的一第二端耦接一输出端OUT,第一晶体管120的一控制端接收输入讯号START;第二晶体管122的一第一端耦接第一晶体管120的第二端与输出端OUT,第二晶体管122的一第二端耦接一接地端。第二晶体管的一控制端接收输入讯号START。于本实施例中,电容C的一端耦接电源端VDD与第一晶体管120的第一端,电容C的另一端耦接输出端OUT、第一晶体管120的第二端与第二晶体管122的第一端。其中,电容C具有一正温度系数,即当温度上升时,电容C的电容量也对应增加,反之,当温度下降时,电容C的电容量也对应减少。As mentioned above, the inverter 12 includes a first transistor 120 and a second transistor 122 . A first terminal of the first transistor 120 is coupled to a power supply terminal V DD , a second terminal of the first transistor 120 is coupled to an output terminal OUT, and a control terminal of the first transistor 120 receives the input signal START; the second transistor 122 A first terminal of the first transistor 122 is coupled to the second terminal of the first transistor 120 and the output terminal OUT, and a second terminal of the second transistor 122 is coupled to a ground terminal. A control terminal of the second transistor receives the input signal START. In this embodiment, one end of the capacitor C is coupled to the power supply terminal V DD and the first end of the first transistor 120 , and the other end of the capacitor C is coupled to the output end OUT, the second end of the first transistor 120 and the second transistor 122 the first end of . Wherein, the capacitor C has a positive temperature coefficient, that is, when the temperature rises, the capacitance of the capacitor C increases correspondingly, and conversely, when the temperature drops, the capacitance of the capacitor C decreases accordingly.
基于上述,由于本实施例主要使用的是反相器12,并在输出端OUT使用具有正温度系数的电容C,当温度上升时,第一晶体管120与第二晶体管122的迁移率(Mobility)会下降,因此等效通道电阻值会上升,另外由于输出端OUT的电容C为正温度系数,如此电容C的电容值也会随温度上生而增加,故,整体第一转换电路10的延迟时间随温度上升的增加量可近似于通道电阻乘上输出端OUT的电容C的电容值。反之,温度下降亦同,第一转换电路10的延迟时间会随温度下降而减少。如此,本发明藉由电容C设置于反相器12与输出端OUT之间,以缩小整体电路面积,进而达到节省成本的目的。Based on the above, since this embodiment mainly uses the inverter 12, and uses a capacitor C with a positive temperature coefficient at the output terminal OUT, when the temperature rises, the mobility (Mobility) of the first transistor 120 and the second transistor 122 will decrease, so the equivalent channel resistance value will increase. In addition, since the capacitance C of the output terminal OUT has a positive temperature coefficient, the capacitance value of the capacitance C will also increase with the temperature rise. Therefore, the overall delay of the first conversion circuit 10 The increase of time with temperature rise can be approximated by multiplying the channel resistance by the capacitance value of the capacitor C at the output terminal OUT. Conversely, the same goes for temperature drop, and the delay time of the first converting circuit 10 will decrease as the temperature drops. In this way, in the present invention, the capacitor C is arranged between the inverter 12 and the output terminal OUT to reduce the overall circuit area, thereby achieving the purpose of cost saving.
另外,上述本发明所述的正温度系数并不一定仅指电容C,并且电容C可以采用MIM,空乏型MOS,增强型MOS来做,达成正温度系数或负温度系数皆可。而本发明所述的正温度系数是指整体第一转换电路10的特性为正温度系数,也就是说,反相器12与电容C组合后的特性造就第一转换电路10的特性为正温度系数。反之,负温度系数也是指整体第一转换电路10而言为负温度系数。In addition, the above-mentioned positive temperature coefficient in the present invention does not necessarily only refer to the capacitor C, and the capacitor C can be made of MIM, depletion type MOS, or enhancement type MOS to achieve a positive temperature coefficient or a negative temperature coefficient. The positive temperature coefficient mentioned in the present invention means that the characteristic of the first conversion circuit 10 as a whole is a positive temperature coefficient. coefficient. Conversely, the negative temperature coefficient also means that the overall first conversion circuit 10 has a negative temperature coefficient.
请一并参阅图6B,为本发明的一第二实施例的第一转换电路的电路图。如图所示,本实施例与图6A的实施例不同的处,在于本实施例的电容C由场效晶体管组成等效的电容C,而本实施例的电容C也会随温度变动而改变。Please also refer to FIG. 6B , which is a circuit diagram of a first conversion circuit according to a second embodiment of the present invention. As shown in the figure, the difference between this embodiment and the embodiment of FIG. 6A is that the capacitance C of this embodiment is composed of field effect transistors to form an equivalent capacitance C, and the capacitance C of this embodiment will also change with temperature. .
请一并参阅图6C,为本发明的一第三实施例的第一转换电路的电路图。如图所示,本实施例与图6A与图6B的实施例不同的处,在于本实施例的第一转换电路10更包含一电组R。电阻R的一端耦接第一晶体管120的第二端与第二晶体管122的第一端,电阻R的另一端耦接输出端OUT与电容C。如此,电阻R可以增加充放电路径的电阻值。Please also refer to FIG. 6C , which is a circuit diagram of a first conversion circuit according to a third embodiment of the present invention. As shown in the figure, the difference between this embodiment and the embodiment shown in FIG. 6A and FIG. 6B is that the first conversion circuit 10 of this embodiment further includes a power group R. As shown in FIG. One terminal of the resistor R is coupled to the second terminal of the first transistor 120 and the first terminal of the second transistor 122 , and the other terminal of the resistor R is coupled to the output terminal OUT and the capacitor C. In this way, the resistor R can increase the resistance value of the charging and discharging path.
此外,由于电阻R可以为poly电阻,well电阻,high R poly电阻,等不同材料所形成的电阻,其温度系数都可能是正负,然而以本发明来说,是要看反相器12、电容C与电阻R三者整体的第一转换电路10,其效应是正温度系数还是负温度系数。所以,不管反相器12、电容C与电阻R为正温度系数还是负温度系数,主要还是要看反相器12、电容C与电阻R三者组合后,整体的第一转换电路10的效应是正温度系数还是负温度系数。In addition, since the resistance R can be poly resistance, well resistance, high R poly resistance, and other resistance formed by different materials, its temperature coefficient may be positive or negative. However, in the present invention, it depends on the inverter 12, Whether the effect of the first conversion circuit 10 integrated with the capacitor C and the resistor R is a positive temperature coefficient or a negative temperature coefficient. Therefore, regardless of whether the inverter 12, capacitor C, and resistor R have a positive temperature coefficient or a negative temperature coefficient, it mainly depends on the effect of the overall first conversion circuit 10 after the inverter 12, capacitor C, and resistor R are combined. Is it a positive temperature coefficient or a negative temperature coefficient.
请一并参阅图7A、图7B与图7C,分别为本发明的一第四、五与六实施例的第一转换电路的电路图。如图所示,第四、五与六实施例的第一转换电路分别对应第一、二与三实施例的第一转换电路,而与第一、二与三实施例的第一转换电路不同的处,在于第四、五与六实施例的第一转换电路的电容C的一端耦接电源端VDD与第一晶体管120的第二端、第二晶体管122的第一端与输出端OUT,电容C的另一端耦接接地端,其动作原理与第一实施例的第一转换电路10相同,于此就不再加以赘述。Please refer to FIG. 7A , FIG. 7B and FIG. 7C , which are circuit diagrams of the first conversion circuit of a fourth, fifth and sixth embodiments of the present invention, respectively. As shown in the figure, the first conversion circuits of the fourth, fifth and sixth embodiments respectively correspond to the first conversion circuits of the first, second and third embodiments, and are different from the first conversion circuits of the first, second and third embodiments In the fourth, fifth and sixth embodiments, one end of the capacitor C of the first conversion circuit is coupled to the power supply terminal VDD and the second terminal of the first transistor 120, the first terminal of the second transistor 122 and the output terminal OUT, The other end of the capacitor C is coupled to the ground, and its operation principle is the same as that of the first conversion circuit 10 of the first embodiment, so it will not be repeated here.
请一并参阅图8A至图8C,分别为一第七、八与九实施例的第一转换电路的电路图。如图所示,第七、八与九实施例的第一转换电路10和第一、二与三实施例的第一转换电路10不同的处,在于第七、八与九实施例的第一转换电路10更包含一级的反相器14与电容C2,以增加第一转换电路10的延迟时间,其结构皆与第一、二与三实施例的第一转换电路10相同,于此就不再加以赘述。Please also refer to FIG. 8A to FIG. 8C , which are circuit diagrams of the first conversion circuits of the seventh, eighth and ninth embodiments, respectively. As shown in the figure, the difference between the first conversion circuit 10 of the seventh, eighth and ninth embodiments and the first conversion circuit 10 of the first, second and third embodiments lies in the first conversion circuit 10 of the seventh, eighth and ninth embodiments. The conversion circuit 10 further includes a one-stage inverter 14 and a capacitor C2 to increase the delay time of the first conversion circuit 10, and its structure is the same as that of the first conversion circuit 10 of the first, second and third embodiments, hereby No more details.
基于上述可知,本发明的第一转换电路10除了可以是一级的延迟单元的外,第一转换电路10也可以二级或甚至是多级的延迟单元。Based on the above, it can be known that the first conversion circuit 10 of the present invention can be a one-stage delay unit, and the first conversion circuit 10 can also be a two-stage or even multi-stage delay unit.
请一并参阅图9A至图9C,分别为一第十、十一与十二实施例的第一转换电路的电路图。如图所示,第十、十一与十二实施例的第一转换电路10和第四、五与六实施例的第一转换电路10不同的处,在于第十、十一与十二实施例的第一转换电路10更包含一级的反相器14与电容C2,以增加第一转换电路10的延迟时间,其结构皆与第四、五与六实施例的第一转换电路10相同,于此就不再加以赘述。Please also refer to FIG. 9A to FIG. 9C , which are circuit diagrams of the first conversion circuits of the tenth, eleventh and twelfth embodiments, respectively. As shown in the figure, the difference between the first conversion circuit 10 of the tenth, eleventh and twelfth embodiment and the first conversion circuit 10 of the fourth, fifth and sixth embodiment is that the tenth, eleventh and twelfth embodiment The first conversion circuit 10 of the example further includes a one-stage inverter 14 and a capacitor C2 to increase the delay time of the first conversion circuit 10, and its structure is the same as that of the first conversion circuit 10 of the fourth, fifth and sixth embodiments , will not be repeated here.
综上所述,本发明是有关一种温度感测电路及其转换电路,温度感测电路由第一转换电路接收一输入讯号,并依据一温度而延迟输入讯号,产生一延迟讯号;一计数电路接收延迟讯号与输入讯号,并依据时脉计数延迟讯号与输入讯号的时间差,产生一计数数据;以及一第二转换电路接收计数数据,并依据一温度对照表而对应计数数据产生一温度数据。如此,本发明不需使用不随温度变动而变动的延迟单元,而缩小整体电路面积,进而达到节省成本的目的。In summary, the present invention relates to a temperature sensing circuit and its conversion circuit. The temperature sensing circuit receives an input signal from the first conversion circuit, and delays the input signal according to a temperature to generate a delayed signal; a counting The circuit receives the delay signal and the input signal, and generates a count data according to the time difference between the clock count delay signal and the input signal; and a second conversion circuit receives the count data, and generates a temperature data corresponding to the count data according to a temperature comparison table . In this way, the present invention does not need to use a delay unit that does not vary with temperature, thereby reducing the overall circuit area, thereby achieving the purpose of saving costs.
上文仅为本发明的较佳实施例而已,并非用来限定本发明实施的范围,凡依本发明权利要求范围所述的形状、构造、特征及精神所为的均等变化与修饰,均应包括于本发明的权利要求范围内。The above is only a preferred embodiment of the present invention, and is not intended to limit the implementation scope of the present invention. All equivalent changes and modifications made in accordance with the shape, structure, characteristics and spirit described in the scope of the claims of the present invention shall be included in the scope of the claims of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410129018.1A CN104977029A (en) | 2014-04-01 | 2014-04-01 | Temperature sensing circuit and its conversion circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410129018.1A CN104977029A (en) | 2014-04-01 | 2014-04-01 | Temperature sensing circuit and its conversion circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104977029A true CN104977029A (en) | 2015-10-14 |
Family
ID=54273765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410129018.1A Pending CN104977029A (en) | 2014-04-01 | 2014-04-01 | Temperature sensing circuit and its conversion circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104977029A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1527386A (en) * | 2003-03-07 | 2004-09-08 | ��ʽ���������Ƽ� | Semiconductor integrated circuit of temperature detecting circuit with simple structure |
CN101825941A (en) * | 2010-04-13 | 2010-09-08 | 威盛电子股份有限公司 | Power supply system, electronic system and power starting method thereof |
US8324950B2 (en) * | 2010-09-23 | 2012-12-04 | Samsung Electro-Mechanics Co., Ltd. | Schmitt trigger circuit operated based on pulse width |
CN203206197U (en) * | 2012-03-27 | 2013-09-18 | 成都芯源系统有限公司 | Delay circuit and circuit system with same |
-
2014
- 2014-04-01 CN CN201410129018.1A patent/CN104977029A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1527386A (en) * | 2003-03-07 | 2004-09-08 | ��ʽ���������Ƽ� | Semiconductor integrated circuit of temperature detecting circuit with simple structure |
CN101825941A (en) * | 2010-04-13 | 2010-09-08 | 威盛电子股份有限公司 | Power supply system, electronic system and power starting method thereof |
US8324950B2 (en) * | 2010-09-23 | 2012-12-04 | Samsung Electro-Mechanics Co., Ltd. | Schmitt trigger circuit operated based on pulse width |
CN203206197U (en) * | 2012-03-27 | 2013-09-18 | 成都芯源系统有限公司 | Delay circuit and circuit system with same |
Non-Patent Citations (2)
Title |
---|
POKI CHEN等: "A Time-to-Digital-Converter-Based CMOS Smart Temperature Sensor", 《IEEE JOURNAL OF SOLID-STATE CIRCUITS》 * |
张一等: "《测量与控制电路》", 31 December 2009, 北京航空航天大学出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104124954B (en) | Level conversion circuit and operation method thereof | |
US8261619B2 (en) | Time to digital converting circuit and pressure sensing device using the same | |
US8953364B2 (en) | Voltage rail noise sensing circuit and method | |
US7579861B2 (en) | Impedance-controlled pseudo-open drain output driver circuit and method for driving the same | |
TWI542153B (en) | Relaxation oscillator | |
US8749269B2 (en) | CML to CMOS conversion circuit | |
US20020024368A1 (en) | Flip-flop circuits having digital-to-time conversion latches therein | |
CN103066989B (en) | Single power electric level shift circuit with digital filtering function | |
CN105043580B (en) | single-chip temperature sensing device | |
US7332937B2 (en) | Dynamic logic with adaptive keeper | |
CN106205689A (en) | Differential sensing circuit with dynamic reference voltage for single-ended bit line memory | |
US10320430B2 (en) | Transmitter with power supply rejection | |
CN114362745A (en) | 50% duty cycle detector and method thereof | |
CN106990367A (en) | SoC on-chip power supply noise monitoring systems | |
US9178499B2 (en) | Low-power offset-stored latch | |
Tsai et al. | A nano-scale 2ŨVDD I/O buffer with encoded PV compensation technique | |
CN101567680B (en) | Delay circuit with fixed delay time independent of temperature | |
CN104977029A (en) | Temperature sensing circuit and its conversion circuit | |
TWI585378B (en) | Temperature sensing circuit and its conversion circuit | |
Wang et al. | 2.5 GHz data rate 2× VDD digital output buffer design realized by 16-nm FinFET CMOS | |
CN101860351B (en) | Pulse Interference Elimination Circuit | |
US10656188B2 (en) | Circuit and method for load detection using switched capacitors | |
CN111224644A (en) | A low-power D flip-flop | |
JP3134335U (en) | Delay circuit | |
CN103746697B (en) | Analog to digital conversion circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151014 |