Question

The calibration of a pressure sensor with a range of 0-16 bar is checked by applying known inputs...

The calibration of a pressure sensor with a range of 0-16 bar is checked by applying known inputs to it in steps of 2 bar. The following measurements were obtained.

Known input pressure (bar)

0

2

4

6

8

10

12

14

16

Output reading (V)

0.00

0.55

1.25

1.70

2.35

3.15

3.65

4.05

4.85

  1. Draw a graph by plotting the data points on a graph paper and draw a best-fit straight line through the data points.                                                       [8 marks]

  1. Use the above graph to calculate:

  1. The measurement sensitivity of the pressure sensor.                  [2 marks]

  1. The maximum non-linearity apparent in the measurements as a percentage of the full-scale deflection.                                       [6 marks]
0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB CODE:

x = 0:2:16; % known input pressures
y = [0.00 0.55 1.25 1.70 2.35 3.15 3.65 4.05 4.85]; % output values
plot(x,y,'bo','MarkerSize',6);
[p,S] = polyfit(x,y,1); % best fit line
[y_fit,delta] = polyval(p,x,S); % error estimates
hold on
plot(x,y_fit,'r-');
grid;
legend('Actual data','Line of best fit');
clc;
fprintf('The sensitivity is %f ',p(1));
fprintf('The maximum error is %f percent ',delta(1)*100/4.85);

OUTPUT:

The sensitivity is 0.301250 The maximum error is 2.365051 percent 
Add a comment
Know the answer?
Add Answer to:
The calibration of a pressure sensor with a range of 0-16 bar is checked by applying known inputs...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2.21 The calibration of a spring balance is checked by applying a set of known masses...

    2.21 The calibration of a spring balance is checked by applying a set of known masses to it, with the following results: Known input (g) 10 20 30 40 50 60 70 80 Output reading (g) 15.5 25.0 32.0 45.0 52.0 61.0 74.5 81.0 Draw a graph by plotting the data points on the graph paper provided and draw a best-fit straight line through the data points Which of the following static measurement characteristics are evident in the input-output graph...

  • summatize the following info and break them into differeng key points. write them in yojr own...

    summatize the following info and break them into differeng key points. write them in yojr own words   apartus 6.1 Introduction—The design of a successful hot box appa- ratus is influenced by many factors. Before beginning the design of an apparatus meeting this standard, the designer shall review the discussion on the limitations and accuracy, Section 13, discussions of the energy flows in a hot box, Annex A2, the metering box wall loss flow, Annex A3, and flanking loss, Annex...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT