Abstract:Methods of comprehension for non-linear error in signals of sensors based on software are introduced. Through least square fitting, the error is greatly reduced, and the precision of the system is further improved. Finally, through an engineering example, the process of implementing the compensation for the non-linear error in sensor is described by using curve-fitting in engineering practice.