TWI807429B - Temperature sensing circuit and operating method thereof - Google Patents

Temperature sensing circuit and operating method thereof Download PDF

Info

Publication number
TWI807429B
TWI807429B TW110135257A TW110135257A TWI807429B TW I807429 B TWI807429 B TW I807429B TW 110135257 A TW110135257 A TW 110135257A TW 110135257 A TW110135257 A TW 110135257A TW I807429 B TWI807429 B TW I807429B
Authority
TW
Taiwan
Prior art keywords
temperature
signal
circuit
voltage
temperature sensing
Prior art date
Application number
TW110135257A
Other languages
Chinese (zh)
Other versions
TW202314210A (en
Inventor
蔣汝安
Original Assignee
華邦電子股份有限公司
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 華邦電子股份有限公司 filed Critical 華邦電子股份有限公司
Priority to TW110135257A priority Critical patent/TWI807429B/en
Publication of TW202314210A publication Critical patent/TW202314210A/en
Application granted granted Critical
Publication of TWI807429B publication Critical patent/TWI807429B/en

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Measuring Temperature Or Quantity Of Heat (AREA)
  • Fire-Detection Mechanisms (AREA)

Abstract

A temperature sensing circuit, comprising: a searching-control circuit, configured to generate a reference-voltage selection signal according to a plurality of control signals; a voltage reference circuit, configured to select a first reference voltage from a plurality of candidate reference voltages according to the reference-voltage selection signal, and to provide a second reference voltage; a converse-to-absolute-temperature (CTAT) voltage circuit, configured to convert the second reference voltage into a first comparison voltage; a digital-to-analog converter (DAC) circuit, configured to convert the first reference voltage into a second comparison voltage; a comparison circuit, configured to compare the first comparison voltage and the second comparison voltage to generate a comparison-result signal; and a successive approximation register (SAR) control circuit, configured to output each bit of a temperature-segment signal of an operating temperature of the temperature sensing circuit according to the comparison-result signal. The control signals include the temperature-segment signal.

Description

溫度感測電路及其操作方法 Temperature sensing circuit and method of operation thereof

本發明係有關於溫度感測電路,特別是有關於可改善局部非線性失準現象的一種溫度感測電路及其操作方法。 The present invention relates to a temperature sensing circuit, in particular to a temperature sensing circuit capable of improving local non-linear misalignment and its operating method.

在現今不同應用的積體電路中,往往會配置溫度感測電路以偵測積體電路的操作溫度。舉例來說,溫度感測電路可用於偵測積體電路之操作溫度是否過高以啟動電路的過熱保護機制,藉以確保電路的工作效能。然而,受到製程及模擬環境的複雜交互影響,在積體電路的操作溫度區間中,往往會遭遇到溫度感測電路的局部非線性(local non-linearity)的問題,以致於造成操作溫度偵測失準。 In today's integrated circuits for different applications, a temperature sensing circuit is often configured to detect the operating temperature of the integrated circuit. For example, the temperature sensing circuit can be used to detect whether the operating temperature of the integrated circuit is too high to activate the overheating protection mechanism of the circuit, so as to ensure the working performance of the circuit. However, due to the complex interaction between the manufacturing process and the simulation environment, in the operating temperature range of the integrated circuit, the problem of local non-linearity of the temperature sensing circuit is often encountered, resulting in inaccurate detection of the operating temperature.

有鑑於此,本發明係提供一種溫度感測電路及其操作方法以解決上述問題。 In view of this, the present invention provides a temperature sensing circuit and its operation method to solve the above problems.

本發明係提供一種溫度感測電路,包括:一搜尋控制電路,用以依據複數個控制信號以產生一參考電壓選擇信號;一電壓參考電路,用以依據該參考電壓選擇信號以從複數個候選參考電壓選擇出一第一參考電壓,並提供一第二參考電壓;一溫度反向電壓電路,用以將該第二參考電壓轉換為一第一比較電壓;一數位至類比轉換電路,用以將該第一參考電壓轉換為一第二比較電壓;一比較電路,用以比較該第一比較電壓及該第二比較電壓以產生一比較結果信號;以及一漸近式記錄器控制電路,用以依據該比較結果信號以循序輸出該溫度感測電路之操作溫度的一溫度區間信號之各位元,其中該等控制信號包括該溫度區間信號。 The present invention provides a temperature sensing circuit, comprising: a search control circuit, used to generate a reference voltage selection signal according to a plurality of control signals; a voltage reference circuit, used to select a first reference voltage from a plurality of candidate reference voltages according to the reference voltage selection signal, and provide a second reference voltage; a temperature reverse voltage circuit, used to convert the second reference voltage into a first comparison voltage; a digital-to-analog conversion circuit, used to convert the first reference voltage into a second comparison voltage; The second comparison voltage is used to generate a comparison result signal; and an asymptotic recorder control circuit is used to sequentially output the bits of a temperature interval signal of the operating temperature of the temperature sensing circuit according to the comparison result signal, wherein the control signals include the temperature interval signal.

本發明更提供一種溫度感測電路的操作方法,包括:依據複數個控制信號以產生一參考電壓選擇信號;依據該參考電壓選擇信號以從複數個候選參考電壓選擇出一第一參考電壓,並提供一第二參考電壓;將該第二參考電壓及該第一參考電壓分別轉換為一第一比較電壓及一第二比較電壓;比較該第一比較電壓及該第二比較電壓以產生一比較結果信號;以及使用一修正二分搜尋法依據該比較結果信號以輸出該溫度感測電路之操作溫度的一溫度區間信號之各位元,其中該修正二分搜尋法將預搜尋的電壓範圍進行動態放大或縮小。 The present invention further provides an operation method of a temperature sensing circuit, comprising: generating a reference voltage selection signal according to a plurality of control signals; selecting a first reference voltage from a plurality of candidate reference voltages according to the reference voltage selection signal, and providing a second reference voltage; converting the second reference voltage and the first reference voltage into a first comparison voltage and a second comparison voltage respectively; comparing the first comparison voltage and the second comparison voltage to generate a comparison result signal; Each bit of the interval signal, wherein the modified binary search method dynamically enlarges or reduces the voltage range of the pre-search.

100:溫度感測電路 100: temperature sensing circuit

110:電壓參考電路 110: Voltage reference circuit

111:多工器 111: multiplexer

120:溫度反向電壓電路 120: temperature reverse voltage circuit

130:數位至類比轉換電路 130: Digital to analog conversion circuit

131:運算放大器 131: Operational amplifier

140:比較電路 140: Comparison circuit

150:漸近式記錄器控制電路 150: Progressive recorder control circuit

151:排序控制電路 151: sorting control circuit

152:單觸發電路 152: One-shot circuit

153:漸次逼近電路 153: Progressive Approximation Circuit

160:搜尋控制電路 160: search control circuit

1531-1534:控制電路 1531-1534: Control circuit

200:曲線 200: curve

202:直線 202: straight line

300:溫度區間表 300: temperature range table

320:低溫區域 320: low temperature area

330:常溫區域 330: normal temperature area

340:高溫區域 340: high temperature area

350:常溫區域 350: normal temperature area

302、322、342:曲線 302, 322, 342: curve

3001-3004:溫度區域 3001-3004: temperature zone

400:方塊 400: block

402、404、406:曲線 402, 404, 406: curve

CLOCK:時脈信號 CLOCK: clock signal

Latch:閂鎖電路 Latch: Latch circuit

COMP:比較結果信號 COMP: comparison result signal

SEQ[3:0]:排序控制信號 SEQ[3:0]: sequence control signal

VREFC、VP:參考電壓 VREFC, VP: reference voltage

V1:第一比較電壓 V1: the first comparison voltage

CTATREF:第二比較電壓 CTATREF: second comparison voltage

VREFCSEL[4:0]:參考電壓選擇信號 VREFCSEL[4:0]: reference voltage selection signal

DAC[3:0]:數位類比轉換信號 DAC[3:0]: digital analog conversion signal

TSCODE[3:0]:溫度區間信號 TSCODE[3:0]: temperature interval signal

RDAC[15:0]:電阻式數位類比轉換信號 RDAC[15:0]: Resistive digital-to-analog conversion signal

Segment[1:0]:分段信號 Segment[1:0]: segment signal

INC[1:0]:放大控制信號 INC[1:0]: Amplify control signal

DEC[1:0]:縮小控制信號 DEC[1:0]: Reduce control signal

N1:節點 N1: node

M1:電晶體 M1: Transistor

Q:輸出端 Q: output terminal

CLK:時脈輸入端 CLK: clock input

D:資料端 D: data terminal

CD[3]、CD[2]、CD[1]、CD[0]:比較延遲信號 CD[3], CD[2], CD[1], CD[0]: comparison delay signal

第1A圖為依據本發明一實施例中之溫度感測電路的方塊圖。 FIG. 1A is a block diagram of a temperature sensing circuit according to an embodiment of the present invention.

第1B圖為依據本發明第1A圖實施例中之漸近式記錄器控制電路的示意圖。 FIG. 1B is a schematic diagram of the progressive recorder control circuit in the embodiment of FIG. 1A according to the present invention.

第2圖為電壓參考電路產生的參考電壓曲線的示意圖。 FIG. 2 is a schematic diagram of a reference voltage curve generated by a voltage reference circuit.

第3A圖為依據本發明一實施例中之溫度區間及分段信號所劃分的溫度區域的示意圖。 FIG. 3A is a schematic diagram of temperature regions divided according to the temperature range and segmented signals in an embodiment of the present invention.

第3B圖為依據本發明一實施例中之一般二分搜尋法的示意圖。 FIG. 3B is a schematic diagram of a general binary search method according to an embodiment of the present invention.

第3C~3D圖為依據本發明一實施例中之修正二分搜尋法的示意圖。 3C-3D are schematic diagrams of the modified binary search method according to an embodiment of the present invention.

第4圖為依據本發明一實施例中調整溫度感測電路之操作溫度與溫度區間之曲線的示意圖。 FIG. 4 is a schematic diagram of adjusting the operating temperature and the temperature range curve of the temperature sensing circuit according to an embodiment of the present invention.

第1A圖為依據本發明一實施例中之溫度感測電路的方塊圖。如第1A圖所示,溫度感測電路100包括電壓參考電路110、溫度反向電壓電路(complementary to absolute temperature(CTAT)circuit)120、數位至類比轉換電路(digital-to-analog converter(DAC)circuit)130、比較電路140、漸近式記錄器控制電路(successive approximation register(SAR)control circuit)150及搜尋控制電路160。 FIG. 1A is a block diagram of a temperature sensing circuit according to an embodiment of the present invention. As shown in FIG. 1A, the temperature sensing circuit 100 includes a voltage reference circuit 110, a temperature reverse voltage circuit (complementary to absolute temperature (CTAT) circuit) 120, a digital-to-analog converter (DAC) circuit (digital-to-analog converter (DAC) circuit) 130, a comparison circuit 140, and an asymptotic recorder control circuit (successive approximation register (SAR) control c circuit) 150 and search control circuit 160.

電壓參考電路110用以依據搜尋控制電路160所產 生的參考電壓選擇信號VREFCSEL[4:0]以分別提供相應的參考電壓VP及VREFC至溫度反向電壓電路120及數位至類比轉換電路130。在一些實施例中,電壓參考電路110例如可用帶隙電壓參考電路(bandgap voltage reference circuit)所實現。舉例來說,電壓參考電路110可提供複數個候選參考電壓,且電壓參考電路110可包括一多工器111,用以依據參考電壓選擇信號VREFCSEL[4:0]從該複數個候選參考電壓選擇欲輸出的參考電壓VP及VREFC。 The voltage reference circuit 110 is used to generate according to the search control circuit 160 The generated reference voltage selection signal VREFCSEL[4:0] provides corresponding reference voltages VP and VREFC to the temperature reverse voltage circuit 120 and the digital-to-analog conversion circuit 130 respectively. In some embodiments, the voltage reference circuit 110 can be realized by, for example, a bandgap voltage reference circuit. For example, the voltage reference circuit 110 can provide a plurality of candidate reference voltages, and the voltage reference circuit 110 can include a multiplexer 111 for selecting the reference voltages VP and VREFC to be output from the plurality of candidate reference voltages according to the reference voltage selection signal VREFCSEL[4:0].

溫度反向電壓電路120係接收來自電壓參考電路110所提供的參考電壓VP,並將參考電壓VP轉換為第一比較電壓V1。在一些實施例中,溫度感測電路100之有效溫度偵測區間例如介於攝氏-40度至120度。當溫度感測電路100的操作溫度愈高,溫度反向電壓電路120所產生的第一比較電壓V1愈低。當溫度感測電路的操作溫度愈低,溫度反向電壓電路120所產生的第一比較電壓V1愈高。 The temperature reverse voltage circuit 120 receives the reference voltage VP provided by the voltage reference circuit 110 and converts the reference voltage VP into a first comparison voltage V1. In some embodiments, the effective temperature detection range of the temperature sensing circuit 100 is, for example, between -40 degrees Celsius and 120 degrees Celsius. When the operating temperature of the temperature sensing circuit 100 is higher, the first comparison voltage V1 generated by the temperature reverse voltage circuit 120 is lower. When the operating temperature of the temperature sensing circuit is lower, the first comparison voltage V1 generated by the temperature reverse voltage circuit 120 is higher.

數位至類比轉換電路130例如可用一電阻式數位至類比轉換電路(resistive DAC)所實現。數位至類比轉換電路130係依據來自漸近式記錄器控制電路150的數位類比轉換信號DAC[3:0]以產生第二比較電壓CTATREF,且第一比較電壓V1及第二比較電壓CTATREF係輸入至比較電路140以產生比較結果信號COMP。詳細而言,數位至類比轉換電路130之運算放大器131的正輸入端係接收來自電壓參考電路110的參考電壓VREFC,且 運算放大器131之正輸入端與負輸入端之電壓相等,故在節點N1同樣可得到參考電壓VREFC。電晶體M1用以提供一操作電流至數位至類比轉換電路130之電阻梯(resistor ladder)。 The digital-to-analog conversion circuit 130 can be realized by, for example, a resistive digital-to-analog conversion circuit (resistive DAC). The digital-to-analog conversion circuit 130 generates the second comparison voltage CTATREF according to the digital-to-analog conversion signal DAC[3:0] from the progressive recorder control circuit 150, and the first comparison voltage V1 and the second comparison voltage CTATREF are input to the comparison circuit 140 to generate the comparison result signal COMP. In detail, the positive input terminal of the operational amplifier 131 of the digital-to-analog conversion circuit 130 receives the reference voltage VREFC from the voltage reference circuit 110, and The voltages of the positive input terminal and the negative input terminal of the operational amplifier 131 are equal, so the reference voltage VREFC can also be obtained at the node N1. The transistor M1 is used to provide an operating current to a resistor ladder of the digital-to-analog conversion circuit 130 .

需注意的是,在第1A圖的數位至類比轉換電路130之電阻梯的電阻數量及對應的開關電路數量僅為示意之用。在節點N1之參考電壓VREC可在電阻梯中之不同節點產生相應的電阻式數位類比轉換信號RDAC[15:0],且電阻式數位類比轉換信號RDAC[15:0]之各位元之輸出電壓係由連接至對應的開關電路,其中各開關電路之開啟或關閉則是由數位類比轉換信號DAC中之相應的位元所控制。因此,數位至類比轉換電路130可依據數位類比轉換信號DAC[3:0]以產生第二比較電壓CTATREF。 It should be noted that the number of resistors of the resistor ladder of the digital-to-analog conversion circuit 130 and the number of corresponding switch circuits in FIG. 1A are for illustrative purposes only. The reference voltage VREC at the node N1 can generate corresponding resistive digital-to-analog conversion signals RDAC[15:0] at different nodes in the resistance ladder, and the output voltages of each bit of the resistive digital-to-analog conversion signal RDAC[15:0] are connected to corresponding switching circuits, wherein the opening or closing of each switching circuit is controlled by the corresponding bits in the digital-to-analog conversion signal DAC. Therefore, the digital-to-analog conversion circuit 130 can generate the second comparison voltage CTATREF according to the digital-to-analog conversion signal DAC[3:0].

舉例來說,當第一比較電壓V1大於或等於第二比較電壓CTATREF時,比較電路140所產生的比較結果信號COMP例如處於高邏輯狀態。當第一比較電壓V1小於第二比較電壓CTATREF時,比較電路140所產生的比較結果信號COMP例如處於低邏輯狀態。 For example, when the first comparison voltage V1 is greater than or equal to the second comparison voltage CTATREF, the comparison result signal COMP generated by the comparison circuit 140 is, for example, in a high logic state. When the first comparison voltage V1 is smaller than the second comparison voltage CTATREF, the comparison result signal COMP generated by the comparison circuit 140 is, for example, in a low logic state.

第1B圖為依據本發明第1A圖實施例中之漸近式記錄器控制電路的示意圖。請同時參考第1A圖及第1B圖。 FIG. 1B is a schematic diagram of the progressive recorder control circuit in the embodiment of FIG. 1A according to the present invention. Please refer to Figure 1A and Figure 1B at the same time.

漸近式記錄器控制電路150例如可視為一數位至類比轉換電路。漸近式記錄器控制電路150包括排序控制電路151、單觸發電路152及漸次逼近電路153。排序控制電路151可接收一時脈信號CLOCK,並依序產生對應的排序控制信號SEQ[3:0], 用以指示溫度區間信號TSCODE[3:0]的偵測順序及進程。舉例來說,排序控制電路151所產生的排序控制信號SEQ[3:0]可用獨熱有效編碼(one hot encoding)表示,其順序依次為1000、0100、0010、0001,用以分別指示溫度區間信號TSCODE[3]、TSCODE[2]、TSCODE[1]及TSCODE[0]。單觸發電路152同樣接收時脈信號CLOCK,並將時脈信號CLOCK轉換為閂鎖信號Latch。 The progressive recorder control circuit 150 can be regarded as a digital-to-analog conversion circuit, for example. The progressive recorder control circuit 150 includes a sequencing control circuit 151 , a one-shot circuit 152 and a progressive approximation circuit 153 . The sorting control circuit 151 can receive a clock signal CLOCK, and sequentially generate a corresponding sorting control signal SEQ[3:0], It is used to indicate the detection sequence and process of the temperature interval signal TSCODE[3:0]. For example, the sequence control signal SEQ[3:0] generated by the sequence control circuit 151 can be represented by one hot encoding, and its sequence is 1000, 0100, 0010, 0001 to indicate the temperature range signals TSCODE[3], TSCODE[2], TSCODE[1] and TSCODE[0] respectively. The one-shot circuit 152 also receives the clock signal CLOCK and converts the clock signal CLOCK into a latch signal Latch.

漸次逼近電路153係依據比較結果信號COMP、來自排序控制電路151的排序控制信號SEQ[3:0]、以及來自單觸發電路152的閂鎖信號Latch以循序輸出溫度區間信號TSCODE[3:0]及數位類比轉換信號DAC[3:0]中之各位元(例如從最高位元至最低位元)。舉例來說,當排序控制信號SEQ[3:0]=4’b1000時,表示排序控制信號SEQ[3]=1’b1。因此,在漸次逼近電路153中最上方的控制電路1531中的D型正反器之時脈輸入端CLK會有時脈信號輸入以進行運作,並且在D型正反器的輸出端Q產生比較延遲信號CD[3]。比較延遲信號CD[3]經過兩個反相器後可得到溫度區間信號TSCODE[3],其中溫度區間信號TSCODE[3]例如可儲存於一暫存器(未繪示)。比較延遲信號CD[3]與排序控制信號SEQ[3]經過反或閘及反相器後,可得到數位類比轉換信號DAC[3]。控制電路1532~1534的操作方式係類似於控制電路1531,故不再另外說明。簡單來說,漸次逼近電路153可依據比較結果信號COMP以循序輸出溫度感測電路100之操 作溫度的溫度區間信號TSCODE[3:0]之各位元。 The gradual approximation circuit 153 is based on the comparison result signal COMP, the sequence control signal SEQ[3:0] from the sequence control circuit 151, and the latch signal Latch from the one-shot circuit 152 to sequentially output the temperature interval signal TSCODE[3:0] and the bits in the digital-to-analog conversion signal DAC[3:0] (for example, from the highest bit to the lowest bit). For example, when the sequence control signal SEQ[3:0]=4'b1000, it means that the sequence control signal SEQ[3]=1'b1. Therefore, the clock input terminal CLK of the D-type flip-flop in the uppermost control circuit 1531 of the progressive approximation circuit 153 has a clock signal input for operation, and the output terminal Q of the D-type flip-flop generates a comparative delay signal CD[3]. The temperature range signal TSCODE[3] can be obtained after the comparison delay signal CD[3] passes through two inverters, wherein the temperature range signal TSCODE[3] can be stored in a register (not shown), for example. After comparing the delay signal CD[3] and the sorting control signal SEQ[3] through an NOR gate and an inverter, a digital-to-analog conversion signal DAC[3] can be obtained. The operation modes of the control circuits 1532-1534 are similar to the control circuit 1531, so no further description is given. In simple terms, the gradual approximation circuit 153 can sequentially output the operation of the temperature sensing circuit 100 according to the comparison result signal COMP. Bits of the temperature range signal TSCODE[3:0] for the temperature.

搜尋控制電路160係依據排序控制信號SEQ[3:0]、溫度區間信號TSCODE[3:0]、分段信號Segment[1:0]、放大控制信號INC[1:0]及縮小控制信號DEC[1:0]以產生參考電壓選擇信號VREFCSEL[4:0]。在一些實施例中,分段信號Segment[1:0]、放大控制信號INC[1:0]及縮小控制信號DEC[1:0]之設定值例如可預先儲存於由溫度感測電路100中之唯讀記憶體(read-only memory,ROM)或其他類型的非揮發式記憶體。分段信號Segment[1:0]、放大控制信號INC[1:0]及縮小控制信號DEC[1:0]例如可為溫度感測電路100之外部信號,且可由使用者自行設定。 The search control circuit 160 generates the reference voltage selection signal VREFCSEL[4:0] according to the sequence control signal SEQ[3:0], the temperature range signal TSCODE[3:0], the segment signal Segment[1:0], the enlargement control signal INC[1:0] and the reduction control signal DEC[1:0]. In some embodiments, the setting values of the segment signal Segment[1:0], the enlargement control signal INC[1:0] and the reduction control signal DEC[1:0], for example, may be pre-stored in a read-only memory (ROM) or other types of non-volatile memory in the temperature sensing circuit 100 . The segment signal Segment[1:0], the enlargement control signal INC[1:0] and the reduction control signal DEC[1:0] can be, for example, external signals of the temperature sensing circuit 100 and can be set by the user.

在另一些實施例中,搜尋控制電路160包括一查找表(未繪示),其輸入為排序控制信號SEQ[3:0]、溫度區間信號TSCODE[3:0]、分段信號Segment[1:0]、放大控制信號INC[1:0]及縮小控制信號DEC[1:0],且查找表的輸出即為參考電壓選擇信號VREFCSEL[4:0]。上述查找表例如可用一可程式化邏輯陣列(programmable logic array,PLA)、一複雜可程式化邏輯裝置(complex programmable logic device,CPLD)、一處理器、一微控制器(microcontroller)、一應用導向積體電路(application-specific integrated circuit,ASIC)或其他具有相同邏輯功能之電路所實現。 In some other embodiments, the search control circuit 160 includes a look-up table (not shown), whose input is the sequence control signal SEQ[3:0], the temperature interval signal TSCODE[3:0], the segment signal Segment[1:0], the enlargement control signal INC[1:0] and the reduction control signal DEC[1:0], and the output of the lookup table is the reference voltage selection signal VREFCSEL[4:0]. The above-mentioned lookup table can be realized by, for example, a programmable logic array (programmable logic array, PLA), a complex programmable logic device (complex programmable logic device, CPLD), a processor, a microcontroller (microcontroller), an application-specific integrated circuit (ASIC), or other circuits with the same logic function.

舉例來說,分段信號Segment[1:0]係用以定義不 同的溫度區域。以2個位元的分段信號Segment[1:0]為例,共可定義4種溫度區域之組合。如第3A圖所示,當分段信號Segment[1:0]分別為2’b00、2’b01、2’b10及2’b11時,搜尋控制電路160可決定欲使用修正二元搜尋法的溫度區域為溫度區域3001、3002、3003及3004,其中溫度區域3001表示攝氏-5度至-40以下的溫度範圍(例如可視為低溫區域),溫度區域3002表示攝氏0度至35度的溫度範圍,溫度區域3003表示攝氏40度至75度的溫度範圍,溫度區域3004表示攝氏80度至120度以上的溫度範圍(例如可視為高溫區域)。需注意的是,本發明並不限定於上述實施方法,本發明領域中具有通常知識者可依據實際需求而設定溫度區域的數量及對應的溫度範圍。 For example, the segment signal Segment[1:0] is used to define same temperature range. Taking the 2-bit segment signal Segment[1:0] as an example, a total of 4 combinations of temperature regions can be defined. As shown in FIG. 3A, when the segment signal Segment[1:0] is respectively 2'b00, 2'b01, 2'b10, and 2'b11, the search control circuit 160 can determine that the temperature areas to use the modified binary search method are temperature areas 3001, 3002, 3003, and 3004, wherein the temperature area 3001 represents a temperature range from -5 degrees Celsius to below -40 degrees Celsius (for example, it can be regarded as a low temperature area), and the temperature area 3002 Indicates the temperature range from 0°C to 35°C, the temperature area 3003 indicates the temperature range from 40°C to 75°C, and the temperature area 3004 indicates the temperature range from 80°C to 120°C (for example, it can be regarded as a high temperature area). It should be noted that the present invention is not limited to the above-mentioned implementation methods, and those skilled in the field of the present invention can set the number of temperature zones and the corresponding temperature ranges according to actual needs.

放大控制信號INC[1:0]及縮小控制信號DEC[1:0]則是用於在分段信號Segment[1:0]所表示的溫度區域之內所要放大或縮小的幅度倍率。舉例來說,當放大控制信號INC[1:0]為2’b00或2’b11時,溫度感測電路100並不會對分段信號Segment[1:0]所表示的溫度區域進行調整,意即電壓參考電路110提供至數位至類比轉換電路130的參考電壓VREFC不做更動。當放大控制信號INC[1:0]為2’b01時,電壓參考電路110提供至數位至類比轉換電路130的參考電壓VREFC會增加,例如增加2.1%。當放大控制信號INC[1:0]為2’b10時,電壓參考電路110提供至數位至類比轉換電路130的參考電壓VREFC會增加,例如增加4.2%。 The amplification control signal INC[1:0] and the reduction control signal DEC[1:0] are used to enlarge or reduce the amplitude magnification within the temperature range indicated by the segment signal Segment[1:0]. For example, when the amplification control signal INC[1:0] is 2'b00 or 2'b11, the temperature sensing circuit 100 does not adjust the temperature range indicated by the segment signal Segment[1:0], that is, the reference voltage VREFC provided by the voltage reference circuit 110 to the digital-to-analog conversion circuit 130 does not change. When the amplification control signal INC[1:0] is 2'b01, the reference voltage VREFC provided by the voltage reference circuit 110 to the digital-to-analog conversion circuit 130 will increase, for example, by 2.1%. When the amplification control signal INC[1:0] is 2'b10, the reference voltage VREFC provided by the voltage reference circuit 110 to the digital-to-analog conversion circuit 130 will increase, for example, by 4.2%.

當縮小控制信號DEC[1:0]為2’b00或2’b11時,溫度感測電路100並不會對分段信號Segment[1:0]所表示的溫度區域進行調整,意即電壓參考電路110提供至數位至類比轉換電路130的參考電壓VREFC不做更動。當縮小控制信號DEC[1:0]為2’b01時,電壓參考電路110提供至數位至類比轉換電路130的參考電壓VREFC會降低,例如降低2.1%。當縮小控制信號DEC[1:0]為2’b10時,電壓參考電路110提供至數位至類比轉換電路130的參考電壓VREFC會降低,例如降低4.2%。需注意的是,本發明並不限定於上述實施例中增加或降低參考電壓VREFC的比例。本發明領域中具有通常知識者可依實際需求而調整參考電壓VREFC的調整比例。 When the scaling control signal DEC[1:0] is 2’b00 or 2’b11, the temperature sensing circuit 100 does not adjust the temperature range indicated by the segment signal Segment[1:0], which means that the reference voltage VREFC provided by the voltage reference circuit 110 to the digital-to-analog conversion circuit 130 does not change. When the downscaling control signal DEC[1:0] is 2'b01, the reference voltage VREFC provided by the voltage reference circuit 110 to the digital-to-analog conversion circuit 130 decreases, for example, by 2.1%. When the downscaling control signal DEC[1:0] is 2'b10, the reference voltage VREFC provided by the voltage reference circuit 110 to the digital-to-analog conversion circuit 130 is reduced, for example by 4.2%. It should be noted that the present invention is not limited to the ratio of increasing or decreasing the reference voltage VREFC in the above embodiments. Those skilled in the field of the present invention can adjust the adjustment ratio of the reference voltage VREFC according to actual needs.

第2圖為電壓參考電路產生的參考電壓曲線的示意圖。傳統的溫度感測電路所使用的二分搜尋法是將將欲搜尋的操作溫度範圍所對應的電壓範圍依據2進位位元數量進行平均劃分。當積體電路之操作溫度比一預定溫度閾值VBE(T)為高時,電壓參考電路所產生的參考電壓會與溫度呈線性關係,如曲線200。然而,當積體電路之操作溫度比一預定溫度閾值VBE(T)為低時,電壓參考電路所產生的參考電壓也會因為局部非線性的情況而隨著失準。當電壓參考電路的操作溫度為300K時,電壓參考電路所產生的電壓為VBE(Tr)。然而,曲線200實際上並非呈直線的線性關係,當電壓參考電路的操作溫度為0K時,電壓參考電路實際所產生的電壓為VBE(0K)。若使用直線202以估算電壓參考電路所產生的電 壓,則會得到電壓VBE(0K)e。因此,傳統的溫度感測電路在低溫的情況下容易產生偵測溫度失準的情況。 FIG. 2 is a schematic diagram of a reference voltage curve generated by a voltage reference circuit. The binary search method used in the traditional temperature sensing circuit divides the voltage range corresponding to the operating temperature range to be searched evenly according to the number of binary bits. When the operating temperature of the integrated circuit is higher than a predetermined temperature threshold V BE (T), the reference voltage generated by the voltage reference circuit has a linear relationship with the temperature, as shown in the curve 200 . However, when the operating temperature of the integrated circuit is lower than a predetermined temperature threshold V BE (T), the reference voltage generated by the voltage reference circuit will also be out of alignment due to local nonlinearity. When the operating temperature of the voltage reference circuit is 300K, the voltage generated by the voltage reference circuit is V BE (Tr). However, the curve 200 is not actually a linear relationship. When the operating temperature of the voltage reference circuit is 0K, the actual voltage generated by the voltage reference circuit is V BE (OK). If the straight line 202 is used to estimate the voltage generated by the voltage reference circuit, the voltage V BE (OK) e is obtained. Therefore, the traditional temperature sensing circuit is prone to inaccurate temperature detection under low temperature conditions.

在一實施例中,溫度感測電路100係採用修正二分搜尋法(modified binary search)以將欲搜尋的操作溫度範圍所對應的電壓範圍以有限度的若干2進位位元表示,其中上述修正二分搜尋法不同於傳統的二分搜尋法。舉例來說,溫度感測電路100在進行溫度偵測的過程中,可將預搜尋的電壓範圍進行動態放大或縮小,意即溫度區間信號TSCODE[3:0]中之各溫度區間可以不用平均劃分。此外,溫度感測電路100動態放大或縮小特定的溫度區間是以特殊溫度為準,例如高溫情況可表示溫度感測電路100的操作溫度大於溫度T1,低溫情況可表示溫度感測電路100的操作溫度小於溫度T2,其中溫度T1大於溫度T2。溫度感測電路100所採用的修正二分搜尋法之細節將於後述實施例中進行詳細說明。 In one embodiment, the temperature sensing circuit 100 uses a modified binary search method (modified binary search) to represent the voltage range corresponding to the operating temperature range to be searched with a limited number of binary bits, wherein the modified binary search method is different from the traditional binary search method. For example, during the temperature detection process, the temperature sensing circuit 100 can dynamically enlarge or reduce the pre-searched voltage range, which means that the temperature ranges in the temperature range signal TSCODE[3:0] do not need to be equally divided. In addition, the temperature sensing circuit 100 dynamically zooms in or out of a specific temperature range based on the specific temperature. For example, a high temperature condition may indicate that the operating temperature of the temperature sensing circuit 100 is greater than the temperature T1, and a low temperature condition may indicate that the operating temperature of the temperature sensing circuit 100 is less than the temperature T2, wherein the temperature T1 is greater than the temperature T2. Details of the modified binary search method adopted by the temperature sensing circuit 100 will be described in detail in the following embodiments.

第3A圖為依據本發明一實施例中之溫度區間的示意圖。第3B圖為依據本發明一實施例中之一般二分搜尋法的示意圖。第3C~3D圖為依據本發明一實施例中之修正二分搜尋法的示意圖。請同時參考第1A圖及第3A~3D圖。 FIG. 3A is a schematic diagram of temperature ranges according to an embodiment of the present invention. FIG. 3B is a schematic diagram of a general binary search method according to an embodiment of the present invention. 3C-3D are schematic diagrams of the modified binary search method according to an embodiment of the present invention. Please refer to Figure 1A and Figures 3A~3D at the same time.

第3A圖係表示溫度區間表300,其中溫度區間信號TSCODE[3:0]的各個數值均有對應的溫度Ta以及16進位值Hex。在第3B圖中,右側的數值表示攝氏溫度。N10、N20、N30及N40則分別表示攝氏-10度、-20度、-30度及-40度。假設溫度感測電路100的操作溫度範圍介於攝氏-40度至120之間,且溫度反向電 壓電路120所產生的第一比較電壓V1與操作溫度成線性反比,如曲線302所示。因為溫度感測電路100使用4位元的溫度區間信號TSCODE[3:0]且使用二分搜尋法,所以在決定溫度區間的每個循環中,均需要4個時鐘週期才能決定溫度區間信號TSCODE[3:0]的最後數值為何,如第3B圖之左邊部分所示。 FIG. 3A shows a temperature interval table 300, wherein each value of the temperature interval signal TSCODE[3:0] has a corresponding temperature Ta and a hexadecimal value Hex. In Figure 3B, the values on the right represent temperatures in degrees Celsius. N10, N20, N30 and N40 represent -10 degrees Celsius, -20 degrees Celsius, -30 degrees Celsius and -40 degrees Celsius, respectively. Assume that the operating temperature range of the temperature sensing circuit 100 is between -40 degrees Celsius and 120 degrees Celsius, and the temperature inversely The first comparison voltage V1 generated by the voltage circuit 120 is linearly and inversely proportional to the operating temperature, as shown by the curve 302 . Because the temperature sensing circuit 100 uses the 4-bit temperature range signal TSCODE[3:0] and uses the binary search method, in each cycle of determining the temperature range, it takes 4 clock cycles to determine the final value of the temperature range signal TSCODE[3:0], as shown in the left part of FIG. 3B.

舉例來說,在決定溫度區間的循環中,在第一個時鐘週期會先決定溫度區間信號TSCODE的最高位元(MSB)TSCODE[3],在第二個時鐘週期會決定溫度區間信號TSCODE的次高位元TSCODE[2],在第三個時鐘週期會決定溫度區間信號TSCODE的次低位元TSCODE[1],並且在第四個時鐘週期會決定溫度區間信號TSCODE的最低位元(LSB)TSCODE[0]。 For example, in the cycle of determining the temperature range, the highest bit (MSB) TSCODE[3] of the temperature range signal TSCODE is first determined in the first clock cycle, the second highest bit TSCODE[2] of the temperature range signal TSCODE is determined in the second clock cycle, the second lowest bit TSCODE[1] of the temperature range signal TSCODE is determined in the third clock cycle, and the lowest bit (LSB) TSCODE[0] of the temperature range signal TSCODE is determined in the fourth clock cycle.

當每經過四個時鐘週期並確定溫度區間信號TSCODE[3:0]之數值後,溫度感測電路100即可確定目前的操作溫度是位於那一個溫度區間。舉例來說,當溫度區間信號TSCODE[3:0]=4’b0000(或16進位碼Hex=0h)時,溫度感測電路100即可得知目前的操作溫度Ta約在攝氏-40度以下。當溫度區間信號TSCODE[3:0]=4’b1111(或16進位碼Hex=Fh)時,溫度感測電路100即可得知目前的操作溫度Ta約在攝氏120度以上。當溫度區間信號TSCODE[3:0]=4’b0100(或16進位碼Hex=4h)時,溫度感測電路100即可得知目前的操作溫度Ta約在攝氏0度左右。當溫度區間信號TSCODE[3:0]=4’b1000(或16進位碼Hex=8h)時,溫度感測電路100即可得知目前的操作溫度Ta約在攝氏40度左右, 依此類推。需注意的是,為了便於說明,在第3A圖之實施例中是將各個溫度區間平均劃分。 After every four clock cycles and determining the value of the temperature range signal TSCODE[3:0], the temperature sensing circuit 100 can determine which temperature range the current operating temperature is in. For example, when the temperature range signal TSCODE[3:0]=4'b0000 (or hexadecimal code Hex=0h), the temperature sensing circuit 100 can know that the current operating temperature Ta is below -40 degrees Celsius. When the temperature interval signal TSCODE[3:0]=4'b1111 (or hexadecimal code Hex=Fh), the temperature sensing circuit 100 can know that the current operating temperature Ta is above 120 degrees Celsius. When the temperature interval signal TSCODE[3:0]=4'b0100 (or hexadecimal code Hex=4h), the temperature sensing circuit 100 can know that the current operating temperature Ta is about 0 degrees Celsius. When the temperature interval signal TSCODE[3:0]=4'b1000 (or hexadecimal code Hex=8h), the temperature sensing circuit 100 can know that the current operating temperature Ta is about 40 degrees Celsius, So on and so forth. It should be noted that, for the convenience of description, in the embodiment shown in FIG. 3A , each temperature range is equally divided.

在第3C圖之實施例中,溫度感測電路100係使用修正二分搜尋法以修正在低溫區域的溫度區間。舉例來說,因為某些因素,當溫度感測電路100的操作溫度在低溫區域320時,溫度反向電壓電路120所產生的第一比較電壓V1與溫度之關係的曲線322可能會等效或實際地變得更陡。 In the embodiment of FIG. 3C , the temperature sensing circuit 100 uses a modified binary search method to correct the temperature range in the low temperature region. For example, due to some factors, when the operating temperature of the temperature sensing circuit 100 is in the low temperature region 320 , the curve 322 of the relationship between the first comparison voltage V1 and the temperature generated by the temperature reverse voltage circuit 120 may become equivalently or actually steeper.

在決定溫度區間的循環中,當經過兩個時鐘週期後即可確定溫度區間信號TSCODE的最高兩個位元TSCODE[3:2]。當溫度區間信號TSCODE[3:2]=2’b00時,表示溫度感測電路100的操作溫度會位於低溫區域320(例如低於攝氏-10度)。此時,溫度感測電路100可修正在低溫區域320中的溫度區間,例如可將搜尋電壓範圍放大(或縮小),且放大後(或縮小後)的搜尋電壓範圍不與原搜尋電壓範圍重疊。在此實施例中,當溫度區間信號TSCODE[3:2]不等於2’b00時,表示溫度感測電路100的操作溫度會位於常溫區域330(例如介於攝氏-10度至120度之間),且此時溫度感測電路100並不會修正任一溫度區間的搜尋電壓範圍,例如可依照第3A圖所示的等距溫度區間進行搜尋。需注意的是,第3C圖之實施例係用於說明溫度感測電路100可放大在低溫區域320中的溫度區間,但本發明並不限定於此實施方式。溫度感測電路100亦可依據預定的溫度區間信號TSCODE以修正(包括放大或縮小)在對應的溫度區域內的溫度區間。 In the cycle of determining the temperature range, the highest two bits TSCODE[3:2] of the temperature range signal TSCODE can be determined after two clock cycles. When the temperature interval signal TSCODE[3:2]=2'b00, it indicates that the operating temperature of the temperature sensing circuit 100 is in the low temperature region 320 (for example, lower than -10 degrees Celsius). At this time, the temperature sensing circuit 100 can modify the temperature range in the low temperature region 320 , for example, the search voltage range can be enlarged (or reduced), and the enlarged (or reduced) search voltage range does not overlap with the original search voltage range. In this embodiment, when the temperature interval signal TSCODE[3:2] is not equal to 2'b00, it means that the operating temperature of the temperature sensing circuit 100 will be in the normal temperature region 330 (for example, between -10 degrees Celsius and 120 degrees Celsius), and the temperature sensing circuit 100 will not modify the search voltage range of any temperature interval at this time, for example, the search can be performed according to the equidistant temperature intervals shown in FIG. 3A. It should be noted that the embodiment in FIG. 3C is used to illustrate that the temperature sensing circuit 100 can amplify the temperature range in the low temperature region 320 , but the present invention is not limited to this embodiment. The temperature sensing circuit 100 can also modify (including enlarge or reduce) the temperature range in the corresponding temperature range according to the predetermined temperature range signal TSCODE.

在第3D圖之實施例中,溫度感測電路100係使用修正二分搜尋法以修正在高溫區域的溫度區間。舉例來說,因為某些因素,當溫度感測電路100的操作溫度在高溫區域340時,溫度反向電壓電路120所產生的第一比較電壓V1與溫度之關係的曲線342可能會等效或實際地變得更緩。 In the embodiment shown in FIG. 3D, the temperature sensing circuit 100 uses a modified binary search method to correct the temperature range in the high temperature region. For example, due to some factors, when the operating temperature of the temperature sensing circuit 100 is in the high temperature region 340 , the curve 342 of the relationship between the first comparison voltage V1 and the temperature generated by the temperature reverse voltage circuit 120 may be equivalently or actually slower.

在決定溫度區間的循環中,當經過兩個時鐘週期後即可確定溫度區間信號TSCODE的最高兩個位元TSCODE[3:2]。當溫度區間信號TSCODE[3:2]=2’b11時,表示溫度感測電路100的操作溫度會位於高溫區域340(例如高於攝氏80度)。此時,溫度感測電路100可修正在高溫區域340中的溫度區間,例如可將搜尋電壓範圍縮小(或放大),且縮小後(或放大後)的搜尋電壓範圍不與原搜尋電壓範圍重疊。在此實施例中,當溫度區間信號TSCODE[3:2]不等於2’b00時,表示溫度感測電路100的操作溫度會位於常溫區域350(例如介於攝氏-10度至80度之間),且此時溫度感測電路100並不會修正任一溫度區間的搜尋電壓範圍,例如可依照第3A圖所示的等距溫度區間進行搜尋。需注意的是,第3D圖之實施例係用於說明溫度感測電路100可放大在高溫區域340中的溫度區間,但本發明並不限定於此實施方式。溫度感測電路100亦可依據預定的溫度區間信號TSCODE以修正(包括放大或縮小)在對應的溫度區域內的溫度區間。 In the cycle of determining the temperature range, the highest two bits TSCODE[3:2] of the temperature range signal TSCODE can be determined after two clock cycles. When the temperature interval signal TSCODE[3:2]=2'b11, it indicates that the operating temperature of the temperature sensing circuit 100 is located in the high temperature region 340 (for example, higher than 80 degrees Celsius). At this time, the temperature sensing circuit 100 can modify the temperature range in the high temperature region 340 , for example, the search voltage range can be reduced (or enlarged), and the reduced (or enlarged) search voltage range does not overlap with the original search voltage range. In this embodiment, when the temperature interval signal TSCODE[3:2] is not equal to 2'b00, it means that the operating temperature of the temperature sensing circuit 100 will be in the normal temperature region 350 (for example, between -10 degrees Celsius and 80 degrees Celsius), and the temperature sensing circuit 100 will not modify the search voltage range of any temperature interval at this time, for example, the search can be performed according to the equidistant temperature intervals shown in FIG. 3A. It should be noted that the embodiment in FIG. 3D is used to illustrate that the temperature sensing circuit 100 can amplify the temperature range in the high temperature region 340 , but the present invention is not limited to this embodiment. The temperature sensing circuit 100 can also modify (including enlarge or reduce) the temperature range in the corresponding temperature range according to the predetermined temperature range signal TSCODE.

第4圖為依據本發明一實施例中調整溫度感測電路之溫度曲線的示意圖。在第4圖下方的表格係表示各曲線402、 404及406在各溫度下的溫度區間數值,其中溫度區間數值例如可參考第3A圖的表示方式。曲線404係表示溫度感測電路100在未使用修正二分搜尋法調整電壓參考電路110所產生的參考電壓VREFC時的溫度曲線,其中在低溫區域(方塊400,對應於分段信號Segment[1:0]=2’b00)的參考電壓VREFC例如為1.2V。當溫度感測電路100的操作溫度分別在攝氏-40度、-30度及-20度時,曲線404均位於溫度區間0。當溫度感測電路100的操作溫度分別在攝氏-10度及0度時,曲線404分別位於溫度區間1及3,意即中間跳過了溫度區間2。當溫度感測電路100的操作溫度在攝氏10度及20度時,曲線404則分別位於溫度區間3及5。換言之,曲線404在低溫區域中,隨著操作溫度線性增加或降低,其對應的溫度區間並非呈現線性關係。 FIG. 4 is a schematic diagram of adjusting the temperature curve of the temperature sensing circuit according to an embodiment of the present invention. The table below Figure 4 shows each of the curves 402, The temperature interval values of 404 and 406 at each temperature, wherein the temperature interval values can refer to the representation in FIG. 3A , for example. The curve 404 represents the temperature curve of the temperature sensing circuit 100 when the reference voltage VREFC generated by the voltage reference circuit 110 is not adjusted by the modified binary search method, wherein the reference voltage VREFC in the low temperature region (block 400, corresponding to the segment signal Segment[1:0]=2'b00) is, for example, 1.2V. When the operating temperatures of the temperature sensing circuit 100 are respectively -40 degrees Celsius, -30 degrees Celsius and -20 degrees Celsius, the curve 404 is located in the temperature interval 0. When the operating temperatures of the temperature sensing circuit 100 are respectively -10 degrees Celsius and 0 degrees Celsius, the curves 404 are respectively located in the temperature ranges 1 and 3, which means that the temperature range 2 is skipped in the middle. When the operating temperature of the temperature sensing circuit 100 is 10 degrees Celsius and 20 degrees Celsius, the curve 404 is located in temperature intervals 3 and 5, respectively. In other words, the curve 404 is in the low temperature region, as the operating temperature increases or decreases linearly, the corresponding temperature range does not show a linear relationship.

曲線402則表示理想的線性溫度曲線,此即為溫度感測電路100之設計目標,意即曲線402在操作溫度範圍之內,隨著操作溫度線性增加或降低,其對應的溫度區間呈現線性關係。 The curve 402 represents an ideal linear temperature curve, which is the design goal of the temperature sensing circuit 100 , that is, the curve 402 is within the operating temperature range, and the corresponding temperature range exhibits a linear relationship as the operating temperature increases or decreases linearly.

曲線406表示溫度感測電路100在使用修正二分搜尋法後以調整電壓參考電路110所產生的參考電壓VREFC時的溫度曲線。舉例來說,溫度感測電路100之設計人員可事先測量出溫度感測電路100在未使用修正二分搜尋法時的曲線404,並且可針對非線性失準較嚴重之溫度區域(例如可為低溫區域、高溫區域或任何指定溫度區域)調整參考電壓VREFC,以使溫度感測電路100在修正後的溫度曲線可較符合理想的溫度曲線(即曲線402),意即 可增進溫度感測電路100在偵測操作溫度時的準確度。 The curve 406 represents the temperature curve of the temperature sensing circuit 100 when adjusting the reference voltage VREFC generated by the voltage reference circuit 110 after using the modified binary search method. For example, the designer of the temperature sensing circuit 100 can measure the curve 404 of the temperature sensing circuit 100 in advance without using the modified binary search method, and can adjust the reference voltage VREFC for a temperature region with serious nonlinear misalignment (for example, a low temperature region, a high temperature region, or any specified temperature region), so that the corrected temperature curve of the temperature sensing circuit 100 can be more in line with the ideal temperature curve (that is, the curve 402), that is, The accuracy of the temperature sensing circuit 100 in detecting the operating temperature can be improved.

綜上所述,本發明係提供一種溫度感測電路及其操作方法,其可使用修正二分搜尋法後以調整電壓參考電路所產生的參考電壓時的溫度曲線,並且可針對非線性失準較嚴重之溫度區域(例如可為低溫區域、高溫區域或任何指定溫度區域)調整參考電壓以使溫度感測電路在修正後的溫度曲線可較符合理想的溫度曲線,藉以增加溫度感測電路100在偵測操作溫度時的準確度。 To sum up, the present invention provides a temperature sensing circuit and its operation method, which can use the modified binary search method to adjust the temperature curve of the reference voltage generated by the voltage reference circuit, and can adjust the reference voltage for the temperature region with serious nonlinear misalignment (for example, it can be a low temperature region, a high temperature region, or any specified temperature region), so that the corrected temperature curve of the temperature sensing circuit can be more in line with the ideal temperature curve, so as to increase the accuracy of the temperature sensing circuit 100 when detecting the operating temperature.

100:溫度感測電路 100: temperature sensing circuit

110:電壓參考電路 110: Voltage reference circuit

111:多工器 111: multiplexer

120:溫度反向電壓電路 120: temperature reverse voltage circuit

130:數位至類比轉換電路 130: Digital to analog conversion circuit

131:運算放大器 131: Operational amplifier

140:比較電路 140: Comparison circuit

150:漸近式記錄器控制電路 150: Progressive recorder control circuit

151:排序控制電路 151: sorting control circuit

152:單觸發電路 152: One-shot circuit

153:漸次逼近電路 153: Progressive Approximation Circuit

160:搜尋控制電路 160: search control circuit

CLOCK:時脈信號 CLOCK: clock signal

Latch:閂鎖電路 Latch: Latch circuit

COMP:比較結果信號 COMP: comparison result signal

SEQ[3:0]:排序控制信號 SEQ[3:0]: sequence control signal

VREFC、VP:參考電壓 VREFC, VP: reference voltage

V1:第一比較電壓 V1: the first comparison voltage

CTATREF:第二比較電壓 CTATREF: second comparison voltage

VREFCSEL[4:0]:參考電壓選擇信號 VREFCSEL[4:0]: reference voltage selection signal

DAC[3:0]:數位類比轉換信號 DAC[3:0]: digital analog conversion signal

TSCODE[3:0]:溫度區間信號 TSCODE[3:0]: temperature interval signal

RDAC[15:0]:電阻式數位類比轉換信號 RDAC[15:0]: Resistive digital-to-analog conversion signal

Segment[1:0]:分段信號 Segment[1:0]: segment signal

INC[1:0]:放大控制信號 INC[1:0]: Amplify control signal

DEC[1:0]:縮小控制信號 DEC[1:0]: Reduce control signal

N1:節點 N1: node

M1:電晶體 M1: Transistor

Claims (15)

一種溫度感測電路,包括:一搜尋控制電路,用以依據複數個控制信號以產生一參考電壓選擇信號;一電壓參考電路,用以依據該參考電壓選擇信號以從複數個候選參考電壓選擇出一第一參考電壓,並提供一第二參考電壓;一溫度反向電壓電路,用以將該第二參考電壓轉換為一第一比較電壓;一數位至類比轉換電路,用以將該第一參考電壓轉換為一第二比較電壓;一比較電路,用以比較該第一比較電壓及該第二比較電壓以產生一比較結果信號;以及一漸近式記錄器控制電路,用以依據該比較結果信號以輸出該溫度感測電路之操作溫度的一溫度區間信號之各位元,其中該等控制信號包括該溫度區間信號。 A temperature sensing circuit, comprising: a search control circuit, used to generate a reference voltage selection signal according to a plurality of control signals; a voltage reference circuit, used to select a first reference voltage from a plurality of candidate reference voltages according to the reference voltage selection signal, and provide a second reference voltage; a temperature reverse voltage circuit, used to convert the second reference voltage into a first comparison voltage; a digital-to-analog conversion circuit, used to convert the first reference voltage into a second comparison voltage; a comparison circuit, used to compare the first comparison voltage and the second comparison voltage to generate a comparison result signal; and an asymptotic recorder control circuit for outputting each bit of a temperature interval signal of the operating temperature of the temperature sensing circuit according to the comparison result signal, wherein the control signals include the temperature interval signal. 如請求項1之溫度感測電路,其中該電壓參考電路為一帶隙電壓參考電路。 The temperature sensing circuit according to claim 1, wherein the voltage reference circuit is a bandgap voltage reference circuit. 如請求項1之溫度感測電路,其中該漸近式記錄器控制電路係使用一修正二分搜尋法以循序輸出該溫度區間信號之各位元, 其中在循序輸出該溫度區間信號之各位元的期間,當該溫度區間信號中之前一或多個預定位元符合一預定條件時,該搜尋控制電路係改變該參考電壓選擇信號以使該電壓參考電路調整該第一參考電壓;其中前述預定條件指該溫度感測電路之操作溫度高於第一特殊溫度或低於第二特殊溫度,且前述第一特殊溫度大於前述第二特殊溫度。 The temperature sensing circuit as claimed in item 1, wherein the progressive recorder control circuit uses a modified binary search method to sequentially output the bits of the temperature interval signal, Wherein during sequentially outputting the bits of the temperature range signal, when one or more predetermined bits in the temperature range signal meet a predetermined condition, the search control circuit changes the reference voltage selection signal so that the voltage reference circuit adjusts the first reference voltage; wherein the predetermined condition refers to that the operating temperature of the temperature sensing circuit is higher than the first special temperature or lower than the second special temperature, and the first special temperature is greater than the second special temperature. 如請求項3之溫度感測電路,其中該等控制信號更包括:一排序控制信號、一分段信號、一放大控制信號及一縮小控制信號,其中該排序控制信號係控制輸出該溫度區間信號之各位元之順序,且該分段信號係表示該溫度感測電路中欲調整的特定溫度區域,其中該放大控制信號及該縮小控制信號係分別表示增加及降低該第一參考電壓的幅度倍率。 Such as the temperature sensing circuit of claim 3, wherein the control signals further include: a sequence control signal, a segmentation signal, an amplification control signal, and a reduction control signal, wherein the sequence control signal controls the order of the bit bits outputting the temperature range signal, and the segmentation signal represents a specific temperature region to be adjusted in the temperature sensing circuit, wherein the amplification control signal and the reduction control signal represent the amplitude magnification of increasing and decreasing the first reference voltage, respectively. 如請求項4之溫度感測電路,其中該預定條件表示該溫度區間信號中之前一或多個預定位元符合該分段信號。 The temperature sensing circuit according to claim 4, wherein the predetermined condition indicates that one or more predetermined bits in the temperature interval signal match the segment signal. 如請求項4之溫度感測電路,其中該搜尋控制電路包括一查找表以記錄該排序控制信號、該分段信號、該放大控制信號及該縮小控制信號與該參考電壓選擇信號之關係。 The temperature sensing circuit according to claim 4, wherein the search control circuit includes a look-up table to record the relationship between the sorting control signal, the segmentation signal, the amplification control signal, the reduction control signal and the reference voltage selection signal. 如請求項6之溫度感測電路,其中該查找表係由一可程式化邏輯陣列、一複雜可程式化邏輯裝置、一處理器、一微控制器或一應用導向積體電路所實現。 The temperature sensing circuit according to claim 6, wherein the look-up table is implemented by a programmable logic array, a complex programmable logic device, a processor, a microcontroller or an application-oriented integrated circuit. 如請求項1之溫度感測電路,其中該漸近式記錄器控制電路包括一排序控制電路、一單觸發電路及一漸次逼近電路,其中該單觸發電路係接收一時脈信號以產生一閂鎖信號,且該排序控制電路係接收該時脈信號以依序產生對應於該溫度區間信號之各位元的該排序控制信號。 The temperature sensing circuit of claim 1, wherein the progressive recorder control circuit includes a sorting control circuit, a one-shot circuit and a gradual approximation circuit, wherein the one-shot circuit receives a clock signal to generate a latch signal, and the sorting control circuit receives the clock signal to sequentially generate the sorting control signal corresponding to each bit of the temperature range signal. 如請求項8之溫度感測電路,其中該漸次逼近電路係依據該比較結果信號、該排序控制信號及該閂鎖信號以產生該溫度區間信號及一數位類比轉換信號。 The temperature sensing circuit according to claim 8, wherein the gradual approximation circuit generates the temperature range signal and a digital-to-analog conversion signal according to the comparison result signal, the sequence control signal and the latch signal. 如請求項9之溫度感測電路,其中該數位類比轉換信號係輸入至該數位至類比轉換電路以將該第一參考電壓轉換為該第二比較電壓。 The temperature sensing circuit according to claim 9, wherein the digital-to-analog conversion signal is input to the digital-to-analog conversion circuit to convert the first reference voltage into the second comparison voltage. 如請求項1之溫度感測電路,其中該數位至類比轉換電路為一電阻式數位至類比轉換電路。 The temperature sensing circuit according to claim 1, wherein the digital-to-analog conversion circuit is a resistive digital-to-analog conversion circuit. 如請求項1之溫度感測電路,其中該電壓參考電路包括一多工器以依據該參考電壓選擇信號從該等候選參考電壓選擇出該第一參考電壓。 The temperature sensing circuit according to claim 1, wherein the voltage reference circuit includes a multiplexer to select the first reference voltage from the candidate reference voltages according to the reference voltage selection signal. 一種溫度感測電路的操作方法,包括:依據複數個控制信號以產生一參考電壓選擇信號; 依據該參考電壓選擇信號以從複數個候選參考電壓選擇出一第一參考電壓,並提供一第二參考電壓;將該第二參考電壓及該第一參考電壓分別轉換為一第一比較電壓及一第二比較電壓;比較該第一比較電壓及該第二比較電壓以產生一比較結果信號;以及使用一修正二分搜尋法依據該比較結果信號以輸出該溫度感測電路之操作溫度的一溫度區間信號之各位元,其中在循序輸出該溫度區間信號之各位元的期間,當該溫度區間信號中之前一或多個預定位元符合一預定條件時,則改變該參考電壓選擇信號以使該電壓參考電路調整該第一參考電壓,其中前述預定條件指該溫度感測電路之操作溫度高於第一特殊溫度或低於第二特殊溫度,且前述第一特殊溫度大於前述第二特殊溫度,其中該修正二分搜尋法將預搜尋的電壓範圍進行動態放大或縮小。 An operating method of a temperature sensing circuit, comprising: generating a reference voltage selection signal according to a plurality of control signals; selecting a first reference voltage from a plurality of candidate reference voltages according to the reference voltage selection signal, and providing a second reference voltage; converting the second reference voltage and the first reference voltage into a first comparison voltage and a second comparison voltage; comparing the first comparison voltage and the second comparison voltage to generate a comparison result signal; When one or more predetermined bits meet a predetermined condition, the reference voltage selection signal is changed to enable the voltage reference circuit to adjust the first reference voltage, wherein the predetermined condition refers to that the operating temperature of the temperature sensing circuit is higher than the first special temperature or lower than the second special temperature, and the first special temperature is greater than the second special temperature, wherein the modified binary search method dynamically enlarges or reduces the voltage range of the pre-search. 如請求項13之溫度感測方法,其中該等控制信號更包括:一排序控制信號、一分段信號、一放大控制信號及一縮小控制信號, 其中該排序控制信號係控制輸出該溫度區間信號之各位元之順序,且該分段信號係表示該溫度感測電路中欲調整的特定溫度區域,其中該放大控制信號及該縮小控制信號係分別表示增加及降低該第一參考電壓的幅度倍率。 Such as the temperature sensing method of claim 13, wherein the control signals further include: a sorting control signal, a segmentation signal, an amplification control signal and a reduction control signal, Wherein the sequence control signal controls the order of each bit of the temperature range signal output, and the segment signal represents a specific temperature region to be adjusted in the temperature sensing circuit, wherein the amplification control signal and the reduction control signal represent the amplitude magnification of increasing and decreasing the first reference voltage respectively. 如請求項14之溫度感測方法,其中該預定條件表示該溫度區間信號中之前一或多個預定位元符合該分段信號。 The temperature sensing method according to claim 14, wherein the predetermined condition indicates that one or more predetermined bits in the temperature interval signal match the segment signal.
TW110135257A 2021-09-23 2021-09-23 Temperature sensing circuit and operating method thereof TWI807429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110135257A TWI807429B (en) 2021-09-23 2021-09-23 Temperature sensing circuit and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110135257A TWI807429B (en) 2021-09-23 2021-09-23 Temperature sensing circuit and operating method thereof

Publications (2)

Publication Number Publication Date
TW202314210A TW202314210A (en) 2023-04-01
TWI807429B true TWI807429B (en) 2023-07-01

Family

ID=86943356

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110135257A TWI807429B (en) 2021-09-23 2021-09-23 Temperature sensing circuit and operating method thereof

Country Status (1)

Country Link
TW (1) TWI807429B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870052A (en) * 1995-02-24 1999-02-09 Fujitsu Microelectronic Limited Successive approximation type analog to digital converter with repetitive conversion cycles
CN104348487A (en) * 2013-08-07 2015-02-11 瑞萨电子株式会社 Semiconductor device
US9719861B2 (en) * 2014-08-13 2017-08-01 Nxp Usa, Inc. Temperature sensor circuit
US10037045B2 (en) * 2016-10-03 2018-07-31 Micron Technology, Inc. Systems and apparatuses for a configurable temperature dependent reference voltage generator
US10367518B2 (en) * 2018-02-07 2019-07-30 Intel Corporation Apparatus and method for single temperature subthreshold factor trimming for hybrid thermal sensor
US10642305B2 (en) * 2018-03-08 2020-05-05 Samsung Electronics Co., Ltd. High-accuracy CMOS temperature sensor and operating method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870052A (en) * 1995-02-24 1999-02-09 Fujitsu Microelectronic Limited Successive approximation type analog to digital converter with repetitive conversion cycles
CN104348487A (en) * 2013-08-07 2015-02-11 瑞萨电子株式会社 Semiconductor device
US9719861B2 (en) * 2014-08-13 2017-08-01 Nxp Usa, Inc. Temperature sensor circuit
US10037045B2 (en) * 2016-10-03 2018-07-31 Micron Technology, Inc. Systems and apparatuses for a configurable temperature dependent reference voltage generator
US10367518B2 (en) * 2018-02-07 2019-07-30 Intel Corporation Apparatus and method for single temperature subthreshold factor trimming for hybrid thermal sensor
US10642305B2 (en) * 2018-03-08 2020-05-05 Samsung Electronics Co., Ltd. High-accuracy CMOS temperature sensor and operating method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
期刊 Poki Chen; Yi-Jiang Hu; Jian-Cheng Liou; Bo-Chang Ren A 486k S/s CMOS time-domain smart temperature sensor with −0.85°C/0.78°C voltage-calibrated error 2015 IEEE International Symposium on Circuits and Systems (ISCAS) IEEE Press 24 March 2021 2109~2112
期刊 Poki Chen; Yi-Jiang Hu; Jian-Cheng Liou; Bo-Chang Ren A 486k S/s CMOS time-domain smart temperature sensor with -0.85°C/0.78°C voltage-calibrated error 2015 IEEE International Symposium on Circuits and Systems (ISCAS) IEEE Press 24 March 2021 2109~2112 *

Also Published As

Publication number Publication date
TW202314210A (en) 2023-04-01

Similar Documents

Publication Publication Date Title
US6914547B1 (en) Triple resistor string DAC architecture
CN108432144B (en) Microcontroller with digital delay line analog-to-digital converter
JP3807381B2 (en) A / D conversion circuit, temperature sensor circuit, integrated circuit, and method of adjusting temperature sensor circuit
EP0227165B1 (en) Complementary voltage interpolation circuit
US7382153B2 (en) On-chip resistor calibration for line termination
US5627537A (en) Differential string DAC with improved integral non-linearity performance
US5283580A (en) Current/resistor digital-to-analog converter having enhanced integral linearity and method of operation
KR20050067520A (en) Semiconductor memory device with optimum refresh cycle about temperature variation
JPH02238717A (en) A/d converter
JPS6360568B2 (en)
US6445325B1 (en) Piecewise linear digital to analog conversion
TWI807429B (en) Temperature sensing circuit and operating method thereof
US5739782A (en) Resistance ladder, D/A converter and A/D converter
US6900751B2 (en) Logarithmic digital to analog converter having multipliers coupled to reference voltages
US5963079A (en) Temperature indicator circuit with temperature hysteresis
US20230204433A1 (en) Temperature-sensing circuit and operating method thereof
KR970007352B1 (en) Bit transmission syncronous circuit in the digital code
CN116067521A (en) Temperature sensing circuit and operation method thereof
TWI442711B (en) Improved n-bit pin adc reader
US6816096B2 (en) Response-based analog-to-digital conversion apparatus and method
US4737766A (en) Code converter with complementary output voltages
US6927713B2 (en) Response-based analog-to-digital conversion apparatus and method
KR950015049B1 (en) Digital/analog converter for error compensating of output voltage
US11824554B2 (en) Analog-to-digital converter
US20230163776A1 (en) Analog-to-digital converter and method for analog-to-digital conversion