Sensor testing was performed in the Power Electronics Lab with the help from the lab staff from the laboratory.

The sensor left in the oven with a supply voltage of +5V, and its digital output Dout was connected directly to an oscilloscope outside the oven for the sensor’s high period T1 and low period T2 readings. In order to avoid errors, each time the reading was taken twice. An average value was chosen for the calculation of measured temperature. I summarized the results in the table below.
Oven Temp/°C |
T1/ms |
T2/ms |
Measured Temp/°C |
Temp Difference/°C |
T1 - 1 |
T1 - 2 |
T1Ave |
T2 - 1 |
T2 - 2 |
T2Ave |
25 |
8.00 |
8.00 |
8.00 |
15.30 |
15.35 |
15.33 |
26.1908646 |
1.1908646 |
26 |
8.10 |
7.95 |
8.03 |
15.40 |
15.40 |
15.40 |
26.55844156 |
0.558441558 |
27 |
8.00 |
8.10 |
8.05 |
15.50 |
15.55 |
15.53 |
27.59259259 |
0.592592593 |
28 |
8.06 |
8.07 |
8.07 |
15.50 |
15.56 |
15.53 |
27.27301996 |
-0.726980039 |
29 |
8.06 |
8.00 |
8.03 |
15.60 |
15.63 |
15.62 |
29.30035223 |
0.300352225 |
30 |
7.99 |
8.00 |
8.00 |
15.65 |
15.66 |
15.66 |
30.72021718 |
0.720217183 |
31 |
8.00 |
8.05 |
8.03 |
15.75 |
15.80 |
15.78 |
31.51347068 |
0.513470681 |
32 |
8.00 |
8.07 |
8.04 |
15.80 |
15.90 |
15.85 |
32.22397476 |
0.223974763 |
33 |
8.00 |
7.99 |
8.00 |
15.90 |
15.95 |
15.93 |
34.18367347 |
1.183673469 |
34 |
8.00 |
8.02 |
8.01 |
16.00 |
16.03 |
16.02 |
34.93755854 |
0.937558539 |
35 |
8.04 |
8.03 |
8.02 |
16.04 |
16.03 |
16.05 |
35.12461059 |
0.124610592 |
36 |
8.01 |
7.99 |
8.00 |
16.06 |
16.05 |
16.07 |
35.87118855 |
-0.12881145 |
37 |
8.00 |
8.00 |
8.00 |
16.12 |
16.08 |
16.10 |
36.24223602 |
-0.757763975 |
38 |
8.00 |
8.02 |
8.01 |
16.23 |
16.18 |
16.20 |
37.22222222 |
-0.777777778 |
39 |
8.00 |
8.00 |
8.00 |
16.38 |
16.40 |
16.39 |
39.75899939 |
0.75899939 |
40 |
8.02 |
8.04 |
8.03 |
16.49 |
16.47 |
16.48 |
40.09708738 |
0.097087379 |
41 |
8.00 |
8.02 |
8.01 |
16.53 |
16.58 |
16.55 |
41.40483384 |
0.404833837 |
42 |
8.02 |
8.04 |
8.03 |
16.66 |
16.67 |
16.68 |
42.43405276 |
0.434052758 |
43 |
8.05 |
8.05 |
8.05 |
16.76 |
16.74 |
16.75 |
42.76119403 |
-0.23880597 |
44 |
8.05 |
8.07 |
8.06 |
16.79 |
16.81 |
16.80 |
43.0952381 |
-0.904761905 |
45 |
8.01 |
8.03 |
8.02 |
16.91 |
16.89 |
16.90 |
45.17751479 |
0.177514793 |
46 |
8.02 |
8.04 |
8.03 |
17.02 |
17.00 |
17.01 |
46.16990006 |
0.169900059 |
47 |
8.04 |
8.08 |
8.06 |
17.16 |
17.17 |
17.18 |
47.33993015 |
0.339930151 |
48 |
8.05 |
8.04 |
8.05 |
17.19 |
17.21 |
17.20 |
47.79069767 |
-0.209302326 |
49 |
8.04 |
8.03 |
8.04 |
17.26 |
17.30 |
17.28 |
48.88888889 |
-0.111111111 |
50 |
8.03 |
8.03 |
8.03 |
17.38 |
17.42 |
17.40 |
50.40229885 |
0.402298851 |
The result has shown that the readings for T1 are stable at around 8.00ms to 8.06ms, while for T2 readings, there is a slight increase from 15.3ms to 17.4ms for the temperature range of 25°C to 50°C. Also, the temperature errors are calculated by substracting the oven temperature from the calculated temperature, which is given by the equation Temperature(°C ) = 235 - (400 x T1) / T2, given by the datasheet of TMP04. The next step will be analyzing the temperature accuracy levels based on the experiment results and find the highest error percentage.
|