22-Agric-A5 Principles of Instrumentation · December 2018
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. 04-Agric-A5 Principles of Instrumentation, National Exams December 2018 — a three-hour open-book exam; any non-communicating calculator is permitted. Questions 1 and 2 are compulsory (20 marks each); candidates then choose any three (3) of Questions 3-7 (20 marks each) for a 100-mark paper. All seven questions are worked here.
Reference texts. E.O. Doebelin, Measurement Systems: Application and Design, 5th ed. (calibration, standards, static/dynamic sensor characteristics, second-order step response, sampling and ADCs); J.P. Bentley, Principles of Measurement Systems, 4th ed. (accuracy vs. precision, error propagation, signal conditioning); P. Horowitz and W. Hill, The Art of Electronics, 3rd ed. (Johnson noise, CMRR, ADC architectures, anti-aliasing, op-amp signal conditioning); J. Fraden, Handbook of Modern Sensors: Physics, Designs, and Applications, 5th ed. (thermistors, capacitive sensors, photodetectors); D.A. Skoog, F.J. Holler and S.R. Crouch, Principles of Instrumental Analysis, 7th ed. (detection limits, selectivity, optical sensing).
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
a) A successive-approximation (SAR) converter performs a binary search: it sets the most significant bit of an internal register to 1 (all others 0), drives that code through a DAC, and a comparator checks whether the DAC output is above or below the held input. If the DAC output is too high, that bit is cleared back to 0; otherwise it is kept. The converter then moves to the next bit down and repeats the same trial-and-compare step, working one bit at a time from MSB to LSB, so an $N$-bit conversion completes in exactly $N$ comparison cycles.
b) A SAR conversion takes $N$ clock cycles to resolve $N$ bits, during which every bit decision compares against the same analog value. If the input were allowed to keep moving during that window, each bit's comparison would be testing against a different, shifting target, and the resulting code would not correspond to any single, valid sample of the input. A sample-and-hold circuit freezes the analog value for the full conversion window so that all $N$ bit decisions are made against one consistent, unchanging voltage.
c) Given. ADC conversion (sampling) rate $f_s=5000$ conversions/second.
Find. The maximum input frequency that can be correctly (unambiguously) sampled.
Approach. Apply the Nyquist sampling criterion, $f_{max}=f_s/2$.
If the input contains energy above $2500\ \text{Hz}$, that content is under-sampled: each high-frequency cycle is captured at less than two samples per period, so the digitized data cannot reconstruct it. The under-sampled energy does not simply disappear — it folds back (aliases) into the correctly-sampled band, appearing as a spurious lower-frequency component at $|f_{in}-n f_s|$ that is mathematically indistinguishable from a genuine signal at that alias frequency.
d) A low-pass anti-aliasing filter must be placed ahead of the converter (the question says "ahead of the digital to analog converter," which is almost certainly a misprint for "analog to digital converter" — the whole question concerns the ADC's own sampling limit, and an anti-aliasing filter is meaningless in front of a DAC, so it is answered here as the ADC's own input filter). Its required specification is a cutoff frequency at or below the Nyquist frequency found in part (c), $2500\ \text{Hz}$, with enough stopband attenuation and rolloff (filter order) that any input energy above that cutoff is suppressed below the converter's own quantization noise floor before it reaches the sampler — a gentle single-pole filter set exactly at $2500\ \text{Hz}$ still passes significant energy well above it and is normally not steep enough on its own.
e) Given. 12-bit ADC accepting a $\pm5\,\text{V}$ input range (full-scale span $10\,\text{V}$); the actual input signal only spans $\pm1\,\text{V}$ (a $2\,\text{V}$ span).
Find. The ADC's resolution in volts, and how it can be improved for this signal.
Approach. Divide the full-scale span by the number of codes for the native resolution, then compare the signal's own span to the full range to see how much of the converter's dynamic range the signal actually uses.
| Item | Result |
|---|---|
| Maximum correctly-sampled frequency | $f_{max}=2500\ \text{Hz}$ |
| Native ADC resolution (LSB, $\pm5$ V range) | $2.441\ \text{mV}$ |
| Fraction of range used by $\pm1$ V signal | $20\%$ ($\approx819$ of 4096 codes) |
| Gain needed to fill the range | $G=5$ |
| Effective resolution after gain | $\approx0.4883\ \text{mV}$ |