I have pressure sensor and calibrated for 0 to 10 bar at 25 deg C. Also i have a temperature sensor for temperature measurement. Since the pressure value gets changed with varying the temperature. Now i want to do temperature compensation.
Temperature coefficient of sensor which I am using is 0.02%F.S./ ℃
With this coefficient and measuring the temperature using temp. sensor. Is it possible to derive the equation to compensate for different temperature?
Or should I have to calibrate the pressure sensor at different temperature?
isn´t the pressure soensor a bridge configuration?
If so, then I don´t understand the drift specification.
--> Are you sure you understand the datasheet correctlly?
Maybe you misinterpreted the "total_resistance_drift" with "ouput_voltage_drift" or similar....
Simplest way (as so often) --> give us (a link to) the datasheet.
I mean. When the sensor is subjected to different temperature, its output voltage changes. thus changing the display value.
Example:
lets say, at 15 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.00 bar
at 20 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.02 bar
at 25 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.04 bar
at 30 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.08 bar
Above example is just for reference only.
But I want to display as, Temperature 15 to 30 deg C, Input pressure = 10 bar, microcontroller processed and displayed: 10.00 bar
lets say, at 15 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.00 bar
at 20 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.02 bar
at 25 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.04 bar
at 30 deg C, Input Pressure = 10 bar, microcontroller processed and displayed: 10.08 bar
I don´t know why your assumption value differs from the datasheet value.
* either correct the drift according your assumption (+0.04% x reading / °C)
* or correct it according the datasheet. (Span and/or offset: 0.02%F.S./ ℃ )
But have in mind: there is adifference if you correct the F.S. span value or if you correct the actually measured pressure value.
It´s clear to me that you want to correct your pressure values, but are you sure they drift at all?
There's no equation to derive, just an empirical error function that can be recorded for each sensor exemplar. The specified drift is only a maximum value, it tells nothing about the actual behaviour.
You can buy high precision pressure sensors with built-in factory calibrated digital drift compensation. It's hard to achieve a similar compensation quality in a user calibration. In addition there non-correctable errors limiting the reproducibility like hysteresis.