Temperature sensor LPC54618

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Temperature sensor LPC54618

ソリューションへジャンプ
1,267件の閲覧回数
raluralu
Contributor II

I am looking for documentation on how to convert ADC readout into temperetaure.
UM10912 chapter 45.3 refers to Data Sheet where one should find a way to calibrate sensor.

DataSheet for LPC546XX chapter 7.22 is missing some technical details to conduct temperature calibration and conversion from adc to temperature.

Can someone help me on approach to measure temperature using internal sensor?

0 件の賞賛
返信
1 解決策
1,249件の閲覧回数
frank_m
Senior Contributor III

There is a diagram in the datasheet, specifying the temp. sensor voltage across the temperature range. (Fig.42 at page 142).

The datasheet further says:

The temperature sensor transducer uses an intrinsic pn-junction diode reference and outputs a CTAT voltage (Complement To Absolute Temperature). The output voltage varies inversely with device temperature with an absolute accuracy of better than ±5 °C over the full temperature range (-40 °C to +105 °C). The temperature sensor is only approximately linear with a slight curvature. The output voltage is measured over different ranges of temperatures and fit with linear-least-square lines.

Such p-n voltages use to differ, I suppose the given diagram is an average. So, it seems you need to calibrate it yourself (record the voltage at two or more temperatures). Or check the SDK examples, perhaps there is one for the sensor (check the ADC section).

I use such internal sensors rarely, the junction temperature inside the MCU package is of limited value (auto-heating).

元の投稿で解決策を見る

3 返答(返信)
1,258件の閲覧回数
raluralu
Contributor II

@frank_m thank you for your help. So far I was able to autocalibarte adc, and to read out digital value form adc connected on temperature sensor.   Value on adc from temp sensor is around 630 adc counts (not sure if correct yet). How to make conversion of this digital adc readout in terms of temperature value? What particular section in manuals did you had in mind?

0 件の賞賛
返信
1,250件の閲覧回数
frank_m
Senior Contributor III

There is a diagram in the datasheet, specifying the temp. sensor voltage across the temperature range. (Fig.42 at page 142).

The datasheet further says:

The temperature sensor transducer uses an intrinsic pn-junction diode reference and outputs a CTAT voltage (Complement To Absolute Temperature). The output voltage varies inversely with device temperature with an absolute accuracy of better than ±5 °C over the full temperature range (-40 °C to +105 °C). The temperature sensor is only approximately linear with a slight curvature. The output voltage is measured over different ranges of temperatures and fit with linear-least-square lines.

Such p-n voltages use to differ, I suppose the given diagram is an average. So, it seems you need to calibrate it yourself (record the voltage at two or more temperatures). Or check the SDK examples, perhaps there is one for the sensor (check the ADC section).

I use such internal sensors rarely, the junction temperature inside the MCU package is of limited value (auto-heating).

1,260件の閲覧回数
frank_m
Senior Contributor III

The user manual (UM10912) has two sections (44 and 45), dealing with ADC configuration and temperature sensor.

The characteristics of the sensor are described in the datasheet.

0 件の賞賛
返信