Measuring Temperature with the
[11-20 17:33:01] 来源:http://www.88dzw.com 模拟电子技术 阅读:8176次
文章摘要:16 = Number of ADC steps for MAX1358 16-bit ADCTo convert the measured temperature in Kelvin to degrees Celsius, the following formula is used:°C = K - 273.15Procedure Using the Internal TransistorThe procedure for measuring the voltages across the internal transistor and internal resistor applies a
Measuring Temperature with the,标签:模拟电子技术基础,模拟电子电路,http://www.88dzw.com16 = Number of ADC steps for MAX1358 16-bit ADC
To convert the measured temperature in Kelvin to degrees Celsius, the following formula is used:
°C = K - 273.15
Procedure Using the Internal Transistor
The procedure for measuring the voltages across the internal transistor and internal resistor applies a current from the current source, and measures the resulting VBE and VR.
Step 1. Enable the Reference and ADC
Enable the internal 1.251V reference and the reference buffer with a gain of 1.0 by setting REFV[1:0] bits to 0x01 in the REF_SDC register.
Enable the ADC by setting the ADCE bit in the ADC register. The internal reference and ADC are enabled. Note: The ADC is set with the default parameters of unipolar, normal polarity, single conversion, internal reference, unity gain, 10 samples per second, and normal conversion.
Step 2. Calibrate the ADC
Set the ADC conversion mode to Self Offset and Gain Calibration by setting the Mode[2:0] bits to 0x07 in the ADC register. Start an ADC conversion by setting the STRT bit in the ADC register. The ADC is now calibrated. The Mode[2:0] bits in the ADC register are automatically cleared. This returns the ADC to normal operation.
Step 3. Set the Current Source for the Internal Temperature Sensor
Set the current source for the internal temperature sensor by setting the IMUX[1:0] bits to 0x01 in the TEMP_CTRL register.
Step 4. Set the Current Source for I1 (4µA)
Set the current source for I1 by setting the IVAL[1:0] bits to 0x00 in the TEMP_CTRL register.
Step 5. Set the ADC Input for TEMP+ to TEMP-
Set the ADC positive input multiplexer for TEMP+ by setting MUXP[3:0] to 0x07 in the MUX register. Set the ADC negative multiplexer for TEMP- by setting MUXN[3:0] to 0x00 in the MUX register.
Step 6. Measure VBE1 using the ADC
The VBE1 voltage is measured from the TEMP+ to the TEMP- inputs to the ADC. The ADC is already configured and only needs to convert to get the resulting VBE1 voltage. To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VBE1 for later calculation.
Step 7. Set the ADC Input for VR1
Set the ADC positive input multiplexer for AGND by setting MUXP[3:0] to 0x09 in the MUX register. Set the ADC negative multiplexer for TEMP- by setting MUXN[3:0] to 0x00 in the MUX register (same as step 5). To measure the TEMP- input relative to AGND, the polarity flipper bit is used. Set the POL bit in the ADC register. The ADC is now setup with TEMP- as its positive input and AGND as its negative input.
Step 8. Measure VR1 using the ADC
To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VR1 for later calculation.
Step 9. Set the Current Source for I2 (60µA)
Set the current source for I2 by setting the IVAL[1:0] bits to 0x01 in the TEMP_CTRL register.
上一页 [1] [2] [3] [4] [5] [6] [7] [8] 下一页
《Measuring Temperature with the》相关文章
- › Measuring Temperature with the
- 在百度中搜索相关文章:Measuring Temperature with the
- 在谷歌中搜索相关文章:Measuring Temperature with the
- 在soso中搜索相关文章:Measuring Temperature with the
- 在搜狗中搜索相关文章:Measuring Temperature with the