I'm looking for the correct temperature compensation equation to use on our project.
We are measuring the output of a detector who's signal is very sensitive to temperature drift. Any external Temperature drift is reflected in the output. A cycle due Day/night variation is typically what we see.
So, we apply a formula to the detector's output to try to compensate for the changes in temperature.
The formula we use is: RITC = ((RT-AT)*TC)+I
Where: RITC = temperature corrected output RT = Reference Temperature AT = Actual Temperature as Read on Instrument TC = Temperature Coefficient I = Input (Actual reading from the detector)
This equation works if the temperature variation is constant say (+/- 5 C) from day to day. However, if the variation isn't constant and it changes from day to day the equation doesn't work well. Also if there is sudden changes due to maybe air conditioning or Fans turning On/Off again the equation does not hold up.
So what is the solution? How can the affects of temperature be removed from the detector signal? What is the correct method to deal with sudden dynamic changes and also to deal with the slower variations? I feel a better equation is needed.. just not sure what it is!
Best regards Conor