Community College of Allegheny County Unit 9 Page #1. Thermocouples R1 = 1K

Similar documents
Temperature Measurements

Exercise 1: Thermocouple Characteristics

THERMOCOUPLE CHARACTERISTICS TRAINER

Temperature Measurement

Sensors and Actuators Sensors Physics

ME 365 EXPERIMENT 5 FIRST ORDER SYSTEM IDENTIFICATION APPLIED TO TEMPERATURE MEASUREMENT SYSTEMS

Using a Mercury itc with thermocouples

The Underground Experimental Investigation of Thermocouples

Temperature Measurement

IC Temperature Sensor Provides Thermocouple Cold-Junction Compensation

Sensing, Computing, Actuating

I m. R s. Digital. R x. OhmmetersxSeries Shunt Digital. R m

Lecture 11 Temperature Sensing. ECE 5900/6900 Fundamentals of Sensor Design

Temperature Sensors & Measurement

Experiment 5: Thermocouples (tbc 1/14/2007, revised 3/16/2007, 3/22,2007, 2/23/2009, 3/13/2011)

ASEN 2002 Experimental Laboratory 1: Temperature Measurement and an Blow Dryer Test

Operational Amplifiers

An Electronic Thermal Transducer

Temperature Measurements Using Type K Thermocouples and the Fluke Helios Plus 2287A Datalogger Artmann, Nikolai; Vonbank, R.; Jensen, Rasmus Lund

15. Compare the result with the value you have taken above Compare the calculated pressure value with the actual pressure value that you have

4. Thermometry. Temperature and Heat Flow Temperature Scales Thermometers

Measurements & Instrumentation. Module 3: Temperature Sensors

ECNG3032 Control and Instrumentation I

Microcontrollers and Interfacing

MEASURING INSTRUMENTS

EXPERIMENT VARIATION OF THERMO-EMF WITH TEMPERATURE. Structure. 7.1 Introduction Objectives

Temperature Scales. Temperature, and Temperature Dependent on Physical Properties. Temperature. Temperature Scale

Welcome. Functionality and application of RTD Temperature Probes and Thermocouples. Dipl.-Ing. Manfred Schleicher

Theory and Design for Mechanical Measurements

Electrical and Magnetic Properties of High Temperature Superconductors Using Varying forms of Data Acquisition

24 volts (0.25 amps current-limited)

DATA SHEET. Thermocouple module with digital I²C-Interface - THMOD-I²C. Characteristic features. Areas of application. Features.

Simplified Thermocouple Interface For Hot Only Or Cold Only Measurement With Linearization Circuit

Part 2. Sensor and Transducer Instrument Selection Criteria (3 Hour)

Chapter 1. Blackbody Radiation. Theory

TEMPERATURE MEASUREMENT. GROUP 3 Noah Beauchamp Kyle Camacho Jack Connolly Curtis Yu

1) Thermo couple sensor

EE 321 Analog Electronics, Fall 2013 Homework #3 solution

I. Introduction and Objectives

Lecture 36: Temperatue Measurements

EM375 MECHANICAL ENGINEERING EXPERIMENTATION THERMOCOUPLE LABORATORY

(A) (B) (D) (C) 1.5. Amplitude (volts) 1.5. Amplitude (volts) Time (seconds) Time (seconds)

The LM741C Integrated Circuit As A Differential Amplifier Building The Electronic Thermometer

M E 345 Professor John M. Cimbala Lecture 42

SCTP20 Programmable 2-Wire Temperature Transmitter, Head Mount

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

EA Guidelines on the Calibration of Temperature Indicators and Simulators by Electrical Simulation and Measurement

Now let s look at some devices that don t have a constant resistance.

The design and operational theory of ph electrodes is a very complex subject, explored only briefly here. What is important to understand is that thes

SENSOR OR TRANSDUCER OF INTEREST.

Temperature Measurement and First-Order Dynamic Response *

Harnessing the Power of Arduino for the Advanced Lab

Experiment A4 Sensor Calibration Procedure

Circuits for Analog System Design Prof. Gunashekaran M K Center for Electronics Design and Technology Indian Institute of Science, Bangalore

Prepare for this experiment!

Thermocouple Calibrations and Heat Transfer Coefficients

Thermistor. Created by lady ada. Last updated on :07:23 PM UTC

The Digital Multimeter (DMM)

Making Temperature Measurements

Thermoelectric effect

Making Contact with Temperature

2. In words, what is electrical current? 3. Try measuring the current at various points of the circuit using an ammeter.

Lab 5a: Magnetic Levitation (Week 1)

(Refer Slide Time: 01:16)

Thermometry. History. History 1/21/18. The art or science of temperature observation

Sensors Conditioning Module

Arduino and Raspberry Pi in a Laboratory Setting

Measurement of non-electrical quantities

Lecture 4: Feedback and Op-Amps

Module 4 : THERMOELECTRICITY Lecture 21 : Seebeck Effect

AN3002 Thermocouple measurement

Prepare for this experiment!

1. Mark the correct statement(s)

National Exams May 2016

PALO VERDE NUCLEAR GENERATING STATION

The equivalent model of a certain op amp is shown in the figure given below, where R 1 = 2.8 MΩ, R 2 = 39 Ω, and A =

PHYS 352 Assignment #1 Solutions

Measurement in Engineering

SENSORS and TRANSDUCERS

Thermocouple Amplifier MAX31855 breakout board (MAX6675 upgrade)

Laboratory 12: Three Thermodynamics Experiments

LM135/LM235/LM335, LM135A/LM235A/LM335A Precision Temperature Sensors

Of all the physical properties, it is temperature, which is being measured most often.

APPENDIX ELEVEN Open Fire Temperature Measurements

Experiment 3. Electrical Energy. Calculate the electrical power dissipated in a resistor.

Semiconductor thermogenerator

EXPERIMENT 12 OHM S LAW

Department of Mechanical and Aerospace Engineering. MAE334 - Introduction to Instrumentation and Computers. Final Examination.

Temperature Measurements

LM135/LM235/LM335, LM135A/LM235A/LM335A Precision Temperature Sensors

California University of Pennsylvania. Department of Applied Engineering & Technology. Electrical / Computer Engineering Technology

MAX Cold-Junction Compensated Thermocouple-to-Digital Converter ABSOLUTE MAXIMUM RATINGS. PACKAGE THERMAL CHARACTERISTICS (Note 1)

Exercise 1: Thermistor Characteristics

Activity 1: Investigating Temperature

ME 3210 Mechatronics II Laboratory Lab 4: DC Motor Characteristics

E40M. Op Amps. M. Horowitz, J. Plummer, R. Howe 1

4. Heat and Thermal Energy

MAX31855 Cold-Junction Compensated Thermocouple-to-Digital Converter

Biosensors and Instrumentation: Tutorial 2

ISOCON-6. 24V AC or DC POWERED ISOLATING SIGNAL CONVERTER

Transcription:

10K Community College of Allegheny County Unit 9 Page #1 Thermocouples +12V Thermocouple Junction Vin Copper Wire Constantan Wire + - 3 2 741 7 4 1 5-12V 6 V Vout R1 = 1K Rf = 100K Engineers are not expected to know everything at all times. The job requires them to learn over time, and to revise each effort repeatedly in a never-ending effort to learn and adapt to changing requirements. When you accept this, you will no longer fear the unknown. Instead, you will have confidence to identify & understand what you do not know, while never assuming that everything is fine, easy or perfect. Revised: Dan Wolf, 5/6/2018

Community College of Allegheny County Unit 9 Page #2 OBJECTIVES: Understanding Thermocouples Using the Arduino for Thermocouple temperature measurement. DELIVERABLES THAT YOU MUST SUBMIT 1. Tables 1, 2 (plus equations and comments) 2. Experiment #3 Schematic and summary 3. Practice Problems On-Line Reading Material for Thermocouples: Required: a) http://www.analog.com/en/analog-dialogue/articles/measuringtemp-using-thermocouples.html b) http://www.electronics-tutorials.ws/io/io_3.html c) http://www.eurotherm.net.au/control/product/appl/tc_colour_ha0 27723_1.pdf Optional: a) http://www.thermocoupleinfo.com/ b) Thermocouple Tables: https://srdata.nist.gov/its90/menu/menu.html c) http://www.allaboutcircuits.com/textbook/direct-current/chpt- 9/thermocouples/ INTRODUCTION TO THERMOCOUPLES: When two different metallic materials are in contact, a voltage will be generated that depends on the temperature difference between the junction and the rest of the conductors. Typically, induced voltages will be between 1 and 70 µv/ C for standard metal combinations. This effect is known as the Seebeck effect in honor of the Estonian physicist, Thomas Seebeck.

Community College of Allegheny County Unit 9 Page #3 A thermocouple consists of two wires of dissimilar metals joined together at one end, called the measurement ("hot") junction. The other end, where the wires are not joined, is connected to the signal conditioning circuitry traces, typically made of copper. This junction between the thermocouple metals and the copper traces is called the reference ("cold") junction. Note that the reference junction temperature must be known to get an accurate absolute temperature reading (reference junction compensation). Thermocouple types include Types R, S, K, E, T, and J with each type made from two different metals providing each with a unique temperature range, Coefficient (uv/ C), and Sensitivity. We will work with the Type K (Chromel/Alumel) thermocouple which is the most common, providing the widest temperature range (-200 to 1300 C) with an accuracy of ± 2.2 C% or ±.75%. EQUIPMENT REQUIRED: 1. Type K Thermocouple 2. Arduino Uno, power supply, cable, and USB Hub. 3. AdaFruit AD8495 Shield for the Arduino 4. 741 Op-Amp IC 5. 1KΩ resister 6. 100KΩ resister 7. 10KΩ, 10-turn potentiometer 8. Digital Voltmeter 9. Oscilloscope 10. Thermometer, ice and water

Community College of Allegheny County Unit 9 Page #4 Experiment #1 Thermocouple Demonstration: 1. Figure #1 shows a Type K thermocouple that is connected to an oscilloscope or voltmeter. Construct the circuit, test the circuit at room temperature and record the result in Table #1. It will not be easy to see a steady output because the very low-level output will be overshadowed by electrical noise. 2. Insert the thermocouple in an ice bath and record the result. 3. Note that the thermocouple generates a very small voltage but you should be able to see a noticeable increase between the ice bath and your hand temperature. Apply moderate heat and capture the result. Then heat it a little more to finish Table #1. 4. Submit Table #1 as your documentation for this experiment. Thermocouple Only Ice Bath 32 F Room Temperature The palm of your hand (fist) Warm tap water Table #1 Actual Temperature Expected mv Output (from T/C tables) Actual mv Output Experiment #2 Temperature Measurement with the Arduino: 1. Figure #2 shows a Type K thermocouple connected to an Arduino microcontroller. The Arduino is using an AdaFruit AD8495 shield which performs the amplification and linearization necessary to for the Arduino to properly collect the temperature.

Community College of Allegheny County Unit 9 Page #5 The Adafruit AD8495 shield amplifies the small thermocouple signal and feeds the larger signal to the Arduino A0 analog input. The Arduino software reads the RAW A-D value representing the amplified thermocouple voltage. Because there are low level noise and offset errors, the signal has a small amount of instability causing the temperature to appear to shift up and down by a degree or two. So, the Arduino software reads ten samples every second. It then discards the two highest and two lowest values and averages the eight values in the middle to produce a filtered result. Finally, the filtered result is converted to voltage, Centigrade and Fahrenheit and sent to the Serial Monitor for display. Knowing that the A-D converter is 10-bits (2 10 = 1024) with a 5V reference voltage, the formula to convert the RAW A-D count to voltage is: Vout = RAW A-D Value * 5.0V 1024 The formula to convert the amplified T/C voltage to C is: C = Vout 1.25 0.488mV 2. Construct the circuit and upload the Arduino with the program named: Arduino_Thermocouple.ino 3. Start the Arduino Serial Monitor: Tools Serial Monitor so that you can monitor the Arduino temperatures. 4. Complete the tests listed in Table #2. The Arduino AD8495 shield amplifies and filters the signal so it will be much easier to read. The shield also adds a 1.25 volt offset to the signal so don t forget to subtract 1.25 volts from the Arduino reported voltage. There will also be an ADC offset error due to the Arduino. 5. Note that the Arduino temperatures are very responsive and easy to use. It is possible to perform the amplification with a basic Op-Amp but that would require a circuit design and construction and would not provide any type of linearization, filtering, or display. Today s technology allows us to purchase off-the-shelf components like the Arduino that, with a little bit of software, can greatly expand the usefulness for much less development costs.

Community College of Allegheny County Unit 9 Page #6 6. Submit Table #2 as your documentation for this experiment. Table #2 Expected mv Actual Actual Output Arduino mv Temperature (from T/C Temperature Output tables) Arduino Thermocouple Ice Bath 32 F Room Temperature The palm of your hand (fist) Warm tap water Experiment #3: 1. Build and test the circuit on the cover page of this lab. You should observe that this circuit is better than Experiment #1 (which measures a very small signal) but not as good as Experiment #2 (which includes both amplification and filtering). 2. Submit a schematic and summary of the results with comments contrasting this solution to those in Experiments 1 and 2. Optional Experiment #1: 1. Place the thermocouple in an ice bath and observe whether you get a 0 C reading. If it is not zero, adjust the offset value that is in the software (1.25 volt) so that you get 0 C when the T/C is in the ice bath. Due to the Arduino scaling, every 4.88mV (0.00488) that you add or subtract will affect the temperature offset by 1 C. 2. Examine the Arduino software. The A-D value is read by the call to analogread(a0) which puts the value into the raw variable. Change the software by removing the filter so that the Serial Monitor displays each temperature value in

Community College of Allegheny County Unit 9 Page #7 real-time (ask the instructor for help if you are not familiar with software). Observe the amount of instability. 3. Summarize your comments and provide a copy of the modified Arduino software. Figure #1 Thermocouple Demonstration

Community College of Allegheny County Unit 9 Page #8 Figure #2 Arduino Thermocouple Circuit Type K Thermocouple Junction Copper Wire Constantan Wire Adafruit AD8495 Shield Analog K-Type Thermocouple Amplifier 2.7 to 18Vdc T=(Vo-1.25)/5mV Vo=T*5mV+1.25V Temp is in C Computer USB Arduino Uno External Power Supply

Community College of Allegheny County Unit 9 Page #9 Figure #3 Type K Temperature Table Type K Thermocouple - Thermoelectric Voltage in mv DegC 0 1 2 3 4 5 6 7 8 9 10 0 0 0.039 0.079 0.119 0.158 0.198 0.238 0.277 0.317 0.357 0.397 10 0.397 0.437 0.477 0.517 0.557 0.597 0.637 0.677 0.718 0.758 0.798 20 0.798 0.838 0.879 0.919 0.96 1 1.041 1.081 1.122 1.163 1.203 30 1.203 1.244 1.285 1.326 1.366 1.407 1.448 1.489 1.53 1.571 1.612 40 1.612 1.653 1.694 1.735 1.776 1.817 1.858 1.899 1.941 1.982 2.023 50 2.023 2.064 2.106 2.147 2.188 2.23 2.271 2.312 2.354 2.395 2.436 60 2.436 2.478 2.519 2.561 2.602 2.644 2.685 2.727 2.768 2.81 2.851 70 2.851 2.893 2.934 2.976 3.017 3.059 3.1 3.142 3.184 3.225 3.267 80 3.267 3.308 3.35 3.391 3.433 3.474 3.516 3.557 3.599 3.64 3.682 90 3.682 3.723 3.765 3.806 3.848 3.889 3.931 3.972 4.013 4.055 4.096 100 4.096 4.138 4.179 4.22 4.262 4.303 4.344 4.385 4.427 4.468 4.509 110 4.509 4.55 4.591 4.633 4.674 4.715 4.756 4.797 4.838 4.879 4.92 120 4.92 4.961 5.002 5.043 5.084 5.124 5.165 5.206 5.247 5.288 5.328 130 5.328 5.369 5.41 5.45 5.491 5.532 5.572 5.613 5.653 5.694 5.735 140 5.735 5.775 5.815 5.856 5.896 5.937 5.977 6.017 6.058 6.098 6.138 150 6.138 6.179 6.219 6.259 6.299 6.339 6.38 6.42 6.46 6.5 6.54

Community College of Allegheny County Unit 9 Page #10 Figure #4 Arduino_Thermocouple.ino - Arduino Software // // Every second, this collects 10 temperature samples, // discards the 2 lowest and the 2 highest then averages the 6 in the middle. // Written: 12/23/2016, djw // This uses the AdaFruit AD8495 shield via the Arduino Analog 0 input // Accurate to about 1degC or about 2degF // #include <SPI.h> const int OUTPUT_PIN_LOW = 4; //this output will go high when the temperature exceeds the lower threshold const int OUTPUT_PIN_HIGH = 5; //this output will go high when the temperature exceeds the upper threshold const float OUTPUT_PIN_LOW_THRESHOLD = 5.0; //this is the low threshold in degf const float OUTPUT_PIN_HIGH_THRESHOLD = 15.0; //this is the high threshold in degf void setup() { Serial.begin(9600); Serial.print("Thermocouple Program Starting vapr_20_2017...\n"); Serial.print("This uses the AdaFruit AD8495 shield via the Arduino Analog 0 input.\n"); Serial.print("This filters via 10 samples, discarding the two upper and lower.\n"); pinmode(output_pin_low, OUTPUT); //LED for low status pinmode(output_pin_high, OUTPUT); //LED for high status void loop() { int ix; char buf[200]; char stemp_float[10]; float ftemperature_degf; char stemperature_degf[10]; float ftemperature_degc; char stemperature_degc[10]; int sortvalues[13]; int raw; float Vout; for (ix = 0; ix < 10; ix++) { //collect 10 samples sortvalues[ix] = analogread(a0); delay(100); sort(sortvalues, 10); // sort and then discard the two upper and lower values raw = (sortvalues[2] + sortvalues[3] + sortvalues[4] + sortvalues[5] + sortvalues[6] + sortvalues[7] ) / 6; Vout = raw * (5.0 / 1023.0); // Temperature = (Vout - 1.25) / 0.005 V. For example, if the voltage is 1.5VDC, the temperature is (1.5-1.25) / 0.005 = 50 C ftemperature_degc = (Vout - 1.25) / 0.00488; // normally subtract 1.25 but adjust for zero-offset calibration compensation ftemperature_degf = (ftemperature_degc * 9) / 5 + 32; //convert to degf dtostrf(ftemperature_degf, 3, 1, stemperature_degf); // 3 is mininum width, 1 is precision; dtostrf(ftemperature_degc, 3, 1, stemperature_degc); // 3 is mininum width, 1 is precision; dtostrf(vout, 4, 3, stemp_float); // 4 is mininum width, 3 is precision; sprintf(buf, " RawAD Value= %u Voltage= %s Volt Temperature= %s degc or %s degf \n", raw, stemp_float, stemperature_degc, stemperature_degf); Serial.print(buf); if (ftemperature_degf > OUTPUT_PIN_LOW_THRESHOLD) { digitalwrite(output_pin_low, HIGH); //indicate temperature is higher then the low limit else { digitalwrite(output_pin_low, LOW); //indicate temperature is lower then the low limit if (ftemperature_degf > OUTPUT_PIN_HIGH_THRESHOLD) { digitalwrite(output_pin_high, HIGH); //indicate temperature is higher then the high limit else { digitalwrite(output_pin_high, LOW); //indicate temperature is lower then the high limit // ===================================================================================================== void sort(int a[], int size) { int x; int y; int z; for (x = 0; x < (size - 1); x++) { for (y = 0; y < (size - (x + 1)); y++) { if (a[y] > a[y + 1]) { z = a[y]; a[y] = a[y + 1]; a[y + 1] = z;

Community College of Allegheny County Unit 9 Page #11 PRACTICE PROBLEMS: 1. 277 on the Kelvin scale is equal to: C = F = 2. Temperature sensing can be achieved by the use of: a) RTDs b) thermocouples c) thermistors d) all of the above 3. What is the definition of Negative Temperature Coefficient? 4. Identify the accuracy of each of the following: a. Type-K Thermocouple: b. Thermistor: c. Platinum RTD: 5. What voltage would we expect from a type-j thermocouple at 100 C?