Abstract: This paper introduces the working principle and performance characteristics of TMP05/TMP06 temperature
sensors
, and gives its application examples.
Keywords: digital temperature sensor; microcontroller; pulse width modulation; daisy chain mode
1 Working principle of TMP05/06
1.1 Internal structure and pin function
The internal structure block diagram of TMP05/06 is shown in Figure 1.
In single conversion mode, when the microcontroller sends a request, TMP05/06 outputs a square wave signal related to the temperature. The microcontroller first sets the OUT pin to a low level and then releases it, indicating a request for output; when the OUT pin is released, the temperature measurement results TH and TL are output (as shown in Figure 2).
2.2 Continuous Conversion Mode
In continuous conversion mode, the TMP05/06 continuously outputs a square wave signal. The frequency of the square wave is determined by setting the state of the CONV/IN pin. And after power-on, any changes to the CONV/IN pin will not affect the original setting.
2.3 Daisy Chain Operation Mode
By setting the FUNC pin to a high state, multiple TMP05/06s on a printed circuit board can be connected in daisy chain operation mode. Therefore, the microcontroller is allowed to use a dedicated input line to receive all temperature measurements (as shown in Figure 3).
When the start pulse does not reach the TMP05/06, this component acts as a buffer for the previous temperature measurement. Once the start signal is detected, the conversion is started immediately and the result is output, so the start pulse is provided for the next TMP05/06, and the cycle is repeated. The final output result is shown in Figure 4c. The CONV/IN pin of the first TMP05/06 must be kept low until the last piece outputs the start pulse, and then set high. This is the entire process of the daisy chain working mode.
TMP05/06 can be ideally used as a temperature monitor in various portable electronic devices due to its high-precision measurement results and ultra-small package. For example, it can be used to monitor the temperature of high-speed MCU chips in electronic devices, which is more suitable for surface-mounted chips (install TMP05/06 under the MCU chip and as close to the chip as possible to measure the surface temperature of the chip). Its unique daisy chain working mode can easily connect multiple integrated circuit temperature sensors, simplifying the design of hardware circuits.
TMP05/06 is a single-wire PWM output, which can be easily connected to the microcontroller with only a single line, so the hardware circuit design is relatively simple (as shown in Figure 5).
(1) Counters 0 and 1 are initialized;
(2) 80C51 sends a request signal, that is, pulls the OUT pin to a low level and then releases it;
(3) When the OUT pin is released, P1.0 inputs a high level, counter 0 starts working, and counts TH;
(4) When P1.0 becomes low, counter 0 stops, counter 1 starts, and counts TL;
(5) Calculate the temperature value according to the above formula;
(6) Display the temperature. If it exceeds the limit, an alarm will be issued or the cooling device will be started.
References
[1] American AD Company Product Information [Z]. 2003.
[2] Sha Zhanyou, et al. Principles and Applications of Intelligent Integrated Temperature Sensors [M]. Beijing: Machinery Industry Press, 2002
Reference address:TMP05/06 Temperature Sensor and Its Application
Pin functions: (1) OUT digital output terminal, pulse width modulation PWM output is a square wave signal with a certain relationship with temperature; (2) CONV/IN digital input terminal, in single conversion mode and continuous conversion mode, the three input states of this pin determine the conversion ratio during temperature measurement; in daisy chain mode, it is connected to the PWM output terminal of the previous TMP05/06 as an input pin; (3) FUNC digital input terminal, by setting its high, low, and floating states to select different working modes; (4) VDD positive power supply voltage 3V~5.5V; (5) GND analog and digital ground. 1.2 Temperature measurement principle The working principle of TMP05/06 is to convert the analog quantity of the measured temperature into a digital quantity and encode the digital signal into the form of time ratio (TH/TL). TH and TL are continuous in time, and the ratio of the two can be obtained using the same clock. Therefore, the temperature signal is related to the time ratio. The output of TMP05/06 is a square wave signal. At 25℃, the period of the output square wave is 116ms (typical value, CONV/IN pin is floating). The duration of the high level TH is fixed, while the duration of the low level varies with the temperature. When the CONV/IN pin is set to low or floating, the temperature can be calculated by formula (1): t(℃)=421-751TH/TL(1) If it is set to high level, it is calculated by formula (2): t(℃)=421-93.875TH/TL(2) Among them, the values of TH and TL can be easily read through the timing/counting port of the microprocessor, and then the above algorithm can be implemented by programming to obtain the measured temperature value. 1.3 Performance characteristics The accuracy is ±1℃ in the temperature range of 0℃~70℃, and ±0.5℃ at 25℃; The operating range is -40℃~+150℃; 3V~5.5V single power supply; The maximum power consumption is 70μW under 3.3V power supply; Ultra-small package (SC70 and SOT23 package forms), low power consumption. 2 TMP05/06 working mode TMP05/06 has three working modes. The user can select the appropriate working mode according to the state of the FUNC pin as needed (Table 1).
2.1 Single conversion mode
In single conversion mode, when the microcontroller sends a request, TMP05/06 outputs a square wave signal related to the temperature. The microcontroller first sets the OUT pin to a low level and then releases it, indicating a request for output; when the OUT pin is released, the temperature measurement results TH and TL are output (as shown in Figure 2).
In this mode, the internal resistor is switched into the circuit and the OUT pin of the TMP05 is configured as a push-pull output. This resistor protects the TMP05 from short-circuit current when the microcontroller pulls the OUT pin low to start temperature conversion.
2.2 Continuous Conversion Mode
In continuous conversion mode, the TMP05/06 continuously outputs a square wave signal. The frequency of the square wave is determined by setting the state of the CONV/IN pin. And after power-on, any changes to the CONV/IN pin will not affect the original setting.
2.3 Daisy Chain Operation Mode
By setting the FUNC pin to a high state, multiple TMP05/06s on a printed circuit board can be connected in daisy chain operation mode. Therefore, the microcontroller is allowed to use a dedicated input line to receive all temperature measurements (as shown in Figure 3).
In this working mode, FUNC is configured as a high level, and the CONV/IN pin is used as the input of the daisy chain. It converts at a standard ratio when measuring temperature, so the measured temperature is calculated according to formula (1). Another line of the microcontroller is used to generate a start pulse with a pulse width of less than 25μs to start the first TMP05/06 to convert and output the measurement result. The output of this TMP05/06 provides a start pulse for the next one. Figure 4 shows the waveforms of the start signal and the output signal on the daisy chain respectively.
When the start pulse does not reach the TMP05/06, this component acts as a buffer for the previous temperature measurement. Once the start signal is detected, the conversion is started immediately and the result is output, so the start pulse is provided for the next TMP05/06, and the cycle is repeated. The final output result is shown in Figure 4c. The CONV/IN pin of the first TMP05/06 must be kept low until the last piece outputs the start pulse, and then set high. This is the entire process of the daisy chain working mode.
3 Application of TMP05/06
TMP05/06 can be ideally used as a temperature monitor in various portable electronic devices due to its high-precision measurement results and ultra-small package. For example, it can be used to monitor the temperature of high-speed MCU chips in electronic devices, which is more suitable for surface-mounted chips (install TMP05/06 under the MCU chip and as close to the chip as possible to measure the surface temperature of the chip). Its unique daisy chain working mode can easily connect multiple integrated circuit temperature sensors, simplifying the design of hardware circuits.
TMP05/06 is a single-wire PWM output, which can be easily connected to the microcontroller with only a single line, so the hardware circuit design is relatively simple (as shown in Figure 5).
After TMP05/06 is equipped with a single-chip microcomputer, it is easy to use the counter in the single-chip microcomputer to measure the values of TH and TL respectively, and then program to calculate the temperature value. The specific steps are as follows (TMP05/06 is configured in single-shot conversion mode):
(1) Counters 0 and 1 are initialized;
(2) 80C51 sends a request signal, that is, pulls the OUT pin to a low level and then releases it;
(3) When the OUT pin is released, P1.0 inputs a high level, counter 0 starts working, and counts TH;
(4) When P1.0 becomes low, counter 0 stops, counter 1 starts, and counts TL;
(5) Calculate the temperature value according to the above formula;
(6) Display the temperature. If it exceeds the limit, an alarm will be issued or the cooling device will be started.
References
[1] American AD Company Product Information [Z]. 2003.
[2] Sha Zhanyou, et al. Principles and Applications of Intelligent Integrated Temperature Sensors [M]. Beijing: Machinery Industry Press, 2002
Previous article:The role of capacitive level transmitter in synthetic high-pressure liquid level measurement and control
Next article:Engine combustion process monitoring and cylinder head gasket pressure sensor
- Popular Resources
- Popular amplifiers
Latest sensor Articles
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Milestone! SmartSens CMOS image sensor chip shipments exceed 100 million units in a single month!
- Taishi Micro released the ultra-high integration automotive touch chip TCAE10
- The first of its kind in the world: a high-spectral real-time imaging device with 100 channels and 1 million pixels independently developed by Chinese scientists
- Melexis Launches Breakthrough Arcminaxis™ Position Sensing Technology and Products for Robotic Joints
- ams and OSRAM held a roundtable forum at the China Development Center: Close to local customer needs, leading the new direction of the intelligent era
- Optimizing Vision System Power Consumption Using Wake-on-Motion
- Infineon Technologies Expands Leading REAL3™ Time-of-Flight Portfolio with New Automotive-Qualified Laser Driver IC
MoreSelected Circuit Diagrams
MorePopular Articles
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
MoreDaily News
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
Guess you like
- C28x Filter Library User Experience
- What is the function of the resistor between the input and output of 78L05?
- 【Project source code】 LCD1602 data sheet
- rk3568 latest core board + Android11
- Learning MCU development precautions and requirements
- The long-awaited ADI system solution selection is now online~
- [RVB2601 Creative Application Development] Practice 8-TCP connects ESP8266 node to control LED on and off
- 【GD32L233C-START Review】3. Porting an operating system
- Understanding Envelope Tracking Technology (ET) in 5G
- Rapid IoT Prototyping Kit SLN-RPK-NODE