TWI858341B - Random number generating circuit - Google Patents
Random number generating circuit Download PDFInfo
- Publication number
- TWI858341B TWI858341B TW111121011A TW111121011A TWI858341B TW I858341 B TWI858341 B TW I858341B TW 111121011 A TW111121011 A TW 111121011A TW 111121011 A TW111121011 A TW 111121011A TW I858341 B TWI858341 B TW I858341B
- Authority
- TW
- Taiwan
- Prior art keywords
- voltage
- clock signal
- random number
- noise
- operational amplifier
- Prior art date
Links
- 238000005070 sampling Methods 0.000 claims description 25
- 239000003990 capacitor Substances 0.000 claims description 15
- 230000001052 transient effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 230000001788 irregular Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 230000005669 field effect Effects 0.000 description 2
- 230000010355 oscillation Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
本發明係有關於電子電路,特別是有關於一種隨機數產生電路。 The present invention relates to electronic circuits, and in particular to a random number generation circuit.
隨機數產生器(random number generator,RNG)在許多不同的應用中均扮演了重要角色,例如加密應用(cryptographic applications)、統計運算、動態隨機存取記憶體(DRAM)之列敲打(row hammer)機制等等。然而,傳統的隨機數產生器之相關電路,例如線性回饋位移暫存器、環形振盪器基礎式的亂數產生器等等,其所產生出的數字往往並非真正的隨機數,而是具有確定性/週期性的偽隨機數(pseudo-random number)。 Random number generators (RNGs) play an important role in many different applications, such as cryptographic applications, statistical operations, and the row hammer mechanism of dynamic random access memory (DRAM). However, the numbers generated by traditional RNG-related circuits, such as linear feedback shift registers and ring oscillator-based random number generators, are often not truly random numbers, but pseudo-random numbers with determinism/periodicity.
有鑑於此,本發明係提出一種隨機數產生電路以解決上述問題。 In view of this, the present invention proposes a random number generation circuit to solve the above problem.
本發明係提供一種隨機數產生電路,包括:一雜訊電壓產生器,用以將一外部電壓轉換為一雜訊電壓;一壓控振盪器, 用以接收該雜訊電壓,並依據該雜訊電壓以產生一第一時脈信號;一環形振盪器,用以產生一取樣時脈信號;以及一D型正反器,用以接收該第一時脈信號,並以該取樣時脈信號對該第一時脈信號進行取樣以得到一輸出數位信號,其中該輸出數位信號表示一隨機數。 The present invention provides a random number generating circuit, comprising: a noise voltage generator for converting an external voltage into a noise voltage; a voltage-controlled oscillator for receiving the noise voltage and generating a first clock signal according to the noise voltage; a ring oscillator for generating a sampling clock signal; and a D-type flip-flop for receiving the first clock signal and sampling the first clock signal with the sampling clock signal to obtain an output digital signal, wherein the output digital signal represents a random number.
100:隨機數產生電路 100: Random number generation circuit
110:雜訊電壓產生器 110: Noise voltage generator
112:電源雜訊放大器 112: Power noise amplifier
114:溫度反向參考電壓電路 114: Temperature reverse reference voltage circuit
116:運算放大器 116: Operational amplifier
120:壓控振盪器 120: Voltage-controlled oscillator
130:環形振盪器 130: Ring oscillator
140:D型正反器 140: D-type flip-flop
1121:運算放大器 1121: Operational amplifier
1301:反及閘 1301: Anti-and-gate
1302、1303:反向器 1302, 1303: Reverse device
VP、VT、VA、VB:電壓 VP, VT, VA, VB: voltage
V1:雜訊電壓 V1: Noise voltage
VMIX:參考電壓 VMIX: reference voltage
VEXT:外部電壓 VEXT: external voltage
VDD:電源電壓 VDD: power supply voltage
R1-R7:電阻 R1-R7: resistor
N1-N7:節點 N1-N7: Nodes
C1-C4:電容 C1-C4: Capacitor
D1:二極體 D1: diode
EN:致能信號 EN: Enable signal
f1、f2’:時脈信號 f1, f2’: clock signal
f2:取樣時脈信號 f2: sampling clock signal
fmix:輸出數位信號 fmix: output digital signal
D:資料端 D: Data terminal
CLK:時脈輸入端 CLK: Clock input terminal
Q:輸出端 Q: Output terminal
第1圖係顯示依據本發明一實施例中之隨機數產生電路的方塊圖。 Figure 1 is a block diagram showing a random number generation circuit according to an embodiment of the present invention.
第2圖為依據本發明一實施例中之電源雜訊放大器及溫度反向參考電壓電路的電路圖。 Figure 2 is a circuit diagram of a power noise amplifier and a temperature reverse reference voltage circuit according to an embodiment of the present invention.
第3A圖為依據本發明一實施例中之電壓VT與溫度之關係的示意圖。 Figure 3A is a schematic diagram of the relationship between voltage VT and temperature in an embodiment of the present invention.
第3B圖為依據本發明一實施例中之電壓VT、VP的示意圖。 Figure 3B is a schematic diagram of voltages VT and VP according to an embodiment of the present invention.
第3C圖為依據本發明一實施例中之參考電壓VMIX的示意圖。 Figure 3C is a schematic diagram of the reference voltage VMIX in an embodiment of the present invention.
第4圖為依據本發明一實施例中之環形振盪器的示意圖。 Figure 4 is a schematic diagram of a ring oscillator according to an embodiment of the present invention.
第5圖為依據本發明第1圖實施例中之D型正反器之取樣操作的波形圖。 Figure 5 is a waveform diagram of the sampling operation of the D-type flip-flop in the embodiment of Figure 1 of the present invention.
以下說明係為完成發明的較佳實現方式,其目的在於描述本發明的基本精神,但並不用以限定本發明。實際的發明內容必須參考之後的申請專利範圍。 The following description is a preferred implementation method for completing the invention. Its purpose is to describe the basic spirit of the invention, but it is not intended to limit the invention. The actual content of the invention must refer to the scope of the subsequent patent application.
第1圖為依據本發明一實施例中之隨機數產生電路的方塊圖。 Figure 1 is a block diagram of a random number generation circuit according to an embodiment of the present invention.
如第1圖所示,隨機數產生電路100包括雜訊電壓產生器110、壓控振盪器(voltage-controlled oscillator)120、環形振盪器(ring oscillator)130及D型正反器140。雜訊電壓產生器110係用以將外部電壓VEXT轉換為雜訊電壓V1,並將雜訊電壓V1提供至壓控振盪器120。
As shown in FIG. 1 , the random
壓控振盪器120係依據雜訊電壓V1以產生不規律的時脈信號f1。環形振盪器130係用以產生一取樣時脈信號(sample clock signal)f2,其中取樣時脈信號f2為規律的時脈信號。
The voltage-controlled
此外,取樣時脈信號f2提供至D型正反器140的時脈輸入端CLK以對資料端D所輸入的時脈信號f1進行取樣,並且在輸出端Q產生輸出數位信號fmix,其中輸出數位信號fmix即為隨機數。
In addition, the sampling clock signal f2 is provided to the clock input terminal CLK of the D-type flip-
雜訊電壓產生器110包括電源雜訊放大器112、溫度反向(complementary to absolute temperature,CTAT)參考電壓電路114及運算放大器116。電源雜訊放器112係用以放大外部電壓VEXT之電源雜訊以產生電壓VP,且溫度反向參考電壓電路114則透過環境溫度以產生電壓VT,其中電壓VT係與絕對溫度(absolute temperature)成反比。電壓VP經過電容C1以在節點N1與電壓VT進行混合以得到一參考電壓VMIX。
The
運算放大器116例如可做為整壓器(voltage regulator),其中參考電壓VMIX係輸入至運算放大器116之正輸入端,且運算放大器116之輸出端(節點N2)所產生之雜訊電壓V1經過電阻R2及R3所構成之回授路徑以輸入至運算放大器116之負輸入端。舉例來說,雜訊電壓V1及參考電壓VMIX之關係式如式(1)所示:
因此,由式(1)可推得雜訊電壓。 Therefore, the noise voltage can be deduced from equation (1): .
詳細而言,環境溫度之特性是相對數值變化較慢,故電壓VT可決定時脈信號f1的基本頻率。此外,電源雜訊的特性是瞬間變化較快,故電壓VP會短暫地改變時脈信號f1的頻率。 In detail, the characteristic of ambient temperature is that the relative value changes slowly, so the voltage VT can determine the basic frequency of the clock signal f1. In addition, the characteristic of power supply noise is that the instantaneous change is fast, so the voltage VP will temporarily change the frequency of the clock signal f1.
壓控振盪器120係使用雜訊電壓V1以產生不規律的時脈信號f1,且時脈信號f1的頻率會受到外部環境影響,例如外部電壓、環境溫度、晶片製程特性等等,但並未考慮熱雜訊(thermal noise)。環形振盪器130可自動產生取樣時脈信號f2,且取樣時脈信號f2之頻率係由環形振盪器130之內部電路所決定。此外,壓控振盪器120及環形振盪器130均是由致能信號EN所控制。當致能信號EN處於高邏輯狀態,壓控振盪器120及環形振盪器130係處於工作狀態以分別產生時脈信號f1及取樣時脈信號f2。當致能信號EN處於低邏輯狀態,壓控振盪器120及環形振盪器130關閉。
The voltage-controlled
需注意的是,本發明可利用雜訊電壓產生器110之設計即可將電源雜訊及環境溫度轉換為相應的雜訊電壓V1,並且壓控
振盪器可依據雜訊電壓V1(例如為類比信號)以產生時脈信號f1(例如為數位信號),上述設計並不需要使用類比至數位轉換器(analog-to-digital converter)以將熱雜訊轉換為數位信號。
It should be noted that the present invention can utilize the design of the
第2圖為依據本發明一實施例中之電源雜訊放大器及溫度反向參考電壓電路的電路圖。請同時參考第1圖及第2圖。 Figure 2 is a circuit diagram of a power noise amplifier and a temperature reverse reference voltage circuit according to an embodiment of the present invention. Please refer to Figures 1 and 2 at the same time.
如第2圖所示,在一實施例中,電容C2之第一端及第二端係分別連接至外部電壓VEXT及節點N3,且電阻R4之第一端及第二端分別連接至外部電壓VEXT及節點N3。節點N3具有電壓VA,且電壓VA係輸入至運算放大器1121的正輸入端(+)。在節點N3之電壓VA經過電阻R6及電容C3所構成之RC電路以在節點N4產生電壓VB,且電壓VB係輸入至運算放大器1121的負輸入端(-)。因為電阻R6及電容C3所構成之RC電路可視為低通濾波器,故可將電源雜訊變化程度較大的電壓VA轉換為電源雜訊變化程度較小的電壓VB。電壓VA及電壓VB之差值經過運算放大器1121放大後可在運算放大器1121之輸出端(節點N5)得到電壓VP。
As shown in FIG. 2 , in one embodiment, the first and second ends of capacitor C2 are connected to external voltage VEXT and node N3, respectively, and the first and second ends of resistor R4 are connected to external voltage VEXT and node N3, respectively. Node N3 has voltage VA, and voltage VA is input to the positive input terminal (+) of
在一實施例中,溫度反向參考電壓電路114例如可用二極體D1、電容C4及電阻R7所實現,其中二極體D1亦可用雙載子電晶體(BJT)或場效電晶體(FET)以二極體之連接方式所實現,例如NPN雙載子電晶體之集極與基極可同時連接至節點N6,且NPN雙載子電晶體之射極接地,即可等效視為二極體D1。
In one embodiment, the temperature reverse
若採用N型金屬氧化物半導體場效電晶體(MOSFET),則可將該電晶體之閘極與汲極同時連接至節點N6,且
該電晶體之源極接地,即可等效視為二極體D1。因此,溫度反向參考電壓電路114可在節點N6得到具有負溫度係數的電壓VT。意即,當環境溫度(絕對溫度)愈高,電壓VT愈低,當環境溫度(絕對溫度)愈低,電壓VT愈高,其中上述關係式如第3A圖所示。
If an N-type metal oxide semiconductor field effect transistor (MOSFET) is used, the gate and drain of the transistor can be connected to the node N6 at the same time, and the source of the transistor is grounded, which can be equivalent to a diode D1. Therefore, the temperature reverse
詳細而言,電壓VT經過電阻R1後可在節點N1產生參考電壓VMIX之直流位準(DC level),且電壓VP經過電容C1擾動後可在節點N1得到參考電壓VMIX之暫態位準(transient level)。如第3B圖所示,電壓VP之雜訊變化程度較高,其可視為參考電壓VMIX之暫態位準。電壓VT雖然會隨著環境溫度而改變,但因為環境溫度之變化緩慢,故電壓VT約略可維持在定值。因此,參考電壓VMIX可視為將上述暫態位準疊加於上述直流位準上,如第3C圖所示。需注意的是,本發明中之隨機數產生電路100係分別利用電源雜訊及溫度以做為雜訊來源,而不使用熱雜訊。
In detail, the voltage VT can generate the DC level of the reference voltage VMIX at the node N1 after passing through the resistor R1, and the voltage VP can obtain the transient level of the reference voltage VMIX at the node N1 after being disturbed by the capacitor C1. As shown in Figure 3B, the noise variation of the voltage VP is higher, which can be regarded as the transient level of the reference voltage VMIX. Although the voltage VT will change with the ambient temperature, because the ambient temperature changes slowly, the voltage VT can be roughly maintained at a constant value. Therefore, the reference voltage VMIX can be regarded as the above transient level superimposed on the above DC level, as shown in Figure 3C. It should be noted that the random
此外,隨機數產生電路100中的雜訊電壓產生器110係使用二極體、電阻及電容以生成雜訊源,且不需要複雜的類比至數位轉換器或溫度感測器,故在積體電路中實現的面積成本較低。
In addition, the
第4圖為依據本發明一實施例中之環形振盪器的示意圖。 Figure 4 is a schematic diagram of a ring oscillator according to an embodiment of the present invention.
在一實施例中,環形振盪器130例如可用反及閘(NAND)1301、複數個反向器1302及1303所實現,且電源電壓VDD係提供至反及閘1301及反向器1302-1303以供進行操作,其中電源電壓VDD例如可為外部電壓VEXT。反及閘1301之第一輸入
端係接收致能信號EN,且其第二輸入端則接收最後一級的反向器1302之輸出端所產生的時脈信號f2’。
In one embodiment, the
舉例來說,當致能信號EN處於低邏輯狀態時,反及閘1301之輸出端會持續處於高邏輯狀態,故此時環形振盪器130無法產生振盪。當致能信號EN處於高邏輯狀態時,反及閘1301之輸出信號為其第二輸入端之輸入信號之反相信號,故此時反及閘1301可視為反向器。因此,反及閘1301及偶數級的反向器1302整體可構成奇數級的反向器進行串接,故可持續進行振盪並且在最後一級的反向器1302之輸出端得到時脈信號f2’。舉例來說,反向器1302具有2N個數量,且N為正整數。
For example, when the enable signal EN is in a low logic state, the output terminal of the
時脈信號f2’經過反向器1303後即可得到取樣時脈信號f2。本發明領域中具有通常知識者當可了解可透過調整反向器1302之級數及電晶體之尺寸以改變環形振盪器130之振盪頻率(即:取樣時脈信號f2之頻率),故其細節於此不再詳述。
After the clock signal f2' passes through the
第5圖為依據本發明第1圖實施例中之D型正反器之取樣操作的波形圖。請同時參考第1圖及第5圖。 Figure 5 is a waveform diagram of the sampling operation of the D-type flip-flop in the embodiment of Figure 1 of the present invention. Please refer to Figure 1 and Figure 5 at the same time.
如第5圖所示,當致能信號EN處於高邏輯狀態時,壓控振盪器120及環形振盪器130開始產生振盪以分別產生時脈信號f1及取樣時脈信號f2,其中時脈信號f1為不規律的時脈信號,且取樣時脈信號f2為規律的時脈信號。取樣時脈信號f2提供至D型正反器140的時脈輸入端CLK以對資料端D所輸入的時脈信號f1進行取樣,並且在輸出端Q產生輸出數位信號fmix。
As shown in FIG. 5 , when the enable signal EN is in a high logic state, the voltage-controlled
詳細而言,D型正反器140在取樣時脈信號f2的正緣(rising edge)對時脈信號f1進行取樣。因為時脈信號f1為不規律的時脈信號,所以每當取樣時脈信號f2處於正緣時,D型正反器140在其輸出端Q所得到的輸出數位信號fmix亦包含不規律的數值0或1。換言之,輸出數位信號fmix為隨機數。
In detail, the D-type flip-
綜上所述,本發明提供一種隨機數產生電路,其可分別利用電源雜訊及溫度以做為雜訊來源,而不使用熱雜訊。此外,本發明之隨機數產生電路係使用二極體、電阻及電容以生成雜訊源,且不需要複雜的類比至數位轉換器或溫度感測器,故在積體電路中實現的面積成本較低。此外,隨機數產生電路所產生的隨機數會受電源雜訊、溫度及製程所影響,故不易出現規律性,且其效果接近真實的隨機數。 In summary, the present invention provides a random number generating circuit that can use power supply noise and temperature as noise sources instead of thermal noise. In addition, the random number generating circuit of the present invention uses diodes, resistors and capacitors to generate noise sources, and does not require complex analog-to-digital converters or temperature sensors, so the area cost of implementing in integrated circuits is lower. In addition, the random numbers generated by the random number generating circuit will be affected by power supply noise, temperature and process, so it is not easy to have regularity, and its effect is close to the real random number.
本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention is disclosed as above with the preferred embodiment, it is not intended to limit the scope of the present invention. Anyone with common knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined in the attached patent application.
100:隨機數產生電路 110:雜訊電壓產生器 112:電源雜訊放大器 114:溫度反向參考電壓電路 116:運算放大器 120:壓控振盪器 130:環形振盪器 140:D型正反器 VP、VT:電壓 V1:雜訊電壓 VMIX:參考電壓 R1-R3:電阻 N1-N2:節點 C1:電容 EN:致能信號 f1:時脈信號 f2:取樣時脈信號 fmix:輸出數位信號 D:資料端 CLK:時脈輸入端 Q:輸出端 100: Random number generator circuit 110: Noise voltage generator 112: Power noise amplifier 114: Temperature reverse reference voltage circuit 116: Operational amplifier 120: Voltage controlled oscillator 130: Ring oscillator 140: D-type flip-flop VP, VT: Voltage V1: Noise voltage VMIX: Reference voltage R1-R3: Resistor N1-N2: Node C1: Capacitor EN: Enable signal f1: Clock signal f2: Sampling clock signal fmix: Output digital signal D: Data terminal CLK: Clock input terminal Q: Output terminal
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111121011A TWI858341B (en) | 2022-06-07 | 2022-06-07 | Random number generating circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111121011A TWI858341B (en) | 2022-06-07 | 2022-06-07 | Random number generating circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202349197A TW202349197A (en) | 2023-12-16 |
| TWI858341B true TWI858341B (en) | 2024-10-11 |
Family
ID=90039158
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111121011A TWI858341B (en) | 2022-06-07 | 2022-06-07 | Random number generating circuit |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI858341B (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200925982A (en) * | 2007-12-12 | 2009-06-16 | Phison Electronics Corp | Random number generator and random number generating method thereof |
| CN103034472A (en) * | 2012-12-12 | 2013-04-10 | 深圳国微技术有限公司 | True random number generator |
| US20150193205A1 (en) * | 2014-01-09 | 2015-07-09 | Robert Bosch Gmbh | Method for generating an output of a random source of a random generator |
| CN109783061A (en) * | 2019-01-16 | 2019-05-21 | 宁波大学 | A kind of real random number generator using oscillator sample |
| US20200233644A1 (en) * | 2019-01-23 | 2020-07-23 | International Business Machines Corporation | True random number generator |
| CN111490757A (en) * | 2019-01-28 | 2020-08-04 | 新唐科技股份有限公司 | Electronic circuit and method for generating random random numbers |
| US20220029837A1 (en) * | 2018-11-29 | 2022-01-27 | Resado Gmbh | Electronic device and method for authentication of an electronic device |
-
2022
- 2022-06-07 TW TW111121011A patent/TWI858341B/en active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200925982A (en) * | 2007-12-12 | 2009-06-16 | Phison Electronics Corp | Random number generator and random number generating method thereof |
| CN103034472A (en) * | 2012-12-12 | 2013-04-10 | 深圳国微技术有限公司 | True random number generator |
| US20150193205A1 (en) * | 2014-01-09 | 2015-07-09 | Robert Bosch Gmbh | Method for generating an output of a random source of a random generator |
| US20220029837A1 (en) * | 2018-11-29 | 2022-01-27 | Resado Gmbh | Electronic device and method for authentication of an electronic device |
| CN109783061A (en) * | 2019-01-16 | 2019-05-21 | 宁波大学 | A kind of real random number generator using oscillator sample |
| US20200233644A1 (en) * | 2019-01-23 | 2020-07-23 | International Business Machines Corporation | True random number generator |
| CN111490757A (en) * | 2019-01-28 | 2020-08-04 | 新唐科技股份有限公司 | Electronic circuit and method for generating random random numbers |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202349197A (en) | 2023-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Kinniment et al. | Design of an on-chip random number generator using metastability | |
| US7107178B2 (en) | Temperature sensing circuit for use in semiconductor integrated circuit | |
| CN110719102A (en) | Oscillation circuit and clock circuit | |
| CN102486414A (en) | temperature sensor circuit | |
| TWI671617B (en) | Current generating circuits | |
| TW201024955A (en) | Circuit for generating a reference voltage | |
| US20080126458A1 (en) | Apparatus and Methods for Generating Random Signals | |
| US20190199329A1 (en) | Ring oscillator temperature sensor | |
| TWI858341B (en) | Random number generating circuit | |
| Shakir et al. | 555-timer and comparators operational at 500° C | |
| CN101315566A (en) | reference voltage generator | |
| US20240028300A1 (en) | Random-number-generating circuit | |
| JP6032131B2 (en) | Temperature sensor circuit | |
| JP2011007545A (en) | Temperature sensor | |
| CN117348842A (en) | Random number generation circuit | |
| JP2003283306A (en) | Oscillator | |
| JP6163992B2 (en) | Temperature sensor circuit | |
| KR940001568A (en) | Level conversion circuit | |
| CN111953330A (en) | Low-power-consumption power-on reset circuit irrelevant to temperature | |
| TWI756855B (en) | RC oscillator circuit and information processing device | |
| TWI387736B (en) | Low power temperature sensor operated in sub-threshold region | |
| JP2003283305A (en) | Oscillation circuit with temperature compensation | |
| KR100247367B1 (en) | Voltage controlled oscillator | |
| Someya et al. | A 13nW temperature-to-digital converter utilizing sub-threshold MOSFET operation at sub-thermal drain voltage | |
| CN115378434A (en) | Voltage-pulse width conversion circuit for temperature sensor and temperature sensor |