Design Con 2015
Breaking News
Newest First | Oldest First | Threaded View
User Rank
re: Microcontroller-based temperature sensors—Accuracy considerations
StephenTo   9/1/2012 8:28:48 PM
Thank you all for your comments. Self-heating can affect all temperature sensors mentioned in the this article. It can be minimized by controlling the power consumption/dissipation of the sensor. Furthermore, self-heating in integrated sensors can be treated as an offset error and minimized by the second calibration technique. In the resistive transducer case, a ratiometric configuration is indeed a powerful technique to eliminate ADC voltage reference error. I encourage readers to explore and evaluate all types of temperature sensors for the desired application. For those interested in thermistors, SPLatman's tutorial and linearization looks like a good resource. For those interested in the C8051F39x, below are the entire contents in main() to obtain and +/- 2'C measurement: // Disable watchdog timer PCA0MD &= ~0x04; // Change SFRPAGE to access TS0CN register SFRPAGE = TS0CN_PAGE; // Start temp sensor conversion TS0CN |= 0x80; TS0CN &= ~0x80; // Wait for conversion to complete while ((TS0CN & 0x40) != 0x40); // Clear finished flag TS0CN &= ~0x40; // Change SFRPAGE to access TS0DAT register SFRPAGE = TS0DAT_PAGE; // Save temperature in degrees C myTemp = TS0DAT; while(1);

User Rank
re: Microcontroller-based temperature sensors—Accuracy considerations
kendallcp   8/30/2012 8:41:50 AM
Agree about the great value-for-money of thermistors. The usual measurement method is ratiometric to a reference resistor, also, and a 0.1% resistor is far cheaper than a 0.1% voltage reference. So the comment in the article about ADC reference affecting the results isn't correct in the resistive transducer case. Really like the tutorial on Excel polynomial fitting BTW, SPLatMan! How I missed this capability for so many years I'll never know.

User Rank
re: Microcontroller-based temperature sensors—Accuracy considerations
SPLatMan   8/30/2012 7:38:01 AM
Sad. Thermistors are not linear. RTD's are approximately linear. MCUs have internal temperature rise, which was not mentioned. An on-chip temp sensor is fine - for measuring die temperature. In terms of bang for buck thermistors take the prize, IMHO. As a rule of thumb, % accuracy of the thermistor is about the same as 'F accuracy. Betatherm and the like have thermistors down to 0.05'C accuracy, out of the box. Common or garden 2% thermistors are about as accurate as premium grade semiconductor devices. We routinely get 0.1'C resolution with a 10-bit ADC. Thermistor tutorial, including linearization:

User Rank
re: Microcontroller-based temperature sensors—Accuracy considerations
CMathas   8/29/2012 8:28:05 PM
Maybe you can expand...

User Rank
re: Microcontroller-based temperature sensors—Accuracy considerations
jc07   8/29/2012 7:12:24 PM

Top Comments of the Week
Flash Poll
Like Us on Facebook Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Feast Your Orbs on My Vetinari Clock Prototype
Max Maxfield
Well, I have to admit that I have a great big Cheshire Cat-type grin plastered on my face at the moment, because the prototype for my Vetinari Clock project is now well underway.

Jack Ganssle,

Open Office: Your Fart is My Problem
Jack Ganssle,
A Washington Post article, Google got it wrong. The open-office trend is destroying the workplace, describes how the author's ad agency moved her from a private office to an open space ...

Rich Quinnell

Bloopers Book Helps Improve GUI Development
Rich Quinnell
Courtesy of fellow editor "Max" Maxfield (aka Max the Magnificent), I recently acquired a copy of GUI Bloopers 2.0 by Jeff Johnson of UI Wizards. I found it an interesting read chock full ...

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Special Video Section
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.
Recently formed Architects of Modern Power consortium ...
Specially modified Corvette C7 Stingray responds to ex Indy ...
Avago’s ACPL-K30T is the first solid-state driver qualified ...
NXP launches its line of multi-gate, multifunction, ...
Doug Bailey, VP of marketing at Power Integrations, gives a ...
See how to ease software bring-up with DesignWare IP ...
DesignWare IP Prototyping Kits enable fast software ...
This video explores the LT3086, a new member of our LDO+ ...
In today’s modern electronic systems, the need for power ...