Pressure sensor Compensation algorithm Based on Least square method polynomial fitting
Pressure sensors have the characteristics of high accuracy,high sensitivity,good reliability,fast dynamic response,and are widely used in various fields of aviation,aerospace,petrochemical industry,seismic survey,etc.Because of the sensitivity of semiconductor materials to temperature,the zero point and sensitivity will drift with the change of temperature,resulting in large error between the measured value and the real value.A temperature compensation algorithm based on least square polynomial fitting is pro-posed for solving pressure sensor is affected by temperature in practical engineering applications,and the algorithm includes two varia-bles:temperature and pressure,and the compensation coefficient of the algorithm is implemented by C# programming.The experi-mental results show that the accuracy of the measurement is greatly improved,the output error of the Pressure type sensor is less than±0.01%F·S and Differential pressure type sensor is less than±0.01%F·S after calculation by this compensation algorithm.