Measurement fundamentals: ADC resolution, sensor specs and uncertainty
Every logged number is an estimate. Know how ADC resolution and sampling limit what you can see, how to read a sensor data sheet, and how to put an honest uncertainty on a result – including whether a setup change really made a difference.
Measurement fundamentals: ADC resolution, sensor specs and uncertainty: L1 Foundation explanation
Measured value ≠ true value. The chain is: physical process (true value) → sensor → signal conditioning → analogue-to-digital conversion → stored number (measured value). Every step adds error. The best you can do is estimate a range within which the true value most probably lies.
ADC resolution. An ADC with bits divides its input range into steps. A 12-bit input on 0–5.5 V has mV per step. If a 100 mm linear potentiometer outputs 0–5 V, it uses about 3720 of those steps, so one step ≈ 0.027 mm. Wire the same pot to a 0–15 V input ( mV per step) and only ~1365 steps are used: resolution degrades to ~0.073 mm. Match the sensor's output span to the input range.
Why that matters: damper velocity is a derivative. At 100 Hz, one step of 0.073 mm between samples equals 7.3 mm/s – already inside the low-speed damper range (typically 0–25/50 mm/s). Your velocity histogram would be quantised into useless bins. Note the trap: raising the sampling rate makes the velocity quantum larger (), so the fix is more ADC bits, a matched input range or a differentiation stencil spanning several samples – not more Hz.
Sensor data sheet vocabulary: transfer function (output vs input), sensitivity (slope, e.g., mV/g), offset (output at zero input), measurement range, tolerance/uncertainty, non-linearity, hysteresis, noise and resolution.
Measurement fundamentals: ADC resolution, sensor specs and uncertainty: L2 Practitioner explanation
Types of error.
- Gross errors – wrong calibration, wrong channel, broken wire, sensor outside range. They can't be corrected afterwards; catch them with plausibility checks.
- Systematic error (bias) – consistent offset or scale error from the sensor, method or installation. Remove by calibration against a reference. Classic example: comparing your tyre-pressure gauges with the tyre supplier's gauges and noting each gauge's bias.
- Random error – scatter from noise, environment and small uncontrolled effects. Reduce by averaging; quantify with statistics.
Reading the data sheet. Segers walks through a capacitive accelerometer with output (V, a in g) and a tolerance of ±1 % of sensitivity: at 2.5 g, ideal output is 3.500 V but anywhere between ~3.490 and 3.510 V is within spec – about ±0.025 g. Non-linearity (±0.3 %) is inside the tolerance. Decide which accuracy you actually need: water temperature to 0.01 °C makes nobody smarter; damper position can never be too accurate.
Standard uncertainty of an average. With independent samples of standard deviation :
Result (≈68 % confidence) or (≈95 %). Segers' roll-ratio example: mean 1.12, σ = 3.35 (kerbs and near-zero front roll explode the ratio), n = 10 421 samples → 1.12 ± 0.03 (68 %).
Is the setup change real? The most important trackside application. Two runs, 5 clean laps each, lap-time scatter σ = 0.25 s. The standard error of the difference of means is s. With so few laps the 95 % multiplier is not 2 but Student's ≈ 2.3 (8 degrees of freedom), so you need a difference above ~0.37 s to be 95 % confident. A 0.1 s "gain" from a damper click on five laps is not evidence. Use more laps, fuel- and tyre-corrected times, or a more sensitive metric (minimum speed at a specific corner, understeer angle) with lower scatter.
Measurement fundamentals: ADC resolution, sensor specs and uncertainty: L3 Advanced explanation
Independence is the hidden assumption. assumes independent samples. Consecutive samples at 200 Hz are highly correlated – the car does not change state in 5 ms. In the roll-ratio example the effective number of independent observations is closer to the number of corners per lap times laps (tens to hundreds), not ten thousand. The real uncertainty is therefore several times larger than the naive value. Practical approach: compute one value per corner (or per lap), then use the scatter of those values.
Ratio channels are statistically nasty. When the denominator approaches zero (front roll angle near zero, lateral g near zero), the ratio's distribution has heavy tails and the mean is meaningless. Better: fit a straight line of rear roll vs front roll over gated data and report the slope with its standard error, or use the median. Because both axes are noisy, ordinary least squares biases the slope low (regression dilution); Deming or total-least-squares regression treats the two axes symmetrically.
Uncertainty propagation. For with independent errors:
Example: understeer angle depends on steering angle, steering ratio, wheelbase, lateral g and speed. At 1.5 g and 30 m/s on a 2.7 m wheelbase the Ackermann term is . A 0.02 g accelerometer error changes it by ~0.03°; a 0.3 % speed error by ~0.015°. A steering-angle zero error of 3° (sensor re-installed, or the rack centre moved by an asymmetric toe change) with a 12:1 ratio shifts the result by 0.25° – about seven times more. Sensor zeroing matters more than accelerometer grade.
Systematic beats random. In practice the largest errors in motorsport data are systematic: motion ratio wrong by 3 %, tyre radius wrong by 1 %, accelerometer tilted by 1°. Averaging does nothing for them. Invest in calibration procedures before buying higher-resolution hardware.
Measurement fundamentals: ADC resolution, sensor specs and uncertainty: L4 Expert explanation
Design the test so the statistics can work. Lap times inside a run are not independent draws: fuel burn makes each lap a few hundredths faster, tyre degradation and track evolution push the other way, and a driver settling in adds a trend of its own. If setup B always runs second, the trend is attributed to B.
Run order. Use A-B-A (or A-B-B-A) running: compare B with the mean of the two A runs, so a linear drift in track or tyres cancels. Within each run, regress lap time on lap number (or on fuel mass and tyre age), compare the fitted values at equal fuel and tyre age, and use the residual scatter as – the raw scatter of a trending run overstates it, while ignoring the trend biases the mean.
Correlated samples. For data with lag-1 autocorrelation the effective sample size is roughly (in general ). Laps with are worth only ~54 % of their count; samples at 200 Hz are worth almost nothing individually.
Small samples. With degrees of freedom below ~20, replace the factor 2 by Student's : 2.31 for 5 + 5 laps, 2.23 for 6 + 6. For skewed metrics (ratios, minimum speeds with outliers) bootstrap the per-lap or per-corner values to get a confidence interval.
How many laps? To show a gain at the 2-standard-error level with lap scatter in both runs, laps per run. With = 0.25 s and an expected 0.10 s gain that is 50 clean laps per run – impossible in a test session. The professional answer is not more laps but a more sensitive metric: minimum speed or time through the affected corner (scatter often 0.3–0.5 km/h or 0.01–0.02 s), understeer angle in a gated phase, or a back-to-back on a correlated simulator or rig.
Key formulas
- input range (V)
- n
- number of bits
- voltage per step
- displacement resolution (mm)
- sampling rate (Hz)
- smallest non-zero velocity step (mm/s)
- standard deviation of samples
- n
- number of independent samples
- difference of mean lap times (s)
- lap-time scatter of each run (s)
- number of clean laps
- Student-t factor for 95 % (≈2 for many laps, 2.3 for 5 + 5 laps)
- n
- clean laps per run
- lap-time scatter (s)
- expected lap-time gain (s)
Trackside takeaways
Match the sensor output span to the logger input range to use the full ADC resolution.
Derivatives amplify quantisation: displacement resolution × sampling rate = velocity step.
Calibrate away systematic errors; averaging only reduces random ones.
Consecutive samples are not independent – compute statistics per corner or per lap.
Before declaring a setup change better, check the gain exceeds about twice the standard error of the difference (Student-t ≈ 2.3 for five-lap runs).
Run A-B-A to cancel drift; small gains need corner-level metrics, not 50-lap runs.
On your car
Tyre-pressure gauge bias between team and tyre supplier is a classic systematic error – with mandatory minimum pressures in many GT series, a 0.05 bar gauge error can mean a penalty.
Check yourself
A 0–5 V, 75 mm damper pot is connected to a 12-bit, 0–15 V logger input and sampled at 200 Hz. Roughly what is the smallest non-zero damper velocity step?
- Segers – Analysis Techniques for Racecar Data Acquisition — §19.1–19.3 Introduction; A/D conversion; Sensor Selection and Application
- Segers – Analysis Techniques for Racecar Data Acquisition — §19.4 Measurement Uncertainty · roll ratio uncertainty example