- #1
cps.13
- 40
- 1
Homework Statement
I am doing a distance HND and need to find the ideal straight line of a sensor output. The sensor is a temperature sensor with an OHM output. From a temperature range of 0-250 it has an output of 120-364ohm.
temp output
0 = 120
50 = 178
100 = 201
150 = 249
200 = 303
250 = 364
I need to generate the ideal straight line equation.
The Attempt at a Solution
I have plotted a line of the points on a graph with the x-axis as ohms and the y-axis as temperature. Calculated the line of best fit using y = mx+C where...
m = (249-201)/(150-100)= 0.96
Using the data for a temp of 150 c = 249 - (150*.96) = 105
therefore the equation of the line is
y = 0.96x + 105
When I now calculate the ideal ohm output values they seem quite wayward of the values given.
temp ISL Temp
0 = 105
50 = 153
100 = 201
150 = 249
200 = 297
250 = 345can anyone see if I have made a mistake? should I be calculating my line equation by using the entire temperature range from 0-250?
thanks