element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sensors
  • Technologies
  • More
Sensors
Sensor Forum Any ideas for low-cost Thermocouple Interfacing methods?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 25 replies
  • Subscribers 340 subscribers
  • Views 6476 views
  • Users 0 members are here
  • thermocouple
  • thermistor
Related

Any ideas for low-cost Thermocouple Interfacing methods?

shabaz
shabaz over 3 years ago

Note: See here for a project that resulted from this discussion: BLE EasyTempProbe 

Hi,

Since thermocouple measurement ICs are getting expensive/hard to find, I wished to use a single channel ADC, for thermocouple measurements (actually, I want to use a dual channel ADC for two thermocouples, but it's likely the same problem just doubled!).

The trouble is, the cold end of the thermocouple needs measuring too, and I was thinking of using a thermistor for that because that's easier to obtain (and cheaper) than an IC sensor. In summary, I wished to multiplex a thermistor and a thermocouple.

I've come up with the diagram below so far and wish to use it in an environment where the cold junction might be in the range of -40 to +50 deg C, and the thermocouple might be in the range of -40 to +400 deg C (maybe a Type J thermocouple). I think it will have an error of a few deg C. The ADC is 16-bit, and I likely won't be using the whole range of it. The ADC has a PGA of up to 8X, so it will be set to 8X when measuring the thermocouple.

The main benefit of the proposal below is that it is cheap since it just needs a couple of transistors and a few resistors. I could think of more complex circuits for a more accurate measurement, but it would be nice to see if this is good enough, or if it could be tweaked to be good enough unless anyone has other suggestions.

If it works, this would be a cheap way (under $5, ADC included) to have two thermocouples each with their own compensation, with the drawbacks that accuracy might be a few degrees at best, and no isolation either, unfortunately. 

Any ideas would be gratefully appreciated, since I'm sure I may be missing some great techniques, missing the wood for the trees, etc! Has anyone come across any low-cost methods to do such a thing? Any mistakes I'm making?

image

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 3 years ago +6
    Thinking out loud: Both transistors off, no path on input to 0V so ADC pins 2 and 3 pulled to 3.3V, probably outsiede ADC common mode range. Both transistors on, both sides of thermocouple pulled to…
  • shabaz
    shabaz over 3 years ago +3
    Hi fmilburn (Replying here to remove the comment indent, since I wanted to share some diagrams) I've had a shot at doing it, and was close to giving up since I was seeing huge errors!, but it was…
  • shabaz
    shabaz over 3 years ago +3
    I had a short bit of time to try to prototype this, it is not tested yet. The jumper positions on the left select different resistors, to simulate the thermistor, to be at a temperature of -30, 0, 25 or…
Parents
  • shabaz
    shabaz over 3 years ago

    Hi fmilburn

    (Replying here to remove the comment indent, since I wanted to share some diagrams)

    I've had a shot at doing it, and was close to giving up since I was seeing huge errors!, but it was a mistake in a calculation. I think it's looking good, but reality might be different!

    Referring to this circuit (it is similar to before, except I've reduced the filter resistance further), I first closed the switch and tried seeing what the expected values should be. The switch closed is when the thermistor (cold junction) temperature needs to be measured:

    image

    I picked a NTC thermistor with 1 kohm resistance at 25 deg C, and used a Beta value of 3650. In the screenshot below, the Excel spreadheet boxed section labeled "Standalone Thermistor" was used to check that the formula was working for conversions from resistance to temperature, and vice-versa. Green cells are input values, pink cells are outputs from formulas.

    The spreadsheet is very clunky, it isn't all automated, some values are currently looked up.

    Using the normal potential divider formula (i.e. Ohms law) I worked out what the voltage across the thermistor would be, and that is in the box labelled "Thermistor in Potential Divider".

    Once I had this, I used a Spice simulation to see what it thought I would get, with the switch closed. The "Thermistor error" box is the area where I tried simulating from -30 to +50 degrees C, which is likely to be the max range that the cold junction will encounter.

    I varied the thermistor voltage between the limits of -5mV and +20mV since that will cover more than 400 degrees C of interest area, and the thermocouple voltage will have a slight impact when reading the thermistor voltage. It turns out, the error is small, mostly smaller than 1 deg C apart from at the 50 deg C extreme. The green cells at the right side of the "Thermistor error" box show the Spice simulation results, and I'm really happy with those. The thermistor measurement looks good with the current layout.

    image

    Next, I moved to the thermocouple measurements, i.e. with the switch open. I didn't use a formula, I just used a lookup table from a datasheet for a Type-K thermocouple. It was a similar idea to the thermistor, i.e. just trying to model in Excel what is expected, and comparing with Spice. In the case of the thermocouple, since the measurement of that includes the thermistor resistance, the circuit looks like a potential divider circuit where the source voltage is the thermocouple voltage (Vthermocouple), and the resistors in the potential divider are R2, RADC1, and the thermistor. Taking them into account, I can work out what the voltage across the ADC should be (Vadc), and vice-versa, i.e. with a given Vadc measurement, to convert back from that to determine what Vthermocouple is. 

    I used the "Vadc for Thermocouple measurements" boxed section for this, while varying the thermistor resistance across the range -30 degC to 50 deg C, for thermocouple voltages of -5mV and +20mV, which correspond to -154 degC and 485 degC if the cold junction were at 0 degC.

    The Spice simulation agrees very closely, so this is good confidence that the formulas are now good, and that if this circuit was built, then it may work!

    The one major caveat is, that the resistances in series with the thermocouple will cause huge error, if the ADC internal resistance changes. because that ADC resistance is part of the potential divider. The spice simulation may be useless, because of this assumption (I don't have a spice model of an ADC, I just modeled using the resistance in the datasheet, which is 2.25 Mohm divided by the gain, which will likely need to be set to the maximum which is 8). Thats 280 kohm, although I used a value of 250 kohm, the concept is the same, I would just need to change that param in the spreadsheet.

    I can reduce the effect of the ADC input, by reducing the value of the thermistor, so I've chosen a small value of 1 kohm at 25 deg C, and perhaps reduce further by paralleling it with another resistor, although that may be unnecessary. I don't know though, it's probably time to try the circuit out for real! 

    It will be possible to test the performance by applying a voltage in place of the thermocouple, this will simulate any temperature, and using a worst-case resistance for the thermistor, which would be at the coldest temperature, e.g. 15.94kohm for -30 deg C. 

    If that RADC1 value doesn't change much, then the measurement might be good. From the simulation, a 10% change in the value of RADC1 barely makes a difference to the measurement, so that's a good sign I guess, but I really don't know in practice if it will change even more. 

    In summary, there are positive signs, but it could all go wrong in practice.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • fmilburn
    fmilburn over 3 years ago in reply to shabaz

    Very clever :-).  I find that making a working Excel model can be very useful as it requires one to understand the problem in a way that a canned model does not. 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • fmilburn
    fmilburn over 3 years ago in reply to shabaz

    Very clever :-).  I find that making a working Excel model can be very useful as it requires one to understand the problem in a way that a canned model does not. 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube