Thermocouple find voltage vs. temperature

조회 수: 10 (최근 30일)
Joy
Joy 2021년 4월 26일
편집: Joy 2021년 4월 28일
Array=csvread('ambient.csv');
x1=Array(:,1);
y1=Array(:,2);
nexttile
plot(x1,y1)
title('Voltage vs. Time of Ambient');
xlabel('Time');
ylabel('Voltage');
%Find mean
time=Array(:,1);
meanta=mean(time)
voltage=Array(:,2);
meanva=mean(voltage)
hold on
%icewater
Array2=csvread('icewater.csv');
x2=Array2(:,1);
y2=Array2(:,2);
nexttile
plot(x2,y2)
title('Voltage vs. Time of Ice Water');
xlabel('Time');
ylabel('Voltage');
hold on
%Find mean
time1=Array2(:,1);
meanti=mean(time1)
voltage1=Array2(:,2);
meanvi=mean(voltage1)

채택된 답변

Clayton Gotberg
Clayton Gotberg 2021년 4월 26일
You're trying to make a calibration curve for your thermocouple, so you should know the temperature at two calibration points. Did your lab test the voltage at two known temperatures? Often, students measure the voltage of a thermocouple when it is inserted into boiling water and melting water (mixed water and ice).
If you know the voltage and temperature for two points, you can figure out how much the voltage changes when the temperature changes (the sensitivity). For example, if I read 10.5 volts when the thermocouple is in the freezing water and 0.5 volts when the thermocouple is in the hot water, I know that the voltage decreases 10 V over 100°C, meaning that the voltage changes by -0.1V/°C. Now, if I measure 5.5 V from the thermocouple, I can relate that to 50°C.
  댓글 수: 7
Clayton Gotberg
Clayton Gotberg 2021년 4월 28일
My best guess is that your lab requirements include both the calibration curve and the results curves, but I'm not in your course so I really can't be sure about why it's being requested.
For text, check out both the text function built in to MATLAB and the labelpoints package on the File Exchange!
Joy
Joy 2021년 4월 28일
Thank you so much for your help!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by