How Do You Calculate Sensor Non-Linearity from a Polynomial Equation?

In summary: So I think it is enough to concludeIn summary, the ideal straight line for the sensor is O = 1+2I, and the nonlinearity is equal to the difference between the output modeled by the equation O = ƒ(I) = 1+2I+0.005I^2-0.00833I^3 and the best fitting line O = 0.65 + 2.31 I for input values between 0 and 6. For further clarification, it would be beneficial to consult with classmates or the teacher.
  • #1
ilovescience85
25
0

Homework Statement


The input range of a particular sensor is from 0-6 units and it's output is modeled by the equation O = ƒ(I) = 1+2I+0.005I^2-0.00833I^3

Ideally the output should be relate to the input by the straight line equation (ISL) if the form O=kI+a

A) give the law if the ideal straight line for the sensor
B) Plot a graph of the non linearity (N)I, against input I
C) from the graph, determine the maximum non linearity of the sensor, expressed as a percentage if output span
D) Attempt to determine the maximum percentage non linearity by mathematics.

Homework Equations


O = kI+a

The Attempt at a Solution


I not sure where to start here to be honest.
A) O = 1+ 2I + 0.0025I so ideal straight line equation is O= 2.0025I + 1?
B) I know once the above equation is right it's a case of inputting the input range into it to get the graph plot points so in put 0 would give output of 1 and so on but this is all based the correctness of the equation in A.
C) depends on A+B
D) depends on A+B

Any guidance on the above would be greatly appreciated.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
I am not familiar with "ideal straight line", but if I had to guess, you should plot the f(I) for 0<I<6, and do regression to find the best fitting line. I would also assume plotting nonlinearity vs input means plot the different between f(I) and the best fitting line at each value of I.

Did your teacher/book explain what is expected for this kind of thing?
I am just guessing here, so I would review what was covered in the course
 
  • #3
I suggest that ilovescience85 should ask other students in the class how they are working this problem. Perhaps regression is beyond the course?

Meanwhile, solve the problem assuming the ideal linear characteristic is simply O=1+2I
and you can later speedily rework this if a better-fitting line is intended.
 
  • #5


I would approach this problem by first understanding the given equation and its components. The equation O = ƒ(I) = 1+2I+0.005I^2-0.00833I^3 is a polynomial function that represents the relationship between the input (I) and the output (O) of the sensor. The coefficients 1, 2, 0.005, and -0.00833 represent the contribution of each term to the overall output.

A) The ideal straight line equation for the sensor would be O = kI + a, where k is the slope of the line and a is the y-intercept. In this case, the ideal straight line equation would be O = 2.0025I + 1, as you correctly mentioned.

B) To plot the graph of non-linearity (N)I against input I, you can use the given equation and input values ranging from 0-6 units. This will give you a set of points that can be plotted on a graph, with input I on the x-axis and output N on the y-axis.

C) The maximum non-linearity of the sensor can be determined by finding the maximum deviation of the graph from the ideal straight line. This can be expressed as a percentage of the output span, which is the difference between the maximum and minimum output values. For example, if the maximum output value is 10 and the minimum output value is 2, the output span would be 8. So, if the maximum deviation from the ideal straight line is 1, the maximum non-linearity would be (1/8)*100 = 12.5%.

D) To determine the maximum percentage non-linearity mathematically, you can use the given equation and find the maximum and minimum output values by substituting the input values (0-6 units). Then, you can calculate the difference between the maximum and minimum output values and find the maximum deviation from the ideal straight line. This will give you the maximum non-linearity, which can then be expressed as a percentage of the output span.

Overall, the key to solving this problem is understanding the given equation and using it to find the relationship between the input and output of the sensor. From there, you can plot a graph and use mathematical calculations to determine the maximum non-linearity.
 

Related to How Do You Calculate Sensor Non-Linearity from a Polynomial Equation?

1. How do I find the slope of a straight line?

To find the slope of a straight line, you need to know two points on the line. You can then use the formula: slope = (y2 - y1) / (x2 - x1), where (x1, y1) and (x2, y2) are the coordinates of the two points.

2. What is the y-intercept in a straight line equation?

The y-intercept is the point at which the line crosses the y-axis. It is represented by the coordinate (0, b) in the equation y = mx + b, where m is the slope and b is the y-intercept.

3. How can I graph a straight line given its equation?

To graph a straight line, you will need to plot two points on the line using the x and y coordinates from the equation. Then, you can draw a line connecting the two points to create the graph of the line.

4. What is the point-slope form of a straight line equation?

The point-slope form of a straight line equation is y - y1 = m(x - x1), where m is the slope and (x1, y1) is a point on the line. This form is useful when you know the slope and one point on the line and need to find the equation.

5. Can a straight line have a negative slope?

Yes, a straight line can have a negative slope. This means that the line is decreasing from left to right. The slope is negative when the line is slanting downwards from left to right, and it is positive when the line is slanting upwards from left to right.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
13
Views
5K
  • Precalculus Mathematics Homework Help
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
15K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
26
Views
21K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
3K
Replies
6
Views
1K
Back
Top