UAT 205 Sensors and Instrumentation Systems
Worksheet 1 Calibrating a temperature sensor
Objective
Calibrate an analog temperature sensor, build an uncertainty budget, validate it and observe aliasing from sampling
Equipment and materials
- Lab microcontroller board and analog temperature sensor
- Certified reference thermometer
- Water baths or a controlled temperature source
- Shaker or motor
- Computer with Python and example code at /downloads/uat-205/
Safety
- Avoid scalds from hot water; use heat-resistant gloves and stable containers
- Keep water away from boards and wires; power down before wiring changes
- Clamp the shaker or motor firmly and keep clear of moving parts
Steps
- Connect the sensor and record the ADC resolution
- Measure against the reference at five or more temperatures, waiting for each to settle
- Use Example 1 to find the calibration equation and uncertainty budget
- Measure at temperatures not used for calibration and check errors fall within the uncertainty
- Record the shaker or motor at two sampling rates
- Explain the apparent frequencies with Example 2
Record of results
| Point | Reference temperature (°C) | Sensor voltage (V) | Temperature from equation (°C) | Error (°C) | Calibration or validation |
|---|---|---|---|---|---|
| Uncertainty source | Standard uncertainty of input (with unit) | Sensitivity coefficient | Contribution (°C) |
|---|---|---|---|
| True shaker frequency (Hz) | Sampling rate (Hz) | Predicted apparent frequency (Hz) | Observed apparent frequency (Hz) |
|---|---|---|---|
Questions
Compare the worst error of the two-point line with the least-squares line from your group's data. Which is better, and what does the pattern of residuals say about the sensor's nonlinearity?
Which source is largest in your uncertainty budget? To cut the combined uncertainty the most, which source would you work on first, and why?
Did the errors at the new temperatures (not used for calibration) fall within the expanded uncertainty you computed? Why must you check with new points rather than the calibration points?
How many °C is one ADC count, and how does that compare with the expanded uncertainty? Does the resolution tell you the accuracy of the measurement?
Explain the apparent frequencies you saw at both sampling rates with the alias formula, and explain why the signal must be filtered before the ADC rather than in software afterwards.
Check before you hand in
What to hand in
- Calibration data and equation
- Uncertainty budget
- Validation table at new temperatures
- Aliasing explanation