A pressure sensor is a part most engineers treat as a black box. You feed it gas pressure, it gives back a voltage or a number, and that is usually as far as anyone digs. That is fine until you have to pick one, debug one, or explain to a customer why two sensors read differently. At that point the black box has to come open. This article opens it, from the silicon membrane to the digital output.
We build pressure sensors for a living, and we have noticed that the same few questions come up again and again. How does a piece of silicon feel the pressure of a gas it cannot even touch? Why does the datasheet care about temperature so much? What does a 24-bit ADC actually buy me? This is the working principle, explained the way we explain it to a customer who needs to trust the number on the screen.
One Sentence, Then the Details
Strip away everything else, and every pressure sensor does the same three-step dance:
- Pressure deforms a membrane. A thin diaphragm flexes when the gas pushes on it.
- The deformation changes an electrical property. Resistance, capacitance, or resonance, depending on the sensor type.
- Signal conditioning turns that change into a usable output. An amplifier, an ADC, and temperature compensation clean it up into a voltage or a digital word.
The membrane is the heart. The rest is packaging and interpretation. If you understand the membrane, you understand the sensor.
Piezoresistive: The Principle Behind Most Gas Pressure Sensors
The dominant technology for measuring gas pressure, especially in the compact MEMS parts you find on a board, is piezoresistive sensing. It is worth understanding properly because it is what your datasheet is silently describing.
The silicon membrane
A MEMS pressure sensor starts as a square or circular diaphragm etched into a silicon wafer. Behind that diaphragm is a sealed or vented cavity. When gas pressure pushes on one side of the diaphragm, it bends. The bending is tiny, micrometers at most, but it is real, and it is proportional to the pressure difference across the membrane. That proportionality is the whole measurement.
Gas pressure sensors use a thinner, more compliant membrane than liquid or hydraulic parts, for a simple physical reason. Gas is compressible and light, so the pressures involved are usually small, tens or hundreds of kilopascals rather than megapascals. A thin membrane gives the sensitivity those low pressures need.
The piezoresistive effect
Silicon has a useful quirk. When you mechanically strain it, its electrical resistivity changes. Bend a piece of doped silicon and its resistance goes up or down depending on the direction of the strain. This is the piezoresistive effect, and it is the transducer that turns physical bending into an electrical signal.
On the sensor die, four piezoresistors are implanted at the points on the membrane where strain is highest. When the diaphragm bends, two of them are stretched and two are compressed, so their resistances move in opposite directions.
The Wheatstone bridge
Those four resistors are wired into a Wheatstone bridge. The bridge has two enormous advantages that make it worth the trouble.
First, it is differential. Instead of reading one resistor and hoping the drift cancels out, it reads the difference between the stretched pair and the compressed pair. That roughly doubles the sensitivity and, more importantly, cancels the common-mode changes that hit all four resistors equally. Temperature is the big one, because resistivity also depends on temperature. The bridge subtracts a lot of that away before it ever reaches the amplifier.
Second, it is ratiometric in the way analog engineers like. The output is expressed as a fraction of the excitation voltage, which makes the front-end design cleaner and the calibration more stable.
This is the layer most people picture when they think of a pressure sensor, and it is the right picture. Silicon membrane, four implanted resistors, one bridge. The rest of the article is about what happens to that bridge signal.
Three Other Principles, Briefly
Piezoresistive is not the only way to skin this. Three others show up often enough that you should recognize them by name.
Capacitive. A flexible membrane and a fixed plate form a capacitor. Pressure changes the gap, which changes the capacitance. Capacitive sensors are prized for very low power and excellent resolution at low pressure, which is why they own the low-end of the barometer and altimeter market. They need careful readout electronics to handle the tiny capacitances involved.
Piezoelectric. Certain crystals generate a charge when mechanically stressed. Piezoelectric sensors respond only to changes in pressure, not to a steady value, so they are the choice for dynamic measurements, combustion pulses, shock, acoustics. They cannot measure a static pressure that just sits there.
Resonant. The pressure changes the resonant frequency of a vibrating structure, and frequency can be measured with extreme precision. Resonant sensors are expensive and rare, reserved for the metrology-grade instruments where accuracy is the only thing that matters.
For a general-purpose gas pressure sensor, you are almost always in the piezoresistive or capacitive camp.
Absolute, Gauge, or Differential: The Reference Frame
A pressure sensor never measures pressure in the abstract. It measures a pressure difference across its membrane. What sits on the other side of that membrane determines which of three kinds of reading you get. This is a distinction that trips up otherwise competent engineers, so it gets its own section and its own article.
- Absolute sensors reference a vacuum sealed behind the membrane. They read the true pressure of the gas, independent of weather and altitude.
- Gauge sensors reference the local atmosphere on the back side. They read the difference between the gas and the air around it.
- Differentiell sensors expose both sides of the membrane, and read the difference between two gas pressures directly.
For gas measurement the choice usually comes down to absolute versus gauge. A barometer or an altimeter is absolute. A pneumatic line monitored against the room is gauge. Choose wrong and your reading is off by a slowly moving atmosphere-sized offset that no amount of calibration downstream can fix.
From Membrane to Number: The Signal Chain
The bridge produces a tiny differential voltage, millivolts at best. Getting from there to a trustworthy number is a chain of four steps, and each one is where a cheap sensor reveals itself.
Amplification. An instrumentation amplifier boosts the millivolt bridge signal up to a level the rest of the chain can work with, while rejecting the noise that both of its inputs share.
Analog-to-digital conversion. The amplified voltage becomes a digital word. Here the resolution of the ADC matters enormously, because it sets the smallest pressure change the system can express. A 24-bit ADC is common in quality gas sensors, not because anyone needs twenty-four real bits of accuracy, but because it gives the resolution headroom to resolve a pascal out of a hundred kilopascals of full scale.
Temperature compensation. The bridge and the amplifier both drift with temperature, and the gas itself expands and contracts. The sensor measures its own die temperature and applies a stored correction, typically a polynomial in temperature. A sensor without on-chip compensation will read differently at 5°C than at 40°C, and no external calibration can clean that up as well as the die itself can.
Digital output. The corrected pressure becomes a value on an I²C or SPI bus, ready for a microcontroller to read directly.
One of the cleanest ways to think about a modern digital pressure sensor is that the whole signal chain has been compressed onto the die. The membrane, the bridge, the amplifier, the ADC, and the temperature compensation all live in one package. That is the difference between a MEMS sensor you buy today and a raw bridge you would have had to build around twenty years ago.
The Specs That Actually Govern Accuracy
With the principle in hand, the datasheet numbers stop being arbitrary. The three that matter for gas measurement are resolution, relative accuracy, and temperature behavior.
Upplösning is the smallest pressure change the sensor can distinguish, and it is set by the ADC and the noise floor, not by the full-scale range. This is the number that decides whether you can see a slow leak or a small altitude change.
Relativ noggrannhet is the repeatability of small changes near your operating point. A sensor can have a mediocre full-scale accuracy and still resolve tiny variations beautifully, and for most gas applications the small-variation number is the one you care about.
Temperature coefficient is the drift per degree. A gas pressure sensor lives in a world where temperature moves constantly, and an uncompensated part will wander by more than the signal you are trying to read. On-chip compensation turns this from a failure mode into a solved problem, which is why it is worth paying for.
Long-term behavior matters too. In a clean, non-corrosive gas environment, stability over years is what keeps the sensor from quietly drifting into a false alarm or a missed reading.
Measuring Gas Specifically: The Traps
Gas is not liquid, and three properties of gas bite pressure sensors in particular.
Compressibility. Gas stores energy elastically, so pressure changes propagate fast and cleanly, but tiny temperature changes also move the pressure a lot. A gas-filled system that warms up will show a pressure rise that is physics, not a leak. This is why temperature compensation matters so much more for gas than for hydraulic oil.
Moisture and condensation. Humid gas condenses into droplets on a cold surface, and a droplet sitting on the sensing element changes its reading and can corrode it over time. Port orientation and package sealing are the fixes.
Media compatibility. Some gases attack the adhesive, the gel, or the metal of the sensor package. A sensor that is fine in air may not be fine in sulfur-rich or corrosive gas. Know what gas is actually going to touch the membrane.
The practical takeaway is that a gas pressure sensor is a system problem, not a component problem. The silicon measures correctly; the housing, the port, the compensation and the calibration are what decide whether the number it reports means what you think it means.
Choosing a Sensor, in Practice
The principle collapses into a short selection recipe:
- Pick the reference first. Absolute, gauge, or differential. Get this wrong and nothing else matters.
- Match the range to the application. A gas sensor working near full scale gives you the best resolution. One rated ten times too high throws most of it away. This is why a low-pressure gas application calls for a 1 bar class part, not a 100 bar one.
- Check the resolution and temperature specs, not just full-scale accuracy. Those are the numbers that decide real-world performance.
- Prefer on-chip signal conditioning. Amplifier, ADC, and compensation already integrated means fewer places for you to introduce error.
Our own WF5803F sits in this picture as a piezoresistive MEMS digital barometer: silicon membrane, Wheatstone bridge, 24-bit ADC, and on-chip temperature compensation in one LGA package, with I²C and SPI output. The 1 bar configuration covers 10 to 1300 hPa, which spans the atmospheric baseline plus a useful margin, with a relative accuracy of ±0.03 hPa. It is a good concrete example of everything this article describes, because it contains all of it on one die.
You do not have to remember the whole principle to use a pressure sensor well. You only have to remember that the number in your firmware is the end of a chain that began with a silicon membrane bending. If the chain is solid, you can trust the number. That is what this whole article was really about.




