Almost every electronic pressure sensor in a car, phone, inhaler, HVAC unit or industrial transmitter uses the same principle: pressure bends a thin silicon diaphragm, the bending stresses four resistors diffused into its surface, and a Wheatstone bridge turns the resulting resistance changes into a few tens of millivolts. A conditioning ASIC then amplifies that signal, digitizes it, corrects it for temperature and nonlinearity using coefficients written at the factory, and makes the result available as a number on an I²C or SPI bus. This page follows one design, a 0–100 kPa absolute sensor, through every step, with real dimensions, real material constants and an ADC code, calibration polynomial and byte sequence you can check by hand.
Pressure is force per unit area, in pascals (1 Pa = 1 N/m²). Sea-level atmosphere is 101.325 kPa (1.013 bar, 14.7 psi). Every pressure sensor measures a difference between the pressure on the two faces of a diaphragm, and the three sensor types differ only in what is on the back face:
Several transducer principles exist. The silicon piezoresistive one dominates because it is cheap to batch-fabricate, has a large signal for its size and is linear and repeatable enough to calibrate well. This page builds that one.
| Principle | What changes | Typical use | Strengths | Weaknesses |
|---|---|---|---|---|
| Piezoresistive (MEMS Si) | Resistance of diffused resistors in a diaphragm | MAP, barometric, medical, industrial up to ~100 MPa | Large signal (10–25 mV/V), small, static and dynamic | Large temperature coefficients: needs compensation |
| Capacitive MEMS | Gap between diaphragm and a fixed electrode | Phone barometers, low-power and low-range sensors | Very low power, low temperature drift | Small capacitance (pF), sensitive to parasitics, nonlinear (1/gap) |
| Thin-film / thick-film strain gauge | Metal or ceramic gauges on a steel or ceramic diaphragm | Brake, fuel-rail, HVAC refrigerant, hydraulics | Media-compatible, very high pressure | Gauge factor ~2: 50× less signal than Si |
| Piezoelectric | Charge generated by a crystal | Combustion and blast pressure | Very fast, rugged | Cannot measure static pressure (charge leaks away) |
| Resonant silicon | Frequency of a stressed resonator | Reference and aerospace transducers | Highest stability (frequency output) | Expensive |
The sensing element is a silicon chip about 1–2 mm on a side. It is made with a handful of steps on an n-type (100) silicon wafer:
The diaphragm is a thin square plate of side \(a\) and thickness \(h\), clamped on all four edges, under a uniform pressure \(P\). Plate theory (Timoshenko) gives the two numbers that matter. Its flexural rigidity is
$$D = \frac{E\,h^3}{12\,(1-\nu^2)}$$and the maximum deflection (at the centre) and maximum surface stress (at the middle of each edge, perpendicular to the edge) are
$$w_{\max} = 0.00126\,\frac{P\,a^4}{D} \qquad\qquad \sigma_{\max} = 0.308\,P\left(\frac{a}{h}\right)^2$$The stress scales with the square of the aspect ratio \(a/h\), which is the designer's main lever: a thinner or wider diaphragm gives more signal but deflects more and bursts sooner. Along the centre line the surface stress changes sign: compressive at the centre (\(-0.139\,P(a/h)^2\)), crossing zero at about 56 % of the half-width, and tensile at the edge. Right at the clamped edge the plate cannot stretch along the edge, so the stress parallel to it is \(\sigma_\parallel = \nu\,\sigma_\perp\).
Example numbers. Silicon along ⟨110⟩: \(E = 169\ \text{GPa}\); taking \(\nu \approx 0.28\) (isotropic approximation; finite-element models with the anisotropic stiffness differ by 10–20 %). With \(a = 600\ \mu\text{m}\), \(h = 20\ \mu\text{m}\) (\(a/h = 30\)) and \(P = 100\ \text{kPa}\):
The deflection is 0.7 % of the thickness. Small-deflection plate theory holds up to about \(w/h \approx 0.2\); beyond that the diaphragm stretches like a membrane and the response becomes nonlinear. 27.7 MPa is also far below silicon's fracture strength (several hundred MPa for an etched surface), so a 3–5× overpressure rating is easy.
Stretching any resistor changes its resistance a little through geometry: longer and thinner. For metals that is almost the whole effect, with a gauge factor \(GF = (\Delta R/R)/\varepsilon \approx 2\). In silicon a much larger effect comes from the crystal itself: stress warps the band structure, which moves holes (in p-type) between valence bands of different effective mass and changes their mobility. The result is a gauge factor of about 100, fifty times a metal foil gauge.
For a resistor with stress \(\sigma_l\) along its length (the current direction) and \(\sigma_t\) across it:
$$\frac{\Delta R}{R} = \pi_l\,\sigma_l + \pi_t\,\sigma_t$$For p-type silicon at moderate doping (Smith, 1954): \(\pi_{11} = 6.6\), \(\pi_{12} = -1.1\), \(\pi_{44} = 138.1\), all \(\times10^{-11}\ \text{Pa}^{-1}\). Along a ⟨110⟩ direction on a (100) wafer, the axis of the wafer flat,
$$\pi_l = \tfrac12(\pi_{11}+\pi_{12}+\pi_{44}) = 71.8\times10^{-11}\ \text{Pa}^{-1} \qquad \pi_t = \tfrac12(\pi_{11}+\pi_{12}-\pi_{44}) = -66.3\times10^{-11}\ \text{Pa}^{-1}$$The two are almost equal and opposite, so to good approximation \(\Delta R/R \approx \tfrac{\pi_{44}}{2}(\sigma_l - \sigma_t)\). That is why the ⟨110⟩ orientation and p-type doping are chosen: n-type silicon's \(\pi_{44}\) is small, and along ⟨100⟩ p-type \(\pi_l\) is nearly zero.
Now put the edge stresses into the formula:
A resistor has finite length, so it sees the average stress over its area, not the peak. A resistor covering the outer 20 % of the half-width (60 µm here) averages about 73 % of the peak in the stress profile of Fig 3. The design therefore gives \(\Delta R/R \approx \pm1.0\,\%\) at 100 kPa, which we round to exactly 1.00 % for the worked examples.
A 1 % change in a 5 kΩ resistor is 50 Ω. Measuring it directly with a current would put the 50 Ω change on top of 5000 Ω of baseline, and the baseline drifts by more than the signal with temperature. The bridge solves this by subtracting two dividers that share the same excitation and drift together, so only the difference appears at the output.
Wire the four resistors as two dividers between \(V_{\text{EX}}\) and ground. In the left divider the falling resistor R2 is on top and the rising R1 at the bottom; in the right divider the rising R3 is on top and the falling R4 at the bottom. With \(R_{1,3} = R(1+x)\), \(R_{2,4} = R(1-x)\) and \(x = \Delta R/R\):
$$V_{\text{INP}} = V_{\text{EX}}\frac{R(1+x)}{R(1+x)+R(1-x)} = \frac{V_{\text{EX}}}{2}(1+x) \qquad V_{\text{INN}} = \frac{V_{\text{EX}}}{2}(1-x)$$ $$V_{\text{OUT}} = V_{\text{INP}} - V_{\text{INN}} = V_{\text{EX}}\cdot x = V_{\text{EX}}\,\frac{\Delta R}{R}$$Three properties make this the universal arrangement:
| Configuration | Active elements | Output | Linearity | Where used |
|---|---|---|---|---|
| Quarter bridge | 1 | \(V_{\text{EX}}\,x/(4+2x)\) | Nonlinear, ~x/2 error | Single strain gauge with dummy resistors |
| Half bridge | 2 (one +, one −) | \(V_{\text{EX}}\,x/2\) | Linear | Bending beams, some load cells |
| Full bridge | 4 (two +, two −) | \(V_{\text{EX}}\,x\) | Linear | Pressure sensors, load cells |
With a constant voltage the output's temperature coefficient is that of \(\pi_{44}\): about −0.2 %/°C. With a constant current \(I\), the bridge voltage is \(I\cdot R\), which rises with the resistors' TCR. Since \(V_{\text{OUT}} = I\,R\,x\), a TCR of +0.2 %/°C cancels most of a −0.2 %/°C piezo coefficient. Discrete analog transmitters often use current excitation for that reason. Digital sensors usually use ratiometric voltage excitation and correct the temperature coefficient in the calibration polynomial, which is more accurate, and they measure the bridge resistance (through the excitation current) as a temperature signal.
The ideal die from sections 3–5: \(R = 5.000\ \text{k}\Omega\) at rest, \(\Delta R/R = 1.00\,\%\) at 100 kPa (linear), \(V_{\text{EX}} = 3.000\ \text{V}\). Bridge current is \(V_{\text{EX}}/R = 0.6\ \text{mA}\) and dissipation 1.8 mW. Sensitivity is \(10\ \text{mV/V}\) full scale, or 0.300 mV/kPa at 3 V.
| Pressure | Edge stress σmax | ΔR/R | R1 = R3 (Ω) | R2 = R4 (Ω) | VINP (V) | VINN (V) | VOUT (mV) | Common mode (V) |
|---|---|---|---|---|---|---|---|---|
| 0 kPa (vacuum) | 0 | 0 | 5000.0 | 5000.0 | 1.50000 | 1.50000 | 0.000 | 1.500 |
| 25 kPa | 6.93 MPa | +0.25 % | 5012.5 | 4987.5 | 1.50375 | 1.49625 | 7.500 | 1.500 |
| 50 kPa | 13.85 MPa | +0.50 % | 5025.0 | 4975.0 | 1.50750 | 1.49250 | 15.000 | 1.500 |
| 75 kPa | 20.78 MPa | +0.75 % | 5037.5 | 4962.5 | 1.51125 | 1.48875 | 22.500 | 1.500 |
| 100 kPa (FS) | 27.70 MPa | +1.00 % | 5050.0 | 4950.0 | 1.51500 | 1.48500 | 30.000 | 1.500 |
| 101.325 kPa (1 atm) | 28.07 MPa | +1.013 % | 5050.7 | 4949.3 | 1.51520 | 1.48480 | 30.398 | 1.500 |
The diaphragm bows into the cavity. Its top surface at the edges is stretched, so R1 and R3 gain 12.5 Ω per 25 kPa and R2 and R4 lose the same. In the left divider the bottom resistor grows and the top shrinks, so \(V_{\text{INP}}\) rises by 3.75 mV per 25 kPa; the right divider does the mirror image, so \(V_{\text{INN}}\) falls by 3.75 mV. Their difference grows by 7.5 mV per 25 kPa. The common mode stays at exactly \(V_{\text{EX}}/2\), which is what lets the amplifier have a fixed input range.
Single-crystal silicon is elastic up to fracture: it has no plastic yield and essentially no mechanical hysteresis. The diaphragm retraces the same curve and every value in the table returns to its rising value at the same pressure. What hysteresis a real sensor shows (typically 0.01–0.1 % FS) comes from the package: the die-attach adhesive, the gel and the glass bond creeping under thermal and pressure cycles.
For a gauge version of the same die, a −50 kPa vacuum on the front pushes the diaphragm outward. All stresses change sign: R1 and R3 fall to 4975 Ω, R2 and R4 rise to 5025 Ω, \(V_{\text{INP}} = 1.49250\ \text{V}\), \(V_{\text{INN}} = 1.50750\ \text{V}\) and \(V_{\text{OUT}} = -15.0\ \text{mV}\). The bridge is bipolar; the front end must accept a signal of either sign.
A real die departs from the ideal in three ways that the electronics must correct. The values below are representative of a production piezoresistive die and are used for the rest of this page.
| Temperature | Span S (mV/V) | Offset O (mV/V) | VOUT at 0 kPa (mV) | VOUT at 60 kPa (mV) | VOUT at 100 kPa (mV) | Reading if uncorrected, at 60 kPa |
|---|---|---|---|---|---|---|
| −40 °C | 11.363 | 0.202 | 0.606 | 20.962 | 34.696 | 69.9 kPa |
| 25 °C | 10.000 | 0.250 | 0.750 | 18.664 | 30.750 | 62.2 kPa |
| 85 °C | 8.854 | 0.324 | 0.973 | 16.834 | 27.535 | 56.1 kPa |
| 125 °C | 8.150 | 0.390 | 1.170 | 15.770 | 25.620 | 52.6 kPa |
The last column is the pressure an ideal reader (10 mV/V span, no offset) would report. Across temperature the same 60 kPa reads anywhere from 52.6 to 69.9 kPa. The raw die is a good transducer, stable and repeatable, but not yet an accurate sensor. Sections 10 and 11 fix that.
The bridge's 30 mV span sits on a 1.5 V common mode and must be resolved to better than 1 part in 10 000 with drift below a few µV. That is the job of a sensor signal conditioner (SSC) ASIC, often in the same package as the die. Commercial examples include Renesas' ZSSC31xx family and TI's PGA30x; the architecture below is the common pattern, with the numbers of this design. Step through the blocks.
Bridge supply and ratiometric reference. The bridge is driven from a regulated analog supply \(V_{\text{BR}}\) (here 3.0 V from a 3.3 V input; some parts drive it straight from \(V_{\text{DD}}\)). The same node is routed, through separate Kelvin traces, to the ADC's reference inputs \(\text{REF}_+\) and \(\text{REF}_-\). Because \(V_{\text{OUT}} \propto V_{\text{BR}}\) and the ADC computes \(V_{\text{in}}/V_{\text{REF}}\), the result
$$D \propto \frac{G\,V_{\text{BR}}\,(S\,p + O)}{V_{\text{BR}}} = G\,(S\,p+O)$$does not depend on \(V_{\text{BR}}\) at all. A 1 % sag in the supply changes the bridge output by 1 % and the reference by 1 %: no error. This is why a precise voltage reference is unnecessary.
For low power the excitation is switched on only during a conversion: a barometer sampling once per second at 1 ms per conversion averages 1.8 µW in the bridge instead of 1.8 mW. Duty-cycling also keeps self-heating (about 0.1–0.5 K at 1.8 mW continuous) out of the reading.
Input filter and protection. The bridge outputs are high impedance (\(R_{\text{out}} = R = 5\ \text{k}\Omega\)) and are routed by bond wires or short traces, so they pick up RF and fast transients. On-chip ESD diodes clamp to the rails; series resistance and a differential RC filter (on chip or a few hundred pF on the board) remove RF before it can be rectified by the amplifier's input stage, which would otherwise appear as a DC offset. The filter's corner must be well above the signal bandwidth but below the chopper frequency's harmonics' interaction band, and the two lines must be matched so common-mode noise does not convert to differential.
Input multiplexer and chopper. A CMOS amplifier's own offset (1–10 mV) and 1/f noise are larger than the whole signal near DC. Chopping removes them. A switch matrix swaps the polarity of the input at \(f_{\text{chop}}\) (tens of kHz); a matching switch after the amplifier swaps it back. The wanted signal is modulated up and demodulated back to DC; the amplifier's offset and 1/f noise go through only the second switch and end up at \(f_{\text{chop}}\), where the decimation filter removes them. Residual offset after chopping is typically below 1 µV.
In many SSCs the "chop" is done at conversion level instead: the ADC converts with normal polarity, then with reversed polarity, and the digital result is half the difference. The amplifier offset appears with the same sign in both and subtracts out. The same multiplexer also selects the temperature channel and test signals.
Programmable-gain amplifier with offset compensation. A gain of 64 brings the 30 mV span to 1.92 V. Typical SSCs offer gains from about 1 to 400 in steps, chosen at calibration to fit each die's span. The input stage is an instrumentation-amplifier topology: high input impedance, so the 5 kΩ bridge is not loaded, and high CMRR, so the 1.5 V common mode is rejected.
A real die's output does not start at zero (offset, here +0.75 mV) and a bipolar ADC range is centred on zero, so an offset DAC, itself derived from the bridge supply so it stays ratiometric, subtracts a programmable voltage before the gain. Here it subtracts \(0.005\,V_{\text{BR}} = 15\ \text{mV}\), the mid-span value, so 0–100 kPa maps to about −0.91 V to +1.01 V at the ADC input, leaving margin for offset and span drift across temperature. Without this "analog offset" trim, the offset of a die with a small span could use up most of the ADC range before any pressure is applied.
$$V_{\text{ADC}} = G\,\bigl(V_{\text{OUT}} - V_{\text{DAC}}\bigr) = 64\,(V_{\text{OUT}} - 15\ \text{mV})$$ΣΔ ADC and decimation filter. An incremental (resettable) second-order ΣΔ modulator samples at a few hundred kHz to a few MHz and produces a 1-bit stream; a sinc³ decimation filter turns it into one 16- to 24-bit result per conversion. ΣΔ fits this job: the signal is near DC, the oversampling relaxes the anti-alias filter to a simple RC, and the decimator's notches can be placed at 50/60 Hz. Its full-scale input is \(\pm V_{\text{REF}}/2 = \pm1.5\ \text{V}\) ratiometric to the bridge supply. In this design the result is a signed 16-bit code:
$$D_P = \text{round}\!\left(2^{15}\cdot\frac{V_{\text{ADC}}}{V_{\text{BR}}/2}\right) = \text{round}\bigl(2^{16}\cdot 64\cdot(S\,p + O - 0.005)\bigr)$$One code is \(1.5\ \text{V}/2^{15}/64 = 0.72\ \mu\text{V}\) referred to the bridge, or 2.4 Pa. The 30 mV span covers about 42 000 codes (15.4 bits). Longer conversions (higher oversampling ratio) trade speed for resolution: 0.5–10 ms per conversion is typical.
Temperature channel. Calibration needs the die's temperature, so the multiplexer also connects a temperature signal. Two sources are used:
Neither needs to be accurate in absolute terms. The calibration maps raw temperature codes to coefficients directly; what matters is that the reading is repeatable and tracks the diaphragm. Conversions alternate: several pressure conversions per temperature conversion is typical, since temperature changes slowly.
Diagnostics. A sensor that is broken must not report a plausible pressure. The SSC checks, every cycle or periodically:
A fault sets the status bits (section 13) to "diagnostic", and many parts also force the output to a reserved value outside the 10–90 % band. Safety-related designs (brake boost, ISO 26262) add redundant bridges or a second signal path and check that the two agree.
Resolution is rarely what limits a pressure sensor; accuracy over temperature is. The budget shows why, referred to the bridge output.
| Source | Value | Calculation |
|---|---|---|
| Bridge thermal noise | 9.1 nV/√Hz | \(\sqrt{4kTR}\), \(R_{\text{out}} = 5\ \text{k}\Omega\), 300 K |
| Chopped PGA input noise | ≈15 nV/√Hz | Typical for a low-power chopper instrumentation amplifier; no 1/f corner |
| Total density | 17.5 nV/√Hz | Root-sum-square |
| Noise in a 50 Hz bandwidth | 124 nV rms | \(17.5\ \text{nV}/\sqrt{\text{Hz}}\cdot\sqrt{50\ \text{Hz}}\) (≈100 Hz output data rate) |
| Noise as pressure | 0.41 Pa rms | 124 nV / 0.300 mV/kPa; about 3.5 cm of altitude at sea level |
| ADC code size | 0.72 µV (2.4 Pa) | Quantization dominates noise in this 16-bit design |
| 14-bit output count | 7.6 Pa | 100 kPa / 13 107 counts |
| Uncalibrated error over temperature | up to ±15 % FS | Section 7: 15 000 Pa |
The SSC's digital core reads two raw numbers each cycle, the pressure code \(D_P\) and a temperature code, and computes the corrected pressure from a small set of coefficients stored in one-time-programmable memory (OTP) or EEPROM. Normalise \(x = D_P/2^{15}\) and \(t = (T - 25\ ^\circ\text{C})/100\ ^\circ\text{C}\). The general second-order correction is
$$p = \sum_{i=0}^{2}\sum_{j=0}^{2} c_{ij}\,x^i\,t^j = \underbrace{(c_{00} + c_{01}t + c_{02}t^2)}_{\text{offset and its drift}} + \underbrace{(c_{10} + c_{11}t + c_{12}t^2)}_{\text{gain and its drift}}\,x + \underbrace{(c_{20} + c_{21}t + c_{22}t^2)}_{\text{nonlinearity}}\,x^2$$The hardware evaluates it in nested (Horner) form with fixed-point multiply-accumulates, a few hundred clock cycles per result. Each group of terms undoes one effect of section 7: \(c_{00}\), \(c_{01}\), \(c_{02}\) cancel offset and offset drift; \(c_{10}\), \(c_{11}\), \(c_{12}\) undo span and span drift; \(c_{2j}\) straighten the bow. Real SSCs use the same structure, sometimes as \(p = [\,x - O(t)\,]\cdot G(t)\) followed by a separate linearization, which expands to the same kind of polynomial.
The output is then scaled to the interface's transfer function. Here, with a 14-bit output that spans 10 % to 90 % of full code:
$$\text{Counts} = 1638 + (14745 - 1638)\cdot p \qquad\qquad P = \frac{\text{Counts} - 1638}{13107}\cdot(P_{\max} - P_{\min}) + P_{\min}$$The 10 % and 90 % limits leave codes below 1638 and above 14745 for overpressure, underpressure and fault values, so the host can tell a saturated or failed sensor from a legitimate reading.
Every die is different, so every sensor is calibrated individually, usually in large batches on a carrier, after packaging (the package stress is part of what is being corrected).
Each extra temperature costs chamber time, which dominates calibration cost, so the number of points is a commercial decision. The simulator applies each scheme to the die model of section 7 and plots the remaining error at five pressures across −40 to 125 °C. Total error band (TEB) is the worst-case deviation over the whole compensated pressure and temperature range, and is what datasheets specify.
With the defaults: no calibration leaves about ±15 % FS. Offset-only or two-pressure trim at 25 °C is still ±17 % FS at 125 °C because the dominant error, span drift, is untouched. Two temperatures (25 and 125 °C) with linear temperature terms bring it to 2.4 % FS, worst at −40 °C where the curvature of \(S(T)\) is not modelled. Three temperatures and the full 9-term polynomial leave 0.04 % FS, which is the 14-bit output's rounding plus model residue. Real parts specify 0.25–1.5 % FS TEB because errors that a polynomial cannot remove remain: hysteresis, nonrepeatability, the uncertainty of the calibration pressure standard and long-term drift. Use the last slider to add them.
The same pressure at two temperatures, with the real die of section 7 and the 3 × 3 calibration of section 11. Everything above the calibration step differs between the two columns; the output is the same.
| Stage | Quantity | 25 °C | 85 °C | How |
|---|---|---|---|---|
| Input | Pressure | 60.000 kPa | 60.000 kPa | \(p = 0.6\) |
| Diaphragm | Edge stress | 16.6 MPa | 16.6 MPa | \(0.308\,P\,(a/h)^2\); mechanics barely depends on T |
| Piezoresistors | ΔR/R (span × bow) | ±0.5971 % | ±0.5287 % | \(S(T)\,[p-0.012p(1-p)]\); \(\pi_{44}\) is 11.5 % lower at 85 °C |
| Base resistance R | 5.000 kΩ | 5.450 kΩ | TCR +0.15 %/°C | |
| R1, R3 / R2, R4 | 5029.9 / 4970.1 Ω | 5478.8 / 5421.2 Ω | \(R(1 \pm \Delta R/R)\) | |
| Bridge | VOUT | 18.664 mV | 16.834 mV | \(V_{\text{EX}}\,(S\,g(p) + O)\), includes offset 0.75 / 0.97 mV |
| VINP / VINN | 1.50933 / 1.49067 V | 1.50842 / 1.49158 V | \(V_{\text{EX}}/2 \pm V_{\text{OUT}}/2\) | |
| Offset DAC | VOUT − 15 mV | 3.664 mV | 1.834 mV | \(V_{\text{DAC}} = 0.005\,V_{\text{EX}}\) |
| PGA ×64 | VADC | 234.5 mV | 117.4 mV | |
| ADC | Raw code DP | 5122 (0x1402) | 2564 (0x0A04) | \(2^{15}\,V_{\text{ADC}}/1.5\ \text{V}\) |
| x = DP/215, t | 0.15631, 0.00 | 0.07825, 0.60 | ||
| Uncorrected | Reading with nominal scaling | 62.21 kPa (+2.21) | 56.11 kPa (−3.89) | Offset dominates at 25 °C, span drift at 85 °C |
| Compensation | \(p = \sum c_{ij}x^it^j\) | 0.600000 | 0.599969 | 9 OTP coefficients |
| Output scaling | 14-bit counts | 9502 (0x251E) | 9502 (0x251E) | \(1638 + 13107\,p\) |
| 11-bit temperature | 768 (0x300) | 1382 (0x566) | \((T + 50)/200 \cdot 2047\) | |
| Bus | Bytes 1–4 | 25 1E 60 00 | 25 1E AC C0 | Section 13 |
| Host | Decoded P, T | 59.998 kPa, 25.04 °C | 59.998 kPa, 85.03 °C | Error −2 Pa: one count is 7.6 Pa |
The calibration coefficients that produced this column are, for this die model: \(c_{00} = 0.4780\), \(c_{10} = 0.7817\), \(c_{20} = -0.0073\), \(c_{01} = 0.0849\), \(c_{11} = 0.1557\), \(c_{21} = -0.0030\), \(c_{02} = 0.0057\), \(c_{12} = 0.0196\), \(c_{22} = -0.0008\). \(c_{00}\) and \(c_{10}\) carry the mapping from the offset-shifted, ×64 code back to pressure; \(c_{11}\) is the large span-drift correction; \(c_{20}\) undoes the bow. Change the pressure, temperature and calibration scheme below to trace any point.
The format below is the one used by a large family of board-mount digital pressure sensors (Honeywell's ABP, HSC and SSC series and compatible parts): up to four bytes, of which the first two are always the status and compensated pressure and the next two are an optional temperature. The sensor is a target (slave) that only answers reads; on I²C its default 7-bit address is 0x28.
| Byte | Bits 7…0 | Contents |
|---|---|---|
| 1 | S1 S0 B13 B12 B11 B10 B9 B8 | Status (2 bits) and bridge data bits 13–8 |
| 2 | B7 … B0 | Bridge data bits 7–0 (compensated pressure, 14 bits) |
| 3 | T10 … T3 | Temperature bits 10–3 (8-bit temperature if you stop here) |
| 4 | T2 T1 T0 x x x x x | Temperature bits 2–0; the five low bits are "don't care" |
| S1 S0 | Meaning | Host action |
|---|---|---|
| 00 | Normal: valid data, not yet read | Use it |
| 01 | Device in command (programming) mode | Should not occur in the field |
| 10 | Stale: already read since the last conversion | Read again later; poll no faster than the update rate |
| 11 | Diagnostic fault (bridge, memory) | Discard; flag the sensor |
On the host, decoding is a few lines:
uint8_t b[4]; i2c_read(0x28, b, 4); /* START, 0x28+R, 4 bytes, NACK, STOP */ uint8_t status = b[0] >> 6; /* 0 = valid, 2 = stale, 3 = fault */ uint16_t counts = ((b[0] & 0x3F) << 8) | b[1];/* 14-bit pressure: 0x251E = 9502 */ uint16_t tcount = (b[2] << 3) | (b[3] >> 5); /* 11-bit temperature: 0x566 = 1382 */ const float PMIN = 0.0f, PMAX = 100.0f; /* kPa, from the part number */ float p_kpa = (counts - 1638) * (PMAX - PMIN) / (14745 - 1638) + PMIN; /* 59.998 */ float t_c = tcount * 200.0f / 2047.0f - 50.0f; /* 85.03 */
Bus design notes. These parts typically run I²C at 100–400 kHz and SPI up to around 800 kHz; check the specific datasheet. The pull-up resistors on SDA and SCL set the rise time against the bus capacitance (see the I²C primer). Some variants start a conversion only on request (a "measurement request" write or a read of zero bytes) and sleep in between; others convert continuously and the status bits tell you whether the data is new. Reading faster than the update rate returns the same value with status 10.
A pressure measurement is only as good as everything around the sensor. Working from the requirement down:
| Requirement | Design decision | Why |
|---|---|---|
| Range 0–100 kPa absolute, 3× overpressure | Diaphragm \(a/h = 30\): 27.7 MPa at FS, 83 MPa at 3× | Stress scales with \((a/h)^2\); keep \(w/h\) small for linearity |
| Accuracy ±0.5 % FS TEB, −40 to 125 °C | 3 × 3 calibration, 9 coefficients; 0.25 % budget for hysteresis and drift | Section 11: two temperatures leave 2.4 % FS |
| Resolution better than 10 Pa | Gain 64, 16-bit ΣΔ, 14-bit output (7.6 Pa per count) | Noise 0.4 Pa rms; quantization is the limit |
| Update rate 100 Hz | ~1 ms conversions, alternating P and T | Leaves time for averaging or duty-cycling |
| Supply 3.3 V ±10 %, noisy board | Ratiometric ADC; local 100 nF + 1 µF decoupling at VDD | Supply variation cancels; decoupling keeps conversion transients local |
| Medium: air with humidity, oil mist | Gel-protected die, port facing down or sideways | Condensate and debris must drain away from the port |
| Board-level, < 30 cm to MCU | I²C at 400 kHz, 0x28, 2.2–4.7 kΩ pull-ups | A board-level bus; see below for harness-connected sensors |
| Detect failure | Check status bits; treat counts outside 1638–14745 as invalid; plausibility against a second source if safety-related | A failed sensor must not look like a valid pressure |
| Symptom | Likely cause | Check |
|---|---|---|
| No ACK at 0x28 | Wrong address variant, missing pull-ups, sensor asleep or held in reset | Scan the bus; the address is in the part number; scope SDA/SCL edges |
| Status always 10 (stale) | Polling faster than the update rate, or a request-mode part never asked to convert | Slow down; send the measurement request |
| Status 11 | Bridge fault or memory checksum error | Usually a damaged part (ESD, overpressure, wash fluid) |
| Reads ~101 kPa with the port blocked | Absolute sensor working correctly | A gauge part would read ~0 |
| Offset of a few % after assembly | Reflow stress, board flex, coating on the package | Compare a sensor before and after; relieve mounting stress |
| Reading drifts as the board warms | Gradient between die and the temperature sensor; self-heating from nearby parts | Log P and T together; move heat sources |
| Slow or damped response | Pneumatic RC of tubing and volume, clogged port or filter | Step the pressure and look at the time constant |
| Noisy readings | Air turbulence at the port, mechanical vibration, supply noise | Cap the port: if the noise stays it is electrical |
Resistance responds to stress, and surface stress follows curvature, not deflection. Curvature, and therefore stress, is largest at the clamped edges: \(0.308\,P(a/h)^2\) versus \(-0.139\,P(a/h)^2\) at the centre. The edge also gives a clean orientation: perpendicular and parallel to the edge are the two directions that produce equal and opposite resistance changes.
Stress scales with \(1/h^2\): 4× the signal. Deflection scales with \(1/h^3\): 8× more, so \(w/h\) grows 16× and nonlinearity becomes a concern. Burst pressure falls 4× (same stress limit at a quarter of the pressure). That is why low-range sensors use thin, wide diaphragms, often with a central boss to stiffen them and keep them linear.
Each half of the bridge has one resistor rising and one falling, so the divider ratio changes twice as much as with one active element, and the two halves move in opposite directions, doubling it again. Because the rise and fall are equal, the sum \(R_{\text{top}} + R_{\text{bottom}}\) stays \(2R\): the denominator is constant and the output is exactly \(V_{\text{EX}}\,\Delta R/R\).
Nothing, to first order. The bridge output falls 3.3 %, and so do the offset DAC voltage and the ADC reference, because all three are derived from the same node. The ADC measures a ratio. This only holds if the reference is sensed at the bridge (Kelvin connection); a voltage drop in the bridge return path that the reference does not see breaks it.
The dominant error is the temperature coefficient of span, about −0.2 %/°C from \(\pi_{44}\). A room-temperature trim corrects offset and span at 25 °C only; at 125 °C the span is 18.5 % lower and the sensor reads 17 % FS low at full scale. At least two temperatures are needed to measure that slope, and three to capture its curvature.
Status bits 11: diagnostic fault. The pressure field (0) is below the 1638 minimum, so it is not a valid pressure in any case. Discard the reading and flag the sensor.